I have started experimenting with lua scripts using the lua console for basic commands and have ran into a road block and not sure why.
os.forkexec ("/usr/bin/linuxsampler")
ARDOUR.LuaAPI.usleep (10000000)
os.forkexec ("/usr/local/bin/send_lscp ~/audio-projects/QSampler/test.lscp")
-- os.forkexec ("nc localhost 8888 < ~/audio-projects/QSampler/rockdrums.lscp")
The first line does work and starts LinuxSampler, as does usleep. However I am unable to send it a lscp script with the following line. I have tried with both a helper script (send_lscp) and directly via netcat with no results or errors either for that matter.
EDIT: Using Ardour 8.12 for these tests.
Any tips or advice most appreciated!