yep Ladish does that too, never tried though.<div><br></div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
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? </blockquote><div><br></div><div>Pierre, I reckon it would be easier to do from with a Pd patch.</div>
<div>Usually, scripts are useful to me when I have to handle multitask sessions or anyway do something which is a little related to Pd.</div><div>But I&#39;m not at all script expert.</div><div><br></div><div>M</div><div>
<br></div><div> <br><br><div class="gmail_quote">On Mon, Jan 17, 2011 at 11:28 PM, Ricardo Lameiro <span dir="ltr">&lt;<a href="mailto:ricardolameiro@gmail.com">ricardolameiro@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
doesnt Ladish does that? (<a href="http://ladish.org/" target="_blank">http://ladish.org/</a>)<br><br>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...<br>

<br><div class="gmail_quote">2011/1/17 Pierre Massat <span dir="ltr">&lt;<a href="mailto:pimassat@gmail.com" target="_blank">pimassat@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div><div></div><div class="h5">
Thank you Marco, but I don&#39;t need to run many apps. What does the &quot;exit&quot; do though? <br> I&#39;d be interested in a command that would turn the audio on at startup, i don&#39;t know whether this is possible. <br>


<br>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? <br><br>Thanks again for your help.<br><br>Pierre<br><br><div class="gmail_quote">


2011/1/17 Marco Donnarumma <span dir="ltr">&lt;<a href="mailto:devel@thesaddj.com" target="_blank">devel@thesaddj.com</a>&gt;</span><div><div></div><div><br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">


<div class="gmail_quote"><div>Hi Pierre,</div><div>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.</div>


<div>
<br></div><div>Using many applications for one project, I found useful the following script.</div><div><br></div><div>First, I have one folder where to save all different software patches included in a project. </div><div>



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. </div><div>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div><div>


<br>
</div><div><div>#! /bin/bash</div><div><br></div><div>qjackctl -s -p FocusriteSaffire40 &amp;</div><div>sleep 5</div><div><br></div><div>ardour2 ../ardour/$1/$1.ardour &amp;</div><div>hydrogen $1.h2song &amp;</div><div>zynaddsubfx -l $1/$1.xmz &amp;</div>



<div>seq24 --file $1/$1.midi &amp;</div><div><br></div><div>exit</div></div><div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">




On Mon, Jan 17, 2011 at 03:03:34PM +0100, Pierre Massat wrote:<br>
&gt; I used the one published by Joao Pais, that is:<br>
&gt;<br>
&gt; #!/bin/bash<br>
&gt;<br>
&gt; qjackctl -s &amp; sleep 5 &amp; pdextended<br>
&gt;<br>
&gt;<br>
&gt; I&#39;d be grateful if someone could tell me what &quot;-s&quot; means, by the way.<br>
<br>
$ man qjackctl<br>
[...]<br>
  -s, --start<br>
    Start JACK audio server immediately<br>
[...]<br>
<br>
$ exit<br>
--<br>
 Frank Barknecht            Do You RjDj.me?          _ ______<a href="http://footils.org" target="_blank">footils.org</a><br></blockquote></div></div><br clear="all"><br>-- <br>Marco Donnarumma aka TheSAD<br>Independent New Media Arts Professional, Performer, Teacher<br>



Ongoing MSc by Research, University of Edinburgh, UK<br><br><br>PORTFOLIO: <a href="http://marcodonnarumma.com" target="_blank">http://marcodonnarumma.com</a><br>LAB: <a href="http://www.thesaddj.com" target="_blank">http://www.thesaddj.com</a> | <a href="http://cntrl.sourceforge.net" target="_blank">http://cntrl.sourceforge.net</a> | <a href="http://www.flxer.net" target="_blank">http://www.flxer.net</a><br>



EVENT: <a href="http://www.liveperformersmeeting.net" target="_blank">http://www.liveperformersmeeting.net</a><br>
</blockquote></div></div></div><br>
<br></div></div>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at" target="_blank">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Fagote / Contrafagote<br>Bassoon / Contra-bassoon<br><a href="http://myspace.com/ricardolameiro" target="_blank">http://myspace.com/ricardolameiro</a><br>

</font></blockquote></div><br><br clear="all"><br>-- <br>Marco Donnarumma aka TheSAD<br>Independent New Media Arts Professional, Performer, Teacher<br>Ongoing MSc by Research, University of Edinburgh, UK<br><br><br>PORTFOLIO: <a href="http://marcodonnarumma.com" target="_blank">http://marcodonnarumma.com</a><br>
LAB: <a href="http://www.thesaddj.com" target="_blank">http://www.thesaddj.com</a> | <a href="http://cntrl.sourceforge.net" target="_blank">http://cntrl.sourceforge.net</a> | <a href="http://www.flxer.net" target="_blank">http://www.flxer.net</a><br>
EVENT: <a href="http://www.liveperformersmeeting.net" target="_blank">http://www.liveperformersmeeting.net</a><br>
</div>