Re: [LAU] music apps scripts

From: Raphael Bollen <raphael.bollen@email-addr-hidden>
Date: Tue Feb 12 2008 - 08:27:14 EET

> -----Oorspronkelijk bericht----- > Van: Studio 32 > Verzonden: dinsdag 12 februari 2008 12:02 > Aan: linux-audio-user@email-addr-hiddenaudio.org > Onderwerp: [LAU] music apps scripts > > > > Hi, > > I'm using Debian testing with fluxbox. > > I often wants to start several programs to make music... For > example: jack + jack-rack or jack + jack-rack + ardour2 + hydrogen. > > How can I make a script to start several programs in a > particular order, with the right jack/alsa/midi settings? > > Are there scripts available? > Hi, I wrote a python script some time ago that is able to do what you ask and maybe more... There is no manual but I can answer questions if needed. features: - stop and restart services (i.e.: you don't want mysql running when doing audio but you need it back after) - kill running applications (i.e.: I kill my browser if it's running, I stop kontact, ...) - launch pexpect scripts (i.e.: to change some config settings in your system) see: http://www.noah.org/wiki/Pexpect (I include my audio_irq.py script as example of what you can do. Obviously it needs to match your system.) - launch audio applications with delays in between - run cleaning commands when all audio apps are closed (i.e.: restart your browser) Basic usage is: edit the example.conf file to match what you want to do. The file is documented clearly (hopefully!) then launch the script: python sss.py -v -f example.conf using different .conf files you can start different sets of applications. Since it's quite small, I think I can attach the file here. -- Raphaël. > > Thanks in advance, > > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today > it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > _______________________________________________ > Linux-audio-user mailing list > Linux-audio-user@email-addr-hiddeninuxaudio.org > http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user >

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Received on Tue Feb 12 20:15:02 2008

This archive was generated by hypermail 2.1.8 : Tue Feb 12 2008 - 20:15:02 EET