Linux, Darkice, Alsa, plughw and sample rates

Status
Not open for further replies.

ki4lqu

Member
Joined
Apr 11, 2010
Messages
8
Location
Knoxville, TN
I'm currently having some trouble getting darkice to play nicely with this sound card.

I've figured out that this sound card will only open capture at 48000. If I stream at 48000 it sounds great, but the specs for Radioreference call for 22050kHz.

Streaming at 22050 is impossible using hw:1,0 for the device. Using plughw:1,0 works, but the sample rate is apparently configured to convert from 44100. This makes the audio choppy and the voice sound slightly lower pitched and distorted. ( Knoxville Police Dispatch ) I need to configure (Alsa) to convert from 48000 instead when using "plughw"

I have very little experience using either or Darkice or Alsa, and since Darkice cannot do any sample rate conversions, I am now tackling the issue of properly configuring "plughw" The Alsa documention is very limited and quite confusing when it comes to this simple matter. I was hoping someone here could point to the configuration options to do this.

I could get another card that will do 22050 directly, but I was hoping someone could offer a configuration fix.

TIA!
ki4lqu
 

jansenonline

Member
Joined
Aug 7, 2012
Messages
5
Location
Scheveningen, Zuid-Holland
Same problem

Hi,

I currently have the same problem. When encoding at 44100 the feed sounds perfect. But this is against the rules so I'd like to reduce to 22050 but as soon as I do the feed is lower in pitch and slowed down.

In darkice there are two sections: input and icecast2-0 both of which you can put samplerate, bitspersample and channel, etc. I don't know the correct combination or if it's just a problem with my usb sound device or something.

Have you figured it out?

Grtz,

Marnix
 
Status
Not open for further replies.
Top