umenu, infinit sound, split midi keyboard
Hi!
I'm building an basic arpeggiator in Max and I have some problems.
From what I can understand an arpeggiator work like this (see patch).
I would like to have a umenu or something that displays the options Major and minor instead of the message boxes with 3 and 4.
Maybe I'm way off, then please tell me.
I also have the problem that sometimes when I press a key the tone never stops, it seems to keep on until infinity. Can anyone please tell me how to fix this? I know that the teacher mentioned something about it but I can't remember what he said.
And also, is there some way to abort a sound without quitting Max? (like ctrl+. in SuperCollider)
I also need to split the midi keyboard so that I can control each half by different means. I guess this can be done by dividing it into 2 different channels or something like that, is there a way to divide it in max?
I don't really wont anyone to solve the whole task for me but I would appreciate some tips. Thanks!
Eh, sorry, but how to I add the patch?
edit->copy compressed
then simply paste here
Thank you!
A [flush] object just before your [noteout] object will stop sound without quitting Max.
This is related to your "infinite sounds", the [stripnote] removes noteoff information so [noteout] never receives a message to stop playing the note. You might look at using [makenote] to simplify the process.
Not sure what your looking for with "split the midi keyboard", have you looked at the [split] object?
Create a [umenu] with the interval names Minor, Major -in that order, add three [+ 3] to the "item number chosen" outlet of [umenu]