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

Audio E.Q. peak to trigger a volume ADSR

Post any examples or modules that you want to share here

Audio E.Q. peak to trigger a volume ADSR

Postby MegaKrunk1981 » Sun Nov 24, 2013 4:08 pm

I would like to create an vst effect to use in fl studio that allows peaks in the equalizer bandwidth of the audio im inputing to trigger a volume ADSR. So basically anytime the audio eq rises it triggers the ADSR, i dont want to use a set threshold, I simply want any rise or peak in the audio's eq to trigger the ADSR. Maybe that would include some type of velocity parameter. I'm just curious how i would be able to use the eq peak to trigger the ADSR? Oh and I want it to reset everytime the peak falls and goes back up again.
MegaKrunk1981
 
Posts: 1
Joined: Sun Nov 24, 2013 4:00 pm

Re: Audio E.Q. peak to trigger a volume ADSR

Postby KG_is_back » Tue Nov 26, 2013 5:41 pm

So you what the output to be some kind of control parameter?
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Audio E.Q. peak to trigger a volume ADSR

Postby nix » Sat Nov 30, 2013 4:56 am

Maybe you could use 'Bootsy's fast RMS', and compare the stream delayed by 1 sample to the original RMS value.
When original stream is greater than the delayed one, you can send the envelope bool?
Something like this, and the 'delay by one sample' prim

Code: Select all
streamin realtime;
streamin delayed;

streamboolout bool;

float a

a = realtime > delayed & 1

bool = a



This isn't necessarily using an EQ, but it is using velocity. You can certainly EQ the audio though before the RMS detector.
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am


Return to User Examples

Who is online

Users browsing this forum: No registered users and 65 guests