Am 1. November 2024 19:21:15 MEZ schrieb Alberto Novello albynovello@gmail.com:
Hi i'm developing a hardware and software laser synthesizer using pure data on RPi zero 2 W. The problem I'm facing is that when I disconnect my MIDI device the connection is lost forever. I tried using [aconnect 'MIDI Mix' 'Pure Data'( -> [shell] without success. I tried writing it directly in the Terminal and tells me that Pure Data is not recognised. So I tried Ioannes [aconnects] which also doesn't work. In the messages I put MIDI Mix 1 Pure Data 0 (or 1 either fails). Strangely when I reset it from the Pure Data preferences menu it works perfectly. Do you have any idea what am I doing wrong? Can you maybe help me figure it out? Thanks
I highly suspect that you have a problem of escaping whitespace. Egg, of you make a message [aconnect 'MIDI Mix' 'Pure Data'(, it's really broken into a separator "a connect" and 4 more atoms, namely
Similarly, with [aconnects].
You really need to make the message in a way that preserved the whitespace, so that eg "Pure Data" is read as a *single* string. It seems like you tried to do this with single quotes, but unfortunately Pod doesn't use quotes to for escaping spaces. So you need to escape the space with backslashes.
Eg, sthg like this: [connect MIDI\ Mix 1 Pure\ Data 0( Should work
mfg.sfg.jfd IOhannes