Author |
Message |
Wobble
Joined: Feb 11, 2017 Posts: 70 Location: Denmark
Audio files: 1
|
Posted: Sun Feb 26, 2017 9:10 pm Post subject:
Measure volume Subject description: Envelope Follower |
|
|
Is there any way to convert an audio rate signal's volume into a control signal to simulate an Envelope Follower? I think it would work like the module Display, just output volume as signal instead of display it. I kinda looked at the modules but wasn't sure if any of them could do that by themselves. I have found some tips for patches that use those, and would like to try them.
I don't know some aspects of what an envelope follower does, since some seems to have knobs to control what they do. But for a simple one I guess could first use a Rectifier in full wave mode, then a lowpass filter, or is there smarter way? |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Mon Feb 27, 2017 2:24 am Post subject:
|
|
|
Basically the envelope follower outputs volume. It does so by applying an asymmetric filter over a rectified version of the input signal. The Attack controls how fast it responds on up-going volume jumps and the decay controls how long it holds its value after a volume goes down.
This sort of filtering is needed as otherwise it would just follow the rectified signal, and as usually attacks are faster than decays the asymmetry makes sense.
There seems to be a trick with 'analytical signals' to get instantaneous volume information ... but I'm not sure how that could even work ... so maybe I should look into that at some stage. So for now, just use the envelope module.
BTW :: When you connect a bunch of internal signals to an output module, and then dtop audio execution, hit F4 and start a debug run there you get graphs of the signals - might be helpful to see what you are doing. _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
Wobble
Joined: Feb 11, 2017 Posts: 70 Location: Denmark
Audio files: 1
|
Posted: Mon Feb 27, 2017 5:55 am Post subject:
|
|
|
Ahh, I did not read the Envelope module description closely enough, thought it was another AR envelope.
Thanks for the info, and I will try the F4 thing. |
|
Back to top
|
|
|
|