notein / noteout inconsistency?

Larry Troxler lt at westnet.com
Sat Jul 29 02:16:17 CEST 2000


I think I found the reason for the seg-faults I was getting in
connecting a notein to a noteout.
Having a quick look at x_midi.c, it seems that the channel number is
zero-based in noteout, but one-based in notein! Once I added one to the
channel number before feeding it to noteout, everything works - see
attached patch.
Is this how these objects are intended to work, or is this a bug in
noteout? Or, am I overlooking something?

Larry
-------------- next part --------------
#N canvas 0 0 450 288 10;
#X obj 35 17 notein;
#X obj 36 99 noteout;
#X obj 70 56 + 1;
#X connect 0 0 1 0;
#X connect 0 1 1 1;
#X connect 0 2 2 0;
#X connect 2 0 1 2;


More information about the Pd-list mailing list