Hi Anton,
You could use a 'select 127' object routed to a toggle. Unfortunately, you then have the problem that the duplicated messages would instantly turn the toggle on then off. I've included an abstraction with a workaround, anyway.
Cheers,
Peter
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
On Tuesday 18 March 2003 17:59, PT147@mdx.ac.uk wrote:
Hi Anton,
You could use a 'select 127' object routed to a toggle. Unfortunately, you then have the problem that the duplicated messages would instantly turn the toggle on then off. I've included an abstraction with a workaround, anyway.
Cheers,
Peter
With a " mix and match" of all the ideas i got it working. Mostly I used your abstraction but for the double messages problem I used a [stripnote] before the [select] object as matthew advised me.
Thank you all ! I ll be back with more questions soon. i have too sort out the knobs too... -- regards anton
On Tue, 2003-03-18 at 15:13, Antonis Galanopoulos wrote:
With a " mix and match" of all the ideas i got it working. Mostly I used your abstraction but for the double messages problem I used a [stripnote] before the [select] object as matthew advised me.
one more idea, even though late. use [change] which will output a number only if it's different than the previous.
./MiS