Welcome to %s forums

BrainModular Users Forum

Login Register

sending a single midi message each time a midi switch is pressed

I need help on a Patch
Post Reply
La Tenaille
Member
Posts: 547
Location: Saint Etienne (France)
Contact:

Unread post by La Tenaille » 18 Feb 2014, 12:20

Hello,
I have this problem : each time I push my switch, 2 datas are sent (1 0), and I can't find a way to create only one message (using the midi create inlet) not 2.
The a = b module with block on could do the job but if I keep the switch pressed, hundred of MIDI messages are created...
Thanks for your help ;-)

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 18 Feb 2014, 12:42

A switch or a button ?
cause a switch don't send 1 and 0, a button yes ?
have you try to add to add a from 0 to 1 module before the create inlet..?

La Tenaille
Member
Posts: 547
Location: Saint Etienne (France)
Contact:

Unread post by La Tenaille » 18 Feb 2014, 13:00

It works, thanks !
I was talking about a hardware midi switch. I've used the code 2 from my midi in module, then a=b (b=127) then 0 to 1 and everything is fine :)

NB : 22 minutes to answer, you're getting old :D

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 18 Feb 2014, 13:22

you're definitively right ! :lol:

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests