Feature-Request - Filter ADSR
Can't help but feel that the low pass filter can only be used as an EQ-type effect as it has fixed cutoff and resonance. Would be great if there was an ADSR envelope (like in the Teensy Audio library) with ADSR settings and env->cutoff amount saved for each preset.
(Feature creep alert: And while we're at it, why not make this ADSR a general "Mod Envelope" which can be assigned to some other parameters.)
Good idea! Yes, the LP filter is the one that is used in the original Dexed (comment inside the code: "4POLE OBXd filter"). That's why using an ADSR from the Teensy Audio library is not easy to implement. Hmmm, maybe by adding additional methods for accesing the values...
For future versions I thought also of a way to route CCs to different parameters.
But currently there is not much time for implementing this. It would be cool if there would be others who can also write parts of the code for MicroDexed. How about you?
In fact I have been writing some customizations of an older branch of your code where I experimented with teensy audio effects etc. I believe at some point I had a Teensy SVF with ADSR in the signal chain but I was wondering if it would be more effective to add an ADSR to the 'internal' LP instead.
The internal LP is completely separated from the sound generation. To use the LP even the integer value of the sound generation is converted into a float and the amplification and LP is calculated. After that the sound is converted to an integer again. Not really optimal. So you could really edit this part with the Teensy-Audio library and drop the internal calculation.
But for this the menu has to be extended to edit the ADSR values...
After thinking a little bit about the implementation, I think it's not really simple. The current LP is a sum-LP for the complete sound. When using an ADSR LP this should be an ADSR and LP for every note.
It is not impossible to do this, you have to got deep inside the sound generation engine. And there is much more calculation time needed. This means that the T_3.6 would have less CPU time for sound calculation => less polyphony.
Polyphonic filters would be besides the point, it is an FM synth after all, I was only talking about paraphonic just like the current LP. I guess I'll deactivate the Dexed LP and add a Teensy SVF with ADSR and env amount then.
Deleting a branch is permanent. It CANNOT be undone. Continue?