Regarding to the audio connections http://tapas.affenbande.org/wordpress/?page_id=14 is a useful application. Note that when writing scripts so start an audio session + doing connections e.g. by jack_snapshot or by |jack_connect|, you need to start some apps with a switch not to use the PID in the JACK client name.
Some apps are able to store connections, e.g. Qtractor does store JACK audio and ALSA MIDI connections, but only when they are connected to Qtractor. For some apps you can set up the preferences to auto connect or not to auto connect. When you don't run all-in-one apps (all -in-on apps are usual on MacOS and Windows), but launch several apps (common for Linux), a shell script seems to be the best way to handle such audio sessions, if you won't launch all apps manually. I didn't experienced that Linux audio session handlers are ok until today. Writing shell scripts for this usage is self-explaining. Btw the '-X seq' switch for the jackd ALSA audio-driver will add a bridge between JACK MIDI and ALSA MIDI. Ignore the ### CPU ferquency scaling echo "\nSetting up CPU frequency scaling for 64 Studio 3.0-beta3" cpufreq-selector -g performance if [ $? = 0 ] ; then echo "Done" ; fi for the script, this is just for my customized 64 Studio. #!/bin/sh # sh start-session song_path=`pwd` song_name="devoid_of_meaning" song_version="09" song_date="Feb/27/2010" song_info=" \n############################ \n# Project: $song_name \n# Version: $song_version \n# $song_date Ralf Mardorf \n############################\n" if [ $USER = "root" ] ; then echo "\nOnly a user is allowed to run this script :)\n" else echo $song_info ### CPU ferquency scaling echo "\nSetting up CPU frequency scaling for 64 Studio 3.0-beta3" cpufreq-selector -g performance if [ $? = 0 ] ; then echo "Done" ; fi ### Killall apps="jack_snapshot qtractor sr-2a jackd" echo "\nkillall -9 -w $apps" killall -9 -w $apps ### Restore session echo "\nRestoring session :)" sample_rate=96000 frames_period=512 echo "\njackd -Rdalsa -dhw:0 -r$sample_rate -p$frames_period -n2 -Xseq" jackd -Rdalsa -dhw:0 -r$sample_rate -p$frames_period -n2 -Xseq & sleep 2 sr-2a & sleep 2 qtractor "$song_path/qtr/$song_name-$song_version.qtr" & sleep 2 jack_snapshot restore "$song_path/$song_name-$song_version.jsnap" echo fi exit 0 _______________________________________________ 64studio-users mailing list [email protected] http://lists.64studio.com/mailman/listinfo/64studio-users
