Demick ·
I am currently creating a project (I am a bit of a newb) that is essentially a clone of OPL3 with added bells and whistles. I am aware that the ADSRs are all linear in SM. I use FL's version of SM, but am considering a purchase of this SM in the near future because I have so much fun using it - but I digress.
Is there a way to create a logorithmic (non-linear) fade to the whole ADSR or would you have to alter some code? I kind of wish I understood how the whole logorithmic scaling worked better so I could apply it properly.
For an added bonus: Progress so far
- routing mechanism (6 standard OPL2/OPL3 routings, one OPL4 routing planned in the future) - All OPL3 waves incorporated, each 256 samples long - modulation and volume LFOs applied - Feedback - All oscillators fed through phase ports - Multipliers applied to Freq ports (as well as the standard incoming streams) - ADSRs applied
Things that need to happen
- key scaling - key scaling rate - non-linear ADSRs (proper math added to change from linear to non-linear (1-0 to dB maybe?)...) - multistage filter with ADSR for added collness. 😀 - distortion (easy to implement)
I hope I am not reiterating any posts here, as this is my first dedicated topic here.