Hi!
A bit off topic since probably more related to operating system: I am running PD on a raspi5 / bookworm with a teensy as MIDI device input. In some cases pd does not recognise the MIDI device after a restart.
Is there a way to start pd only when the system recognized the MIDI device ?
Thanks! Michael
You could have a run script which checks the output of aconnect in a loop, then exist the loop when your device is found.
On Oct 3, 2025, at 10:46 AM, michael strohmann itsnotfair9@gmail.com wrote:
Hi!
A bit off topic since probably more related to operating system: I am running PD on a raspi5 / bookworm with a teensy as MIDI device input. In some cases pd does not recognise the MIDI device after a restart.
Is there a way to start pd only when the system recognized the MIDI device ?
Thanks! Michael
pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/QMTYVZBEPX...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/
Dan Wilcox danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
On Fri, 2025-10-03 at 10:46 +0200, michael strohmann wrote:
In some cases pd does not recognise the MIDI device after a restart.
[...] when the system recognized the MIDI device ?
The first sentence suggests that Pd (as opposed to the system) does not recognize the device. It's not clear to me whether your problem is that Pd not always connects to the right device (which might happen when device numbering changes) or if your system doesn't always list the device in available devices. Depending on what your actual problem is, the solution is different.
Roman