Hi Joel Thanks for your input. I have found that I get no noise and very usable quality if I set the sample rate to 32000 kHz, see my settings below etc... samplerate = 32000 bitsPerSample = 16 channel = 2 [Icecast2-0] bitrateMode = cbr format = mp3 bitrate = 196 As soon as I start using 44.1kHz the sound stutters and has 'clciks' on it !? Thanks, Tony :) -- On 29 November 2012 01:29, <addr@xxxxxxxxxxxxx> wrote: > Hi Tony, > > I was thinking about your noise problem and thought I could share my > thought with you. My experience with noise when using Darkice is that it > tends to be in the analog part of the audio circuit. When I say analog > part I mean from the microphone to the input of the PCM. I use USB > Dual-pre from ART for my PCM. The input of the ART box is XLR microphone > connectors and the output is a USB port. > > You can test the quality of the audio signal path by using a simple > audio recorder like arecord to make a sample recording of the audio quality > and play it back with out having Darkice in the equation. Just make sure > that the Dual-pre (or your input device) is the default input audio device > for Linux. > > If this test indicates that there no noises from the audio part of the > circuit then the other source for noise is in the quality of your network > connection between the Darkice system, the Icecast system and/or the > connection between the Icecast system and the internet. My Icecast servers > are on a good link to the internet so once I get recorded material uploaded > to the Icecast server I have little problems with sound quality. My noise > problems have been the link between the Darkice system and the Icecast > servers. > > Hope this helps, > > Joel Goodwin > > > > ---- "(:techitone:)" <techitone@xxxxxxxxx> wrote: > > I've found how to change the input gain using Alsamixer - F6 to change > > sound card, then F4 [Capture], then up/down arrows to change gain. > > > > Thanks for pointing the way forward, Mook :) > > > > The sound quality is still a bit low, but at least I can hear it now... > > > > Best wishes, Tony > > -- > > > > > > > > > > On 27 November 2012 22:57, (:techitone:) <techitone@xxxxxxxxx> wrote: > > > > > Thanks Mook > > > > > > Alsamixer is only showing controls for audio output gain, it's not > showing > > > any controls for audio input. I can't find any controls for the Griffin > > > iMic (usb sound card). > > > > > > I agree, the iPod needs too quieter, and the usb sound card needs to be > > > set louder. > > > > > > Any idea how I might check and alter the iMic's gain? > > > > > > Many thanks, Tony > > > -- > > > > > > > > > > > > > > > > > > On 27 November 2012 17:56, Rev. Mook <revmook@xxxxxxxxxxxxxxxx> wrote: > > > > > >> > > >> That sounds more like a problem with your signals gain staging than a > > >> config issue with Darkice/ Icecast2. I would try turning your iPod > volume > > >> down and your soundcards input up using alsamixer. > > >> > > >> ~Mook > > >> > > >> > > >> > > >> On Tue, Nov 27, 2012 at 5:17 AM, (:techitone:) <techitone@xxxxxxxxx > >wrote: > > >> > > >>> I've installed Darkice and Icescast2 and they are running on my > > >>> Raspberry PI but when I listen to the stream it is very quiet and a > little > > >>> distorted. > > >>> > > >>> Any ideas why? > > >>> > > >>> Here's my setup, > > >>> > > >>> Raspbery Pi running Raspian - all (apt-get) upgrades and updates done > > >>> Installed Darkice and Icecast2 using this tutorial< > http://www.t3node.com/blog/live-streaming-mp3-audio-with-darkice-and-icecast2-on-raspberry-pi/ > > > > >>> I am playing audio into the RPi via an iPod shuffle (volume up full), > > >>> plugged into Griffin iMac (usb sound card), plugged into a powered > usb hub, > > >>> plugged into the RPi. The RPi is connected to my home network via a > > >>> wireless usb (n) wifi dongle. I run (sudo) Darkice in a terminal > window (on > > >>> the desktop) and can see Icecast running in a web browser on the > RPi. I > > >>> then opened the Icecast server in Firefox on my Macbook Pro, the > stream > > >>> loads into iTunes and starts to play. BUT it it really quiet and a > bit > > >>> distorted (MBP and iTunes volumes are up full). I don't know how to > make it > > >>> louder, or the quality better :( > > >>> > > >>> My Darkice config ( etc/darkice.cfg) looks like this, > > >>> > > >>> duration = 0 > > >>> bufferSecs = 5 (I've tried 2, 10, 15, 20 etc) > > >>> reconnect = yes > > >>> device = hw:1,0 (hw:1.0 = soundcard indicated by using terminal > 'arecord > > >>> -l') iPod shuffle/Griffin iMic/powered usb hub/RPi as mentioned > above) > > >>> samplerate = 44100 (I have tried 11025 and 22050) > > >>> bitsPerSample = 16 (I have tried 8 and 24) > > >>> channel = 2 (I have tried 1) > > >>> [Icecast2-0] > > >>> bitrateMode = abr > > >>> format = mp3 > > >>> bitrate = 128 (i have tried 96) > > >>> server = localhost > > >>> port = 8000 > > >>> password = ******** > > >>> mountPoint = raspi > > >>> name = Darkice trial > > >>> description = this is only a trial > > >>> url = http://localhost > > >>> genre = my own > > >>> public = no > > >>> #localDumpfile = dump.ogg (I have tried the mp3 setting > 'recording.mp3' > > >>> here, and it's now marked as # ie not required) > > >>> > > >>> I would really like to get this running asap for a community project > I > > >>> am hoping to run. > > >>> > > >>> Any help, suggestions, ideas welcomed :) > > >>> > > >>> Many thanks in advance, > > >>> > > >>> Tony :) > > >>> -- > > >>> -- > > >>> (:techitone:) > > >>> -- > > >>> > > >>> > > >> > > > > > > > > > -- > > > -- > > > (:techitone:) > > > -- > > > > > > > > > > > > > > > > > > > > > > > > -- > > -- > > (:techitone:) > > -- > > -- -- (:techitone:) --