On 04/11/2012 01:02 PM, rosea.grammostola wrote:
This script should work to load LinuxSampler as binary in a nsm-proxy.
The lscp file should be loaded via the argument option in the nsm-proxy.
Only problem I have, it doesn't kill LinuxSampler, when I stop the
nsm-proxy or the session. I probably miss something, maybe someone can
test it too.
# wait for LS to init
# tell it what file to load
cat "$1" | nc localhost 8888
#handle SIGTERM from NSM by killing LS.
trap 'kill -TERM $LSPID' SIGTERM
#wait for LS to die naturally
Linux-audio-dev mailing list