Hello all, trying to get my head around something this morning. I’m trying to get fixed velocity values from ‘notein’, meaning no matter what the velocity of a note is coming in, it will always output the same value (apart from when it’s 0). I’m wanting to filter out the different velocities but still use the MIDI data as I would normally for something like ‘poly~’.
In the attached patch I’ve got a method going for it. I basically route the velocity value for each of the notes I receive, always make it 64 or 0, then repack the note data for normal use. However, I think I’m having some sort of routing problem. The previously hit note will always receive note-on velocity of the next note. I can’t figure out why!
I know this whole demonstration patch might seem a little convoluted but it’s for quite a specific purpose. Is there a better way of doing this?
The main patch is ‘fixedvelpico.maxpat’, ‘fixvnote.maxpat’ is an abstraction. Thanks, any help would be appreciated.
Just as a note, I’ve used this method in the past for creating pseudo-MIDI note data from other data input!