PipTigger has asked for the wisdom of the Perl Monks concerning the following question:
Hello, oh ye who possess magical wisdom,
I'm trying to manipulate sound volume (both main && pcm) from a script. Right now I've got aumix installed so just doing system("aumix -v$NewVolum") werks for me but is not a good solution. I've STFC (Serched The Fscking CPAN) && only found a wrapper for mixing .wav files together. How can I cleanly manipulate /dev/mixer in order to change volumes && stuff? The source to aumix doesn't give me a good clue of how I might mimic in Perl. Thanks muchly for any assistance you might be able to provide. TTFN.
-PipTigger
p.s. Initiate Nail Removal Immediately!
I'm trying to manipulate sound volume (both main && pcm) from a script. Right now I've got aumix installed so just doing system("aumix -v$NewVolum") werks for me but is not a good solution. I've STFC (Serched The Fscking CPAN) && only found a wrapper for mixing .wav files together. How can I cleanly manipulate /dev/mixer in order to change volumes && stuff? The source to aumix doesn't give me a good clue of how I might mimic in Perl. Thanks muchly for any assistance you might be able to provide. TTFN.
-PipTigger
p.s. Initiate Nail Removal Immediately!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Changing volume in Linux with Perl?
by eg (Friar) on Jan 16, 2001 at 06:47 UTC | |
by PipTigger (Hermit) on Jan 16, 2001 at 07:02 UTC | |
by saucepan (Scribe) on Jan 16, 2001 at 08:45 UTC | |
Re: Changing volume in Linux with Perl?
by PipTigger (Hermit) on Jan 16, 2001 at 16:15 UTC |
Back to
Seekers of Perl Wisdom