[Sunhelp] control audio gain programically?
David Rouse
cn1407 at coastalnet.com
Mon Apr 10 17:50:36 CDT 2000
>> As a way to learn perl and my sparc10 I'm writing a little mp3 'jukebox.'
>> One of the features I'd like to have is the ability to control the audio
>> gain (volume) through a program, instead of handling the control in
>> audiocontrol manually.
>>
>> It would be nice to associate volume levels with, say, different times of
>> the day, cgi input or rules for individual songs or music directories. Or
>> even remote control -- X10?
>>
>> Is such a thing possible, and where should I look to find out how to do
it?
>
> Read the man page. There are command-line switches for it.
>
audioplay has a -v switch, but that only applies to the file it is playing,
and I'll be using mpg123 in remote mode. The others - audiocontrol and
audiotool have listings like [ generic-tool-arguments ].
I guess I need to be learning about ToolTalk, where's a good starting place
for that?
drouse
More information about the SunHELP
mailing list