Transpose Midi Sequence Question

chung fan liu's icon

Hi Max Community,

I'm working on a Midi effect for Live. So what I want to do is to use midi input to trigger a midi clip and I also want the midi file to transpose base on the midi key I press
The problem I face is that the midi note didn't turn off after I release the key. Also, when I release the key and press another one, the first note that it spit out is the last note of the previous sequence.

Does anyone know how to fix that?
Thanks in advance

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

double_UG's icon

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

use unpack pack insted of cycle

chung fan liu's icon

Hi,
Thank you for the reply. I think unpack didn't work cause the output from "seq" is sequential instead of packed data.

double_UG's icon

if its raw midi you can use [midiselect] to group pitch velocity to a list