[PD] MIDI controller question

Cyrille Henry cyrille.henry at la-kitchen.fr
Mon Feb 10 20:03:15 CET 2003


#N canvas 0 0 289 393 12;
#X obj 99 289 select 0;
#X obj 99 209 f;
#X obj 99 236 + 1;
#X obj 99 262 mod 2;
#X msg 98 311 0;
#X msg 151 311 1;
#X obj 98 340 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X obj 40 156 select 0;
#X obj 40 57 route 37;
#X obj 40 31 notein;
#X obj 40 125 f;
#X msg 40 88 bang;
#X msg 99 181 bang;
#X connect 0 0 4 0;
#X connect 0 1 5 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 1 1;
#X connect 3 0 0 0;
#X connect 4 0 6 0;
#X connect 5 0 6 0;
#X connect 7 1 12 0;
#X connect 8 0 11 0;
#X connect 9 0 8 0;
#X connect 9 1 10 1;
#X connect 10 0 7 0;
#X connect 11 0 10 0;
#X connect 12 0 1 0;

maybe this would help...

Stephen Martin wrote:
> I can get input from the buttons, but (like matthew said) it's not a toggle,
> so I can only get a positive value for as long as my finger is on the
> button.  It goes back to zero when I lift my finger off.
> 
> so, here's what I think would work, but I don't know PD well enough to do
> it... and this is where I need the quick help... it seems simple in
> theory...
> 
> is there a way to have a toggle triggered with, say, a value of 37, but not
> go off when it receives a value of 0... and THEN, go off when it receives
> the 37 value again - basically every time this value is passed, the toggle
> goes off or on, but by only using one value, not a zero and a positive
> integer...
> 
> help?
> 
> STEVE
> 
> 
> 
> 
> 
> 
> -----Original Message-----
> From: pd-list-admin at iem.kug.ac.at [mailto:pd-list-admin at iem.kug.ac.at]On
> Behalf Of Matthew Allen
> Sent: Monday, February 10, 2003 1:03 PM
> To: pd-list at iem.kug.ac.at
> Subject: RE: [PD] MIDI controller question
> 
> 
> 
> I actually had the same problem, And couldn't find a work around in pd.
> 
> What I ended up doing is having the 16 buttons send notes I normally don't
> use (note #s 111 to 127) and setting up a small abstraction that converts
> the note on and note off for these guys to just a labeled on and off value.
> I just needed them to trigger things, so the whole toggle bit I never really
> dealt with.
> 
> m.
> 
> 
> 
>>-----Original Message-----
>>From: Stephen Martin [mailto:squaw at lollygagger.org]
>>Sent: Sunday, February 09, 2003 8:04 PM
>>To: pd-list at iem.kug.ac.at
>>Subject: [PD] MIDI controller question
>>
>>I have a feeling this question is more general
>>than specific to a piece of hardware, so here goes...
>>I've checked all the peavey documentation...
>>Is there a certain way that PD recognizes MIDI/HEX data,
>>so that I could have each button toggle between, say,
>>0 and 1, and thusly trigger a toggle button?
>>
>>I hope I explained that properly?! ;)
> 
> 
> 
> _______________________________________________
> PD-list mailing list
> PD-list at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
> 
> 
> 
> 
> 
> _______________________________________________
> PD-list mailing list
> PD-list at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
> 
> 






More information about the Pd-list mailing list