I am very beginner in Rpi I use pisound and patchbox.
I would like to connect arduino midi using ttymidi as a controller on puredata.
I’ve created a desktop file for autostart puredata and ttymidi. BUT it can’t be connected automatically.
This is my .sh
ttymidi -s /dev/ttyUSB0 -v &
echo “start lucibox”
I have to open a new terminal to do these 4 steps to connect ttymidi and pure data:
- aconnect -io // to see the connection of i/o of ttymidi and puredata
- aconnect 131:0 132:0 // connect ttymidi to pd
- aconnect 132:1 131:1 // connect pd to ttymidi
- these midi numbers change time after time.
Thank you in advance for the help.