Hi all,
I am having a weird issue, not sure whether it is actually due to Pd or not: in order to turn on and off the LEDs of my Midi controller, I need to send it a noteon message with a velocity of 1 (turn on), 2 (blink) or 0 (off). This works very well on one of my machines with Debian 10, Pd vanilla version 0.49.0-3 or Pd-L20rk 2.15.2, by sending [64 1(
or [64 2(
or [64 0(
to [noteout 1]
, however on another machine with also Debian 10, Pd vanilla 0.49.0-3, only the velocities of 1 or 2 make the LED turn on or blink, but impossible to turn it off with a velocity of 0!
I first thought that it may be due to Pd interpreting NoteOn with velocity of 0 as NoteOff, but it works fine on one of the computers.
Jack is started on both machines with -dalsa -Xseq
and I run a2j -e
to access the Midi devices through Alsa. If I stop a2j I can successfully turn the LEDs on and off with amidi -phw,2 -S "90 40 01"
or 00"
. So I am ruling out the hardware/driver issue.
What else could it be, any idea anyone? I shall check the version of a2j later today, but they are both up-to-date using Debian buster repos so I doubt I'll find any difference there...
Sorry if this turns out to actually not be related to Pd, but I hope someone may be able to help anyway
Thanks!