[linux-audio-user] Start up script for DAW ...
Russell Hanaghan
hanaghan at starband.net
Sat Mar 13 11:10:26 EST 2004
On Sat, 2004-03-13 at 04:20, Steve Harris wrote:
> On Fri, Mar 12, 2004 at 08:09:14 -0800, Russell Hanaghan wrote:
> > I start the gui based apps from a console so I can run them as root. The
> > functions such as the midi port connections in the sequence of opening
> > apps is the issue. I'm also green in this area. Have never written any
> > scripts before...wouldn't know where to start.
>
> A shell script is simply a text file starting with #!, and made executable
> by setting the x bit (eg. chmod a+x myscript.sh)
>
> eg.
>
> #!
> ardour mysession
> otherprogram /path/to/saved/file
In doing this...(I went to work on figuring some of this out and
realised a shell script is kinda like a batch file on steroids) If I
placed Qjackctl then Another app like AMS in the same script, the
interface for Qjack would freeze until I terminated AMS. Is there a
function argument or such that separates individual app calls?
>
> Last time I look though I couldn't find a way to pass a saved file to AMS,
> thats was a while ago, and someonme might have fixed it since then.
Got this working...use 'ams --jack --preset /home/me/filename'. works no
worries!
>
> LASH (née LADCCA) is probably a better longtem solution to this problem
> (http://lash-audio-session-handler.org/), but not many apps support it
> yet.
>
> - Steve
More information about the Linux-audio-user
mailing list