Atte André Jensen wrote:
Hi
How do I start pd and *not* have it auto connect it's in and outs to jack?
BTW: If it matters I compiled from source (0.40-2) under linux (debian/etch).
You could use QJackCtl and use patchbays for that. One way to accomplish this would be to use a Shell-Script like the ones I use (attached). For loading presets of QJackCtl is the -p option (man qjackctl).
"Prisons are needed only to provide the illusion that courts and police are effective. They're a kind of job insurance." (Leto II. in: Frank Herbert, God Emperor of Dune) http://thomas.dergrossebruder.org/
#! /bin/bash # mknoise v0.1 # starts jackd and qjackctl (if not already running) and programs from a # text file, each program in new line including options
# takes text file as argument: $ ./mknoise text_file
# jackd if pgrep jackd then true else /usr/bin/jackd -R -dalsa -r44100& > /dev/null 2>&1& fi
# QJackCTL if pgrep qjackctl then true else /usr/bin/qjackctl > /dev/null 2>&1& fi
while [ "$1" ]; do # generate musicapplist, cut options sed s"/ [-,a-z,A-Z,0-9,., ]*$//g" $1 | cat >> .musicapplist # loop for programs in text file cat $1|while read; do X="$REPLY" $X > /dev/null 2>&1& done shift done
#! /bin/bash # stopnoise v0.1 # stops programs, that have been invoked by mknoise # including jackd and qjackstl
# run with $ ./stopnoise
cat .musicapplist|while read; do X="$REPLY" killall $X done
rm .musicapplist
killall qjackctl killall jackd