check the sound card capability
arecord -f dat -r 60000 -D *hw:0,0* -d 5 test.wav
arecord -f dat -r 60000 -D *hw:0,1* -d 5 test.wav
arecord -f dat -r 60000 -D *hw:0,2* -d 5 test.wav
The system will tell you that your sound blaster can not do 60,000 and
can do something else probably 48000
or it may not: those SB cards don't always play.
configure darkice to use hw:0,0 which is the line in <-- note the ':'
between hw and 0
and set the sample rate to whatever the sound card defaults to.
channels 2
16 bit
Using the sample default on a sound card saves a lot of processing on
the input and all players seem to be able to adapt whatever is coming in
to whatever can be played.
Hope that helps Kim
regards
Robert
On 22/04/16 08:01, Kim Scarborough wrote:
Hi everyone--
I recently changed the OS on a server from FreeBSD to Linux. Under FreeBSD, I had no issues with DarkIce using the device /dev/dsp0.0 with sampleRate of 44100 and 2 channels. Now that I'm on Linux with ALSA, the only way I could get it to work is to set the device to "hw0,1", the sampleRate to 8000, and 1 channel. Any sampleRate higher than that and it plays too fast.
If I set the device to "default", I get "DarkIce: AlsaDspSource.cpp:181: can't set interrupt frequency [0]". If I load the OSS compatability modules and set the device to /dev/dsp, DarkIce starts without a problem but there's no sound.
Here's my arecord -l:
**** List of CAPTURE Hardware Devices ****
card 0: Audigy2 [SB Audigy 4 [SB0610]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Audigy2 [SB Audigy 4 [SB0610]], device 1: emu10k1 mic [Mic Capture]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Audigy2 [SB Audigy 4 [SB0610]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
Subdevices: 1/1
Subdevice #0: subdevice #0
Anyone have any thoughts on how I can get the input back to 44100 and stereo?