Page 1 of 1

Want to create a patch to add sustain pedal to any synth

Posted: Fri May 14, 2021 1:25 am
by spider-worm
So I've been trying to figure out why I can't get sustain pedal stuff working with native plugins, like FLEX, and I guess the support just isn't there in FL Studio. I'd like to be able to create automation clips that enable and disable the sustain pedal for specific tracks over the course of a song. So I've been wondering... is this something that can be done with a patch?

I'm new to FL Studio, the concept of MIDI, and creating patches. I'm not new to programming and I can write Python just fine.

My understanding is that FL Studio sends MIDI signals to plugins such as VSTs, to which the plugin responds with some sound. I assume the MIDI signal send to the plugin includes Velocity, Pitch, and Panning information at the beginning of each note. Does it also send the note duration at the beginning of the note? If so, is there some way I can intercept the note duration and send a longer note value instead?

If I'm thinking about this all wrong, could you help set me straight?