starting mixbus from the command line (with filename argument)

No replies
Martin Marier
User offline. Last seen 6 years 16 weeks ago. Offline
Joined: 2011-02-19

Hello ardour (and mixbus users),

I wanted to start mixbus from the command line. It can be done using this script:

But giving it a file name as an argument does not work:

/opt/Mixbus-1.5.1_8860/bin/mixbus "~/Documents/doc/compo/clari0.9/clari0.9.ardour"
arg = /home/marierm/Documents/doc/compo/clari0.9/clari0.9.ardour

!!! ERROR !!! - Unknown argument /home/marierm/Documents/doc/compo/clari0.9/clari0.9.ardour

The solution is to modify the /opt/Mixbus-1.5.1_8860/bin/mixbus script. Line 3 looks like this:

while [ $# -gt 0 ] ; do

Just change the 0 to a 1 and it will work:

while [ $# -gt 1 ] ; do

I hope this info useful to someone.


Martin Marier