[NTLUG:Discuss] Fedora Audio CLI Options

jpmiller@quorumhost.com jpmiller at quorumhost.com
Mon Nov 29 16:39:39 CST 2004


To answer the question: "Does anyone know of a product I can use to incorporate
into a script that will allow me to setup all audio options before I start my
recording?" If your card is supported under alsa, amixer should do the trick.

but I'd rather address the larger question of why are the setting getting blown
away.

On my gentoo system, when alsa is started it looks for a file that defines the
mixer settings, I belive called asound.state (sorry I can't be more accurate
about the file name and path - it's probably /etc/asound.state - , but I'm not
at the box right now).  alsa throws a warning message if that file isn't found,
you might try stopping and starting that service to see if that's the case.

iirc, my alsa init script has a save option that will write the current setting
to that file, if that's true for your fc3 script that might be a quick and easy
solution. i.e. run 'alsamixer' - make your changes; run '/etc/init.d/alsa save';
'/etc/init.d/alsa restart' and see if it worked (alternatively, 'init 6' if you
want to see a full reboot.)

but if you just want to script setting changes for your mixer, amixer is
probably the tool you want to use.

Quoting Paul Ingendorf <pauldy at wantek.net>:

> Ok I have a setup I have run for years now to record a radio program I like
> to listen to late at night.  It has worked great with various distributions
> and I have never had any problems.  Through FC2 it worked great, I never ran
> FC1.  Now enter FC3 and now when I reboot all I get is silence from the mic.
> I have an aumix file I load to get the appropriate audio settings for the
> mic level etc...  for some reason however every time the machine boots all
> audio settings are reset to defaults.  I have to open something like kmix
> and select capture before I will get audio.  The problem is every time I
> reboot the machine I have to do this now.  Needless to say this is a bit
> annoying.  Does anyone know of a product I can use to incorporate into a
> script that will allow me to setup all audio options before I start my
> recording?
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the Discuss mailing list