Heres the latest version of the midi triggered multieffect ive been working on so far.
Load it in the mixer. Load a MIDI out channel set to port 1. Notes in the C4 octave of the MIDI out channel will trigger 12 effects.
Low Pass Filter, High Pass Filter, Overdrive, Ringmod, Bit Crush and Sample reduction, Pitch Shift, Granular stretch (on trigger), Flanger, Phaser, Gain (use to gate or autopan), Reverb, Delay.
Velocity or an LFO can be set to change effect parameters.
Some parts of code come from...
Samplerate reducer Code by Stefan
http://synthmaker.co.uk/forum/viewtopic ... &sk=t&sd=a
Bit reducer Code by Andrew Jerrim
http://synthmaker.co.uk/forum/viewtopic ... =bit+crush
Pitch Shift Engine by Sambean
Allpass filter (for the phaser) from Shifrin
http://synthmaker.co.uk/forum/viewtopic ... 7&start=30
UI needs improving. LFO (and delay time) sync to be added. Reverb and delay still use an odd method to shut off, will be improved.
An odd thing I cant work out, I use a value change of 0 to 1, to boolean code, to reset a ramp in the stretch module as its triggered. Tho it only works if I also keep a mono readout or scope attached to the ramp output.
Let me know any issues.
Edit: Updated with optimized assembler DC offset remover and clipper by Dozius. Edit: Note colour areas, reversed stretch and pitch shift order, reduced delay LFO and vel range.