doesnt Ladish does that? (http://ladish.org/)

What do you mean with turn audio on at startup? on Pd? you can send a loadbang to a message to turn the dsp on... but maybe that isnt what you want...

2011/1/17 Pierre Massat <pimassat@gmail.com>
Thank you Marco, but I don't need to run many apps. What does the "exit" do though?
 I'd be interested in a command that would turn the audio on at startup, i don't know whether this is possible.

Just to satisfy my curiosity, how far can we go using scripts? Would it be possible to launch Pd and write a patch from scratch directly from a script?

Thanks again for your help.

Pierre

2011/1/17 Marco Donnarumma <devel@thesaddj.com>

Hi Pierre,
also the -p argument is quite useful if you use multiple soundcard (like travel setup, studio, etc...), as it allows to choose which profiles you want jack to load.

Using many applications for one project, I found useful the following script.

First, I have one folder where to save all different software patches included in a project. 
I keep one unique name for several file formats, so I can use the script below to launch a studio setup at once indicating the project name as a variable $1. 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

#! /bin/bash

qjackctl -s -p FocusriteSaffire40 &
sleep 5

ardour2 ../ardour/$1/$1.ardour &
hydrogen $1.h2song &
zynaddsubfx -l $1/$1.xmz &
seq24 --file $1/$1.midi &

exit




 
On Mon, Jan 17, 2011 at 03:03:34PM +0100, Pierre Massat wrote:
> I used the one published by Joao Pais, that is:
>
> #!/bin/bash
>
> qjackctl -s & sleep 5 & pdextended
>
>
> I'd be grateful if someone could tell me what "-s" means, by the way.

$ man qjackctl
[...]
 -s, --start
   Start JACK audio server immediately
[...]

$ exit
--
 Frank Barknecht            Do You RjDj.me?          _ ______footils.org


--
Marco Donnarumma aka TheSAD
Independent New Media Arts Professional, Performer, Teacher
Ongoing MSc by Research, University of Edinburgh, UK


PORTFOLIO: http://marcodonnarumma.com
LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net | http://www.flxer.net
EVENT: http://www.liveperformersmeeting.net


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




--
Fagote / Contrafagote
Bassoon / Contra-bassoon
http://myspace.com/ricardolameiro