Way to detect multiple noteins in the patch?

Nov 22, 2007 at 2:46am

Way to detect multiple noteins in the patch?

Hi~

Is there a way to detect multiple noteins from one midi source?

This is what I am doing:
I connect my midi keyboard and play some tunes.
I am pressing two (or more) keys simultaneously and hearing them together but I can only see one number in notein object in the patch.
I guess I can use trigger bang, and table etc to see the slight change in the notein, but wanna know if there’s other way.

In the same sense, I am also curious if there’s a way to detect if a keyboard key is still being pressed while pressing other new keys.

Did I make sense? :P

Thank you!

#34710
Nov 22, 2007 at 10:11am

Hello,

If it’s only for testing, you can use [print] to see in the Max console which notes are being played.

If you need a GUI for this in your patch, perhaps a 127-element array, like [multislider] or [table], can be used. Each element in the array can be set to 1 when the note is on and to 0 when the note is off.

I don’t know if it helps …

#117562
Nov 22, 2007 at 11:26am

inhye schrieb:
> Is there a way to detect multiple noteins from one midi source?

of course… ;-)

> In the same sense, I am also curious if there’s a way to detect if a
> keyboard key is still being pressed while pressing other new keys.

look at the keyslider object and set it to polyphonic mode in the
inspector…

> Did I make sense?

Yes, you need to do more tutorials…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#117563
Nov 22, 2007 at 11:34am

Hi everybody.
Is it possible to include a ‘Recent Items’ menu in a standalone?

Many Thanks,

Eric L.

#117564
Nov 22, 2007 at 9:19pm

Thank you, both of you.
it works :)

#117565
Nov 22, 2007 at 9:56pm

At 9:46 PM -0500 11/21/07, inhye wrote:
>Is there a way to detect multiple noteins from one midi source?

The borax object does a variety of useful things in dealing with a note stream.

-C


Chris Muir | “There are many futures and only one status quo.
cbm@well.com | This is why conservatives mostly agree,
http://www.xfade.com | and radicals always argue.” – Brian Eno

#117566
Nov 23, 2007 at 12:05am

Wow, thanks!

#117567

You must be logged in to reply to this topic.