1#!/bin/sh 2 3socket=$1 4 5# guess pid of running daemon 6if [ -z "${socket}" ]; then 7 pid=$(ps -A | grep synthpod | grep -v sand | head -n 1 | awk '{print $1}') 8 9 if [ -z "${pid}" ]; then 10 exit 1 11 fi 12 13 socket="shm:///synthpod-${pid}" 14fi 15 16uri='http://open-music-kontrollers.ch/lv2/synthpod#stereo' 17ui='http://open-music-kontrollers.ch/lv2/synthpod#root_4_nk' 18bundle=$(lv2info ${uri} | grep Bundle | head -n1 | sed -e 's/.*file:\/\///g') 19 20exec ${GDB} synthpod_sandbox_x11 \ 21 -p ${uri} \ 22 -P ${bundle} \ 23 -u ${ui} \ 24 -U ${bundle} \ 25 -s ${socket} \ 26 -w "Synthpod - ${socket}" \ 27 -m $((0x1000000)) \ 28 -r 48000 \ 29 -f 30 \ 30 $* 31