Page 1 of 1

Posted: 09 Mar 2010, 03:50
by loveandelectrik
hi im new here and starting to get my way around this program,, dope stuff by the way
quick question on something ive been trying to figure out

how to make a button send midi on and off,, mine only sends midi note on, and need to figure out how to tie a button to 2 "create midi message" objects,, have it so as i hold the button,, note is held,. as i release button note is released,,,

thanks in advance for your help!

Posted: 09 Mar 2010, 04:35
by gurulogic
I'm not too sure I can help with this one but one part of the problem I see is that as far as I can tell a button cannot be held down to continuously send one value and then released to send another.It just very quickly sends a value of 1 when pressed. You would normally need a switch for this but for your situation you would want a momentary switch...hmm... Anyone?

Posted: 09 Mar 2010, 05:15
by Clearscreen
Is this something like what you're after? Have the second create midi set to "NOTE OFF" and it'll trigger a note on on mouse down, and note off on mouse up. The button module outputs a rapid 0-1-0 pules when you press it, whereas this setup holds the pulse at 1 as long as you press on the image panel. The "0-1" and "1-0" modules are in the events control module menu and just detect rising and falling edges of pulses basically - perfect for this :)
Image

Posted: 09 Mar 2010, 06:38
by loveandelectrik
it worked!! genious thanks man,, img panel is a cool module,, this takes me one step closer to where i need to get, cheers guru and clearscreen,, appreciate your help!

Posted: 09 Mar 2010, 06:43
by gurulogic
I learned something too :)

Posted: 09 Mar 2010, 07:03
by Clearscreen
No worries guys - anytime :) Check out the mouse x and mouse y values as well, as you could link these to (for example) velocity of the note you create, or pretty much anything else you can imagine. With the new matrix pack in v5 you can have a grid of these buttons like a monome, mpc or maschine if you wanted to, very very cool!!