AHDSR into an AHD
Posted: Wed Jul 19, 2023 6:42 pm
Someone here told me to post my fsm's despite them being junk. Suit yourself
(and by junk I mean "my own" mods/adaptations or utilization of other ppls stuff, not their original modules )
Finally got to switching out my toolbox ADSR's for the ADSR (asm) with exponential decay/release inside my newbie synth.
I guess the usual suspect author of the AHDSR (asm) i'm posting here is MV Are your guilty MV?
Please let me know for sure so I can replace the file posted here... for one with the correct credits/comments inside the AHDSR module.
Why duct tape?
I just wanted an AHD to complement my ADSR's... but with exponential decay/release and selectable smooth retriggering. So I did the only thing I could... MacGyver:ed it of course
Seems to work, don't know for sure yet.
Performance wise... apart from the unnecessary stages in the asm (unused by AHD?). Maybe the asm gate snippet seems a bit unnecessary operation too. Maybe one can get a true for Poly's duration from something else?
One thing of many that could be improved I suppose, is altering the "asm AHDSR retrigger module" at some point to remove the extra stage stuff? so it works more like the now utilized original toolbox "DSP AHD retrigger module". Or... if someone desides to write... or already has written... an entirely new AHD in ASM
Edit #1:
The dezipper for unused sustain is probably redundant also...
Edit #2:
The AHD was actually broken since it never ends. Will try to fix it
Edit #3:
Hopefully fixed. See my MacGyvered version 2 of AHD posted below...
(and by junk I mean "my own" mods/adaptations or utilization of other ppls stuff, not their original modules )
Finally got to switching out my toolbox ADSR's for the ADSR (asm) with exponential decay/release inside my newbie synth.
I guess the usual suspect author of the AHDSR (asm) i'm posting here is MV Are your guilty MV?
Please let me know for sure so I can replace the file posted here... for one with the correct credits/comments inside the AHDSR module.
Why duct tape?
I just wanted an AHD to complement my ADSR's... but with exponential decay/release and selectable smooth retriggering. So I did the only thing I could... MacGyver:ed it of course
Seems to work, don't know for sure yet.
Performance wise... apart from the unnecessary stages in the asm (unused by AHD?). Maybe the asm gate snippet seems a bit unnecessary operation too. Maybe one can get a true for Poly's duration from something else?
One thing of many that could be improved I suppose, is altering the "asm AHDSR retrigger module" at some point to remove the extra stage stuff? so it works more like the now utilized original toolbox "DSP AHD retrigger module". Or... if someone desides to write... or already has written... an entirely new AHD in ASM
Edit #1:
The dezipper for unused sustain is probably redundant also...
Edit #2:
The AHD was actually broken since it never ends. Will try to fix it
Edit #3:
Hopefully fixed. See my MacGyvered version 2 of AHD posted below...