electro-smith / DaisySP

A Powerful DSP Library in C++
https://www.electro-smith.com/daisy
Other
883 stars 139 forks source link

Adenv crashes with segment times = 0 #78

Open andrewikenberry opened 3 years ago

andrewikenberry commented 3 years ago

As dicussed on the Daisy forum.

andrewikenberry commented 3 years ago

Fix AdEnv non-zero issue

sdiedrichsen commented 3 years ago

This should have been fixed with my remake, which has been merge recently.

makingsoundmachines commented 3 years ago

I'm having some issues with the ADenv as it is right now:

A suggestion (as discussed in the electrosmith slack) would be to apply @sdiedrichsen 's ADSR fix to the ADenv as well: https://github.com/electro-smith/DaisySP/pull/160

makingsoundmachines commented 3 years ago

A lower limit for segment values of 0.0005 (for ADENV_SEG_ATTACK / ADENV_SEG_DECAY) fixed the issues I was having.