Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

What's the attack/release time on the envelope follower?

For general discussion related FlowStone

What's the attack/release time on the envelope follower?

Postby guyman » Thu Feb 14, 2019 12:18 am

Hello.

I'm using this envelope follower in a few of my creations (pretty sure it comes stocked by default). I see a coeff calculator if you go inside the module, but I just don't know how to pull a calculation from this. Anyone have an idea of how I can convert the 0-1 on that knob, or some value along the green line to milliseconds? I just want to know the value of the attack and release knob in milliseconds.

Env Follow.fsm
(33.69 KiB) Downloaded 770 times


Love & Peace


~ that guy
User avatar
guyman
 
Posts: 207
Joined: Fri Mar 02, 2018 8:27 pm

Re: What's the attack/release time on the envelope follower?

Postby Spogg » Thu Feb 14, 2019 4:17 pm

Hi

The scaling is quite complex due to the DSP code, and also note that the response is exponential, so the actual time may be misleading in critical situations.

The schematic shows how to get the “nominal” time readout without any compensation for a -60dB point (which you might see for a reverb tail for example).

I bet there’s somebody here who can explain the maths properly…

Cheers

Spogg
Attachments
Attack Release times readout .fsm
(164.43 KiB) Downloaded 794 times
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England

Re: What's the attack/release time on the envelope follower?

Postby martinvicanek » Sat Feb 16, 2019 8:11 pm

It is the nature of an exponential that it creeps forever towards its limit without actually reaching it. There is, however, a characteristic time when the goal is reached to a certain exent. Unfortunately there is no consensus about what precisely "a certain extent" is. In radioactive decay it is common to consider 50%, in other contexts you will find 1/e = 37%. Engineers seem to like 10% or even 1%, and in reverbs the 60 dB limit corresponds to 0.1% - pick your favorite threshold and stick to it for consistency. The good news is that whatever your choice, the numbers will not depend on it very much.

The envelope follower has difeerent reaction times to peaks and drops, repectively: usually the former is faster than the latter. It may be misleading to use "attack" and "decay" for these time constants, but that's what people got used to anyway.
User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm

Re: What's the attack/release time on the envelope follower?

Postby Spogg » Sun Feb 17, 2019 8:20 am

Thanks for this Martin. :ugeek:

Way back in the last century, if I wanted to create a defined time period with a Resistor Capacitor delay I calculated for 63%. So 1 megohm and 1 uF would achieve a change of 63% in 1 second. So if I had an “aiming voltage” of 10V, I set the threshold at 6.3 volts and I got about 1 second.
Of course, for accuracy, everything needed trimming due to component tolerances!

Happy days!

Cheers

Spogg
User avatar
Spogg
 
Posts: 3358
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England


Return to General

Who is online

Users browsing this forum: No registered users and 83 guests