try [stripnote] to [b] to toggle...
you're right, I would think the doubling of MIDI messages is caused by hardware, though certain objects like hdial have the option 'old&new' so if you are sending the MIDI notes to something like this (not sure why you would be) then it will send 2 messages out.
regards, M
----- Original Message ----- From: "Antonis Galanopoulos" addon@blueyonder.co.uk To: pd-list@iem.kug.ac.at Sent: Tuesday, March 18, 2003 3:20 PM Subject: [PD] midi button logic problem
Hi all, I have the following problem and I was wandering if somemody here could
help.
For a project I am working on I use a MIDI controller(Peavy Studiomix )
wth
faders buttons and knobs. I want to use the buttons as toggles. The problem is that pressing and realesing the button will send 4 messages like that:
print: 2500 127 print: 2500 127 print: 2500 0 print: 2500 0 That means that when I realese the button it will return to its previous value(0) This is not the behaviour I am looking for . What I want is each time I
press
the button to change state and stay there.
I am also confused by the fact that it it sending its message twice. I
think
that is something to do with that particular hardware.
Please enlighten me!
-- regards anton
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list