Noteout outlets?

Michael Mich's icon

Hello everyone, I was wondering how could I send Noteoute values. I read that "There are no outlets. The output is a MIDI note-on message transmitted directly to the object's MIDI output port." What I want to do is to activate noteout only with a selector. Is that possible? (I will be controlling the midi values using Kinect values).
Thanks

Max Patch
Copy patch and select New From Clipboard in Max.

Michael Mich's icon

Any ideas?

Bill 2's icon

G'day Michael, MIDI notes and audio signals need to be handled separately. Here's one way to do it, based on your patch.

Max Patch
Copy patch and select New From Clipboard in Max.

Michael Mich's icon

Hello Bill, thanks for your reply.
How could I make it work for values ==1 or ==3? I tried to add another box ==1 but it does't work.
Have a great day too!

Bill 2's icon

Hi Michael, I'm not sure what you're wanting to do here. In my edit of your patch 0 = off, 1 selects [cycle~ 550], 2 selects [cycle~ 660] and 3 selects the one MIDI stream you've got. (At least I HOPE that's right - I haven't tested it.)

What exactly do you want vaules ==1 or ==3 to do - select a different stream of MIDI notes or something?

Michael Mich's icon

No, I just wanted for number 1 and 3 to both select the Midi stream but I figured it out thnx!

I would also like to ask something more. As you can see on the patch, I have some input values that produce midi notes, what I want to do is for input numbers 0-3 nothing to be outputted (I am getting input values from the kinect) like here

Max Patch
Copy patch and select New From Clipboard in Max.


I would like to do the same but for higher notes with range 55-100 but I don't know how. I understand that on the above example values 0-7 don't produce anything as the velocity is minimal but there should be a way to do that for another range of notes.

Max Patch
Copy patch and select New From Clipboard in Max.

Bill 2's icon

Michael, it seems that you don't yet have enough understanding of MIDI notes, how they're structured, etc. So it's kinda difficult to help you at the moment.

Possibly the easiest way to learn is to look at what the [notein] object outputs when you press keys on a connected MIDI keyboard. Each note-on has a pitch *and* a velocity. Your patches don't - you've just used the same number for both. And without the correct note-off messages you'll get stuck notes. Apart from checking out [notein] there are some Max MIDI tutorials; the first one's at https://docs.cycling74.com/max7/tutorials/midichapter01 and the others can be found from there. Cheers, Bill

Michael Mich's icon

Hey Bill, thanks.
Yeah, I am using max for a university project (never used it before) so indeed I don't have enough understanding of MIDI notes(I don't use external midi devices) or of the software in general (unfortunately didn't have the chance to go through many tutorials ) as I need to finish my project really soon. Ill try go through these tutorials
What I wanted was something like this and it seems to work now!

Max Patch
Copy patch and select New From Clipboard in Max.

Bill 2's icon

I'm glad you managed to get it working. :-)