Re: [linux-audio-user] Start up script for DAW ...

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] Start up script for DAW ...
From: Jan Depner (eviltwin69_AT_cableone.net)
Date: Sat Mar 13 2004 - 23:21:29 EET


One other thing. If you have an app that reads input other than on the
command line you can do that by redirecting from the shell script
thusly:

application <<EOF
input line 1
input line 2
input line 3
.
.
.
input line N
EOF

You don't have to use EOF either. You can use any unique string.

Jan

On Sat, 2004-03-13 at 06: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
>
> 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.
>
> 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


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sat Mar 13 2004 - 23:19:37 EET