I want to write a Gen~ patch that can enhance my drum samples (played through an SPD). I want the velocity of the hits to determine the amount of filtering/distortion that is applied to the audio signal coming in. This way, the samples should sound more lively.
I’ve managed to write a Gen patch and I’ve successfully uploaded the patch to my mod. However, I can only assign values through a knob.
How can I write a mod plugin using Gen that takes both audio and midi as input?
How can I have midi velocity modulate a knob in my plugin?