hope you are all gesund!
I am facing an issue for finishing my embedded instrument with Odroid. I can play all examples with Tickle and Pd without issues. However, I have created a script which basically automatizes all operations needed to play the Tickle at startup:
jackd -d alsa -P hw:Device -r 44100 & sleep 10 zita-a2j -d hw:tickle -c 1 -r 44100 -j Tickle & sleep 10 pd -open /home/odroid/Documents/Pd/externals/chair/examples/A01.karplus-strong-pd & sleep 10 jack_connect Tickle:capture_1 pure_data:input0 & sleep 1 aconnect 24:0 128:0 & sleep 1 aconnect 128:1 24:0 & sleep 1 echo "ok" wait
hw:Device is the name of the external usb audiocard,
24:0 is the ID of both MIDI in and out ports for Tickle. Pure data is identified in the
128:1. With this configuration everything works if I run it manually.
The issue that I have is that, after running this script at startup, Pd receives audio and CC messages correctly from Tickle but Pd does not receive any MIDI note from Tickle (from notein). Sometimes only one MIDI note at the beginning and stops receiving any other.
What could be the reason to receive one thing but not the other? Does it remind it to any line of code ;)? Could it be possible that it disconnects from USB MIDI host somehow at startup? But then, how does it send CC messages?
Second questions, shouldn’t Tickle create two MIDI ports with different IDs? I only have
24:0 both for in and out.