Transpose without retriggering notes?
hi everyone, I'm quite new to max and I wanted to ask you for help on something that's giving me problems. I would like to implement a transpose in my patch, but in the way I created it for the moment when I change the pitch while I'm playing the note is retriggered. How can I solve that?
P.S in the complete patch the prepend midi note enters in a poly~
you bang output every time that dial outputs something.

you have to turn held notes off when transposing.
use flush for that.
otherwise you will have hanging notes.

mousefilter outputs set value on mouse release,
you don't want to send 10 values when switching from -4 to +5
thank you so much, but I still have 2 problems. The first is that flush doesn't work with negative values, and I have a -60 in order to have C3 == 0. And the other one is that when I change the transpose while holding down the note it stops.
1) Why do you want C3==0? You get to decide when you offset the C3 value, so offset +60 and then -60 later if that's what you need.
2) You need to decide what "correct" behavior is if you change transpose while a note is held. Source Audio has the bang message hitting flush when transpose changes, thus stopping the notes. If you don't have something similar to that, then you'll fail to send note-off messages if you change transpose while a note is held.
Or ignore note off messages and use makenote object.
That would solve the problm with transposing held notes,
transpose dial coud trigger notes all the time if you want that,
