[KLUG Members] recording audio on gentoo

Richard Zimmerman ke4rit at knbpower.com
Thu Oct 6 11:35:56 EDT 2005


Mike Williams wrote:

>Permissions look OK.  All 3 are root user, audio group, and both have
>rw-.  The user that's running audacity is in the audio group. I don't
>need execute to /dev/dsp or anything like that, do I?
>  
>
Ok, here's what I have setup:

<permissions>
Last login: Tue Oct  4 14:17:37 2005 from phoenix
ke4rit at ke4rit:~$ ls -al /dev/dsp
lrwxrwxrwx  1 root root 4 Sep  6 20:07 /dev/dsp -> dsp0
ke4rit at ke4rit:~$ ls -al /dev/audio
lrwxrwxrwx  1 root root 6 Sep  6 20:07 /dev/audio -> audio0
ke4rit at ke4rit:~$ ls -al /dev/mixer
lrwxrwxrwx  1 root root 6 Sep  6 20:07 /dev/mixer -> mixer0
ke4rit at ke4rit:~$ ls -al /dev/dsp0
crw-rw----  1 root audio 14, 3 Sep  6 20:07 /dev/dsp0
ke4rit at ke4rit:~$ ls -al /dev/audio0
crw-rw----  1 root audio 14, 4 Sep  6 20:07 /dev/audio0
ke4rit at ke4rit:~$ ls -al /dev/mixer0
crw-rw----  1 root audio 14, 0 Sep  6 20:07 /dev/mixer0
</permissions>

I do have myself (ke4rit) added to the audio group.

Below is the output of 'cat /etc/modules'
<output>
usb-uhci
3c59x
eepro100
ide-core
ide-detect
ide-scsi
snd_ac97_codec
snd_cs4236
</output>

I have an IBM Intellistation M-Pro workstation. IDE isn't an issue 
here... It's only the storage device.

>Audacity chokes if alsasound isn't running.  The fact that Alsasound
>seems to be happily mixing sound from several programs suggests that
>there's a sound server in place, but I don't know how to turn it off if
>it exists. 
>  
>
   I'm at work so I can't load Audacity to see how it's configured. 
That's the one bad thing about Linux, once you get it working it NEVER 
BREAKS! :) Thus, you need to relearn it by the time you need to fix 
something :)

Huh... I did find the .audacity config file... Hopefully something will 
help you out here:

<capture>
ke4rit at ke4rit:~$ cat /home/ke4rit/.audacity
Version=1.2.3
PrefsVersion=1.1.1r1
DefaultOpenPath=/home/ke4rit/mp3
DefaultExportPath=/home/ke4rit/mp3
[Locale]
Language=en
[Directories]
TempDir=/audio/.audacity_temp/
[Window]
Width=1014
Height=722
Maximized=0
[wxWindows]
[wxWindows/wxFileDialog]
ViewStyle=16
ShowHidden=0
[FileFormats]
LossyExportFormat=MP3
ExportFormat_SF1=65538
CopyOrEditUncompressedData=edit
MP3Bitrate=128
OggExportQuality=50
[MP3]
MP3LibPath=/usr/local/lib/libmp3lame.so
[GUI]
EnableMeterToolBar=1
AutoScroll=1
UpdateSpectrogram=1
AlwaysEnablePause=0
QuitOnClose=1
AdjustSelectionEdges=1
ErgonomicTransportButtons=0
EnableEditToolBar=1
EnableMixerToolBar=1
EnvdBRange=36
[Prefs]
PrefsCategory=4
[AudioIO]
PlaybackDevice=/dev/dsp
RecordingDevice=/dev/dsp
RecordChannels=2
Duplex=0
SWPlaythrough=0
[SamplingRate]
DefaultProjectSampleRate=44100
DefaultProjectSampleFormat=262159
[Quality]
LibresampleSampleRateConverter=0
LibresampleHQSampleRateConverter=1
HQDitherAlgorithm=2
DitherAlgorithm=0
[Spectrum]
FFTSize=256
Grayscale=0
MaxFreq=8000
</capture>

   I just pulled an oops and rebooted my machine at home by accident. 
Fortunately I have the KVM on the right machine! Otherwise I would have 
just crashed the home network.... I oddly enough do not see any messages 
about the audio stuff loading so I can't help you more specifically 
there. I know alsa starts and sets up the sound card as I rebooted the 
other night asfter upgrading to 2.6.12-10 and remember the sound coming 
back on.

>The other hint I've found is that I get a "cs46xx:  failure waiting for
>FIFO command to complete" in dmesg when starting alsa.  The only thing
>google seems to be able to tell me is that adding options thinkpad stops
>this if you're running on an IBM Thinkpad, which I'm not.
>  
>
    Yeah, when I try to load the i2c / piix modules I also get a warning 
about the IBM thinkpad chipset warning. Not sure why.. Since I haven't 
had time to properly setup lmsensors, etc. I've been ignoring the errors.

>Athlon 64, 1 Gig RAM, 2.6 kernel here.  Just a basic IDE drive, though.
>  
>
   Wow, must be a nice rig.
 
   Again, I run Debian so hopefully some of this helps...

   Goose

-- 
Richard "Goose" Zimmerman
Safety Assistant / IT Guru
K&B Transport, Inc. - Elkhart, IN
(574) 389-1986   (574) 389-8527 Fax
(800) 548-2718   (574) 850-5764 Cell 



More information about the Members mailing list