Personal tools
Document Actions

Script for Linux Sound

Up to Scripts

Script for Linux Sound

Posted by Thomas Carpentier at March 22. 2007

Hi,


I share  my first script for Tux.


Description :


       This script can increase ,decrease or mute Linux sound, with the remote control.


Requirement :


       aumix : This program adjusts an audio mixer from X, the console, a terminal, the command line or a script
       http://www.jpj.net/~trevor/aumix.html




Launch it :


       python -i sound.py


       Press vol+ to increase sound, vol- to decrease, or MUTE to mute!!!



I've just seen a little problem. When you mute sound, the volume is not saved, then, if you want to put sound, volume is restarted at 0



Attachments

Re: Script for Linux Sound

Posted by Thierry Nancy at March 26. 2007

Hi Thomas,


I installed aumix and I tested your python script for volume control. The remote control keys are processed by the script but it has no effect on the volume level when I play music with "aplay" or "xmms".


Do I have to tune some parameters on may .asound.rc file ?




Re: Script for Linux Sound

Posted by Thomas Carpentier at March 26. 2007

Hi thierry,


This script does not change sound for programs like xmms or applay. It just modify volume sound for your distribution. 


I use Ubuntu Edgy with Gnome. In my toolbar, i add volume applet. and when i press key, the percentage of volume is modified



Powered by Ploneboard
You are here: Home Forum Scripts Script for Linux Sound

Powered by Plone CMS, the Open Source Content Management System