Problems about showing midi pitch from playing midi keyboard

megan hung's icon

Hi everyone, I am thinking of a way to solve these problems.

1. The midi pitch shows weirdly after several notes(shows "append x"). I think maybe the logicistic of my patch is incorrect?

2. When I play a note on the keyboard, it will double the notes occasionally; any way to avoid this situation?

Thanks for your help

Source Audio's icon

remove append and zl.group, then read kslider help file.

megan hung's icon

Sorry, I am not very clear on what you mean. My target output is to output a list of midi pitch messages. Just want to clarify what you've said. Is the route "kslider -> prepend -> message box"??

Sébastien Gay's icon

Is [midiin] really useful ;-) ?

[prepend append] and [zl.group] are doing similar job in your initial patch.

add [stripnote] to remove note -off messages and avoid duplication.

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

megan hung's icon

Oh God, SÉBASTIEN! Thanks for solving my questions, i have been confused for couple days