Hi thanks for your answer Iohannes!! I tried but could not find a way. I attach my terminal attempts that report the error. I got better at the end but still cannot see Pure Data for some reason. What could it be?





|| | | ||| |  ||  || | ||||| || | || | ||| | ||||| | | ||| | |||| |  || ||||
 
ALBERTO NOVELLO, PhD
New Media Artist and Tenure Track Professor

video snippets: instagram
av compositions: youtube
site: jestern.com
shop: bandcamp
audio: soundcloud
 
|| | | ||| |  ||  || | ||||| || | || | ||| | ||||| | | ||| | |||| |  || ||||


On Sat, 2 Nov 2024 at 08:46, IOhannes m zmölnig <zmoelnig@iem.at> wrote:
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
- "'MIDI"
- "Mix'"
- "'Pure"
- "Data'"

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
---
pd-list@lists.iem.at - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/CFGGTO2HOSIET3U7LEPJZZJ4BONSHALM/

To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/