Old 09-26-2016, 08:28 PM   #1
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 271
Default EEL:Envelope-based Compressor

The script creates volume envelope based on volume level and compresses it.


=============
Old version(v1) info:
This is the initial version, in the future, probably, will change.
If any errors etc let me know.
This is not a copy of another script from spk77), although in something like(thanks spk77), but the principle is different.
This is not a compressor, although much like. Settings work a bit differently than in the compressor, although they have similar names.
I did not come up with other names. Because, in principle, they largely correspond to the compressor.
Old version Demo


=============
New version(v2) info:
The second version works like a compressor in peak mode.
Perhaps the rms-mode will be added if I have time.
In addition, LP and HP filters were added.
Added RT update mode (with each slider motion), you can watch all the changes live.
But do not use this mode on large ranges!
Buttons are replaced with checkboxes, it's much more convenient.
The interface is now more understandable for use.

How use:
Select the audio-item. Click "Activate Envelopes" and "Show Envelopes" if need.
"Show Envelope" - toggle show/hide take vol envelopes.
"Activate Envelope" - toggle activate/deactivate take vol envelopes.

Use the sliders to adjust take volume envelope.
Ctrl + drag - fine tune
Click on value - enter value from keyboard.
Dubble click - reset to default.

You can use the time selection to limit the area of application of the compressor.
Also, you can select more then one items. They will be processed separately.
The script works with mono, stereo, multichannel audio, any playrates etc.



===============
Link v1(old version):
Envelope-based Compressor.eel

Link v2(new version, will be updated):
Envelope-based Compressor v2.eel

Note: Needed SWS - latest version.

===============
How install - use Reapack, but the link to my repository must be added manually:
"https://github.com/EUGEN27771/ReaScripts/raw/master/index.xml"
__________________
ReaScripts

Last edited by eugen2777; 12-23-2017 at 06:15 AM.
eugen2777 is offline   Reply With Quote
Old 09-27-2016, 12:12 AM   #2
raiirock
Human being with feelings
 
raiirock's Avatar
 
Join Date: Mar 2013
Location: Moscow
Posts: 99
Default

Wow ! This is really cool !
raiirock is offline   Reply With Quote
Old 09-27-2016, 01:28 AM   #3
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Yay. One of the best scripts ever! Thanks, Eugen.
vitalker is offline   Reply With Quote
Old 09-27-2016, 01:46 AM   #4
SoulOne82
Human being with feelings
 
SoulOne82's Avatar
 
Join Date: Sep 2008
Location: Illville - Germany
Posts: 972
Default

A
W
E
S
O
M
E
SoulOne82 is offline   Reply With Quote
Old 09-27-2016, 01:53 AM   #5
IXix
Human being with feelings
 
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,889
Default

Nice
IXix is offline   Reply With Quote
Old 09-27-2016, 03:05 AM   #6
planetnine
Human being with feelings
 
planetnine's Avatar
 
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,925
Default

Didn't spk77 write one of these?



>
__________________
Nathan, Lincoln, UK. | Item Marker Tool. (happily retired) | Source Time Position Tool. | CD Track Marker Tool. | Timer Recording Tool. | dB marks on MCP faders FR.
planetnine is online now   Reply With Quote
Old 09-27-2016, 05:20 AM   #7
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Quote:
Originally Posted by planetnine View Post
Didn't spk77 write one of these?
Did you read the first message from eugen2777?
vitalker is offline   Reply With Quote
Old 09-27-2016, 07:37 AM   #8
Jae.Thomas
Human being with feelings
 
Join Date: Jun 2006
Posts: 22,567
Default

hey, this is a fantastic script! Thank you so much. I love stuff like this.
Jae.Thomas is offline   Reply With Quote
Old 09-27-2016, 08:54 AM   #9
kkostovas
Human being with feelings
 
Join Date: Sep 2015
Posts: 71
Default

Oh my, Thank you..
kkostovas is offline   Reply With Quote
Old 09-27-2016, 01:54 PM   #10
planetnine
Human being with feelings
 
planetnine's Avatar
 
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,925
Default

Quote:
Originally Posted by vitalker View Post
Did you read the first message from eugen2777?

Obviously not!!



>
__________________
Nathan, Lincoln, UK. | Item Marker Tool. (happily retired) | Source Time Position Tool. | CD Track Marker Tool. | Timer Recording Tool. | dB marks on MCP faders FR.
planetnine is online now   Reply With Quote
Old 09-27-2016, 02:17 PM   #11
amagalma
Human being with feelings
 
amagalma's Avatar
 
Join Date: Apr 2011
Posts: 3,451
Default

Excellent! Well done!

P.S. BTW, is anyone experiencing this Reaper bug? It is not the script's bug! It's Reaper's and has always been there for me...
__________________
Most of my scripts can be found in ReaPack.
If you find them useful, a donation would be greatly appreciated! Thank you! :)

Last edited by amagalma; 09-28-2016 at 12:56 AM.
amagalma is offline   Reply With Quote
Old 10-25-2016, 09:32 AM   #12
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

Quote:
Originally Posted by eugen2777 View Post
The script creates volume envelope based on volume level and compresses it.
Tried it on acoustic guitar.
Very good results!

But, only first item, and no save/recall settings is not so good for workflow.
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
G-Sun is offline   Reply With Quote
Old 10-26-2016, 09:42 AM   #13
eugen2777
Human being with feelings
 
eugen2777's Avatar
 
Join Date: Aug 2012
Posts: 271
Default

Indiscipline, maybe in the future.
G-Sun, Somehow the link was an old version. I re-updated the link, multiple items and time sel now supported.
__________________
ReaScripts
eugen2777 is offline   Reply With Quote
Old 10-26-2016, 11:59 AM   #14
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

Quote:
Originally Posted by eugen2777 View Post
G-Sun, Somehow the link was an old version. I re-updated the link, multiple items and time sel now supported.
Happy to hear that.
Option to use pre-fx vol env. instead of take vol, could be nice as well.
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
G-Sun is offline   Reply With Quote
Old 10-29-2016, 07:15 PM   #15
whutuneed
Human being with feelings
 
Join Date: Dec 2013
Posts: 21
Default

This thing is great
whutuneed is offline   Reply With Quote
Old 10-29-2016, 08:44 PM   #16
lolilol1975
Human being with feelings
 
Join Date: Dec 2015
Posts: 1,739
Default

Call me stupid, but what are the differences and advantages/inconveniences with a classical compressor ?
lolilol1975 is offline   Reply With Quote
Old 10-30-2016, 02:00 AM   #17
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

Quote:
Originally Posted by eugen2777 View Post
G-Sun, Somehow the link was an old version. I re-updated the link, multiple items and time sel now supported.
Tried it out, works very well.
Thank you!

Now, a lot to be desired.
Presets, hpf, numeric input, normal values, expander, rms-setting.
But, it works
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
G-Sun is offline   Reply With Quote
Old 11-02-2016, 01:05 AM   #18
germano
Human being with feelings
 
Join Date: Sep 2012
Location: Living in Portugal but Born in France
Posts: 64
Default

Quote:
Originally Posted by eugen2777 View Post
In addition, you can use Reapack, but the link to my repository must be added manually
Your script is fantastic.

Please,
can you give us the link to your repository (i try without success).

Thanks
germano is offline   Reply With Quote
Old 05-01-2017, 09:57 AM   #19
Regisfofo
Human being with feelings
 
Regisfofo's Avatar
 
Join Date: Mar 2017
Location: France
Posts: 627
Default

Looks exciting but do not work with my system.

interval, Outgain, activate and Show envelope work ok but all points always stays in a sad straight line... Anyone else encountering this issue ?

By the way I'm on mac osx 10.8!
Regisfofo is offline   Reply With Quote
Old 05-01-2017, 01:15 PM   #20
Fabian
Human being with feelings
 
Fabian's Avatar
 
Join Date: Sep 2008
Location: Sweden
Posts: 7,417
Default

Quote:
Originally Posted by Regisfofo View Post
Looks exciting but do not work with my system.

interval, Outgain, activate and Show envelope work ok but all points always stays in a sad straight line... Anyone else encountering this issue ?

By the way I'm on mac osx 10.8!
Yes, I have found that this (sometimes?) happens if the item already has its volume adjusted. What I have to do in those cases is to lower the threshold extremely low, and then raise it. I have not experimented with this yet, so I have no better description. And this is on W7x64 REAPER 5.40/x64.
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...
Fabian is offline   Reply With Quote
Old 05-02-2017, 03:42 AM   #21
Regisfofo
Human being with feelings
 
Regisfofo's Avatar
 
Join Date: Mar 2017
Location: France
Posts: 627
Default

Quote:
Originally Posted by Fabian View Post
Yes, I have found that this (sometimes?) happens if the item already has its volume adjusted. What I have to do in those cases is to lower the threshold extremely low, and then raise it.
Thanks a lot! Works like a charm now with that trick
Regisfofo is offline   Reply With Quote
Old 05-01-2017, 05:36 PM   #22
Luster
Human being with feelings
 
Luster's Avatar
 
Join Date: Nov 2015
Posts: 642
Default

Quote:
Originally Posted by Regisfofo View Post
Looks exciting but do not work with my system.
I got the same impression yesterday but then realized that the script is time selection (and/or loop selection) sensitive. So it's only active in that area. Be aware of that.
Luster is offline   Reply With Quote
Old 05-01-2017, 06:33 PM   #23
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,618
Default

just got around to trying this ...

seems Ok but it only works on item env's ... correct?

does not work on other track env's... or have I missed something?
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva
hopi is offline   Reply With Quote
Old 05-02-2017, 08:24 AM   #24
Arnar
Human being with feelings
 
Arnar's Avatar
 
Join Date: Jan 2007
Location: Smokie Bay.
Posts: 796
Default

"In addition, you can use Reapack, but the link to my repository must be added manually"

Where is this link ?

Thanks, looks awesome.
__________________
In Music We Trust.
http://soundcloud.com/hazar
http://soundcloud.com/ifthenrun
Arnar is offline   Reply With Quote
Old 05-02-2017, 01:13 PM   #25
Fabian
Human being with feelings
 
Fabian's Avatar
 
Join Date: Sep 2008
Location: Sweden
Posts: 7,417
Default

Quote:
Originally Posted by hopi View Post
just got around to trying this ...

seems Ok but it only works on item env's ... correct?

does not work on other track env's... or have I missed something?
Only item envelopes, yes.

Works great, except when the item has already had its volume adjusted, then in som e cases you have to lower the threshold extremely low to have it kick in, and then raise the threshold to sensible values.

But other than that... I use this on almost every item nowadays.
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...
Fabian is offline   Reply With Quote
Old 05-09-2017, 12:17 AM   #26
reapercurious
Human being with feelings
 
reapercurious's Avatar
 
Join Date: Jul 2007
Posts: 1,890
Default

Is it possible to apply that envelope to another track? Or to some other arbitrary parameter?
reapercurious is offline   Reply With Quote
Old 06-04-2017, 06:01 AM   #27
Ulf3000
Human being with feelings
 
Join Date: May 2016
Posts: 369
Default

thanx man works super great for me and imported vocals

should be stickied
Ulf3000 is offline   Reply With Quote
Old 06-15-2017, 02:16 AM   #28
hoshido
Human being with feelings
 
Join Date: Sep 2015
Posts: 13
Default Wonderful

Wow ! It's just .... what I can say ... yeah ! Awesome !
hoshido is offline   Reply With Quote
Old 07-26-2017, 11:34 AM   #29
Soundiron
Human being with feelings
 
Join Date: Feb 2016
Posts: 5
Default

This script is a work of art! Even the GUI is awesome and the features are perfect. Thanks you for building and sharing this!
Soundiron is offline   Reply With Quote
Old 01-28-2018, 05:05 AM   #30
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Wow Eugen! I can't believe I missed this for so many months. I frequently use spk77's script, so am looking forward to testing this out.

Amazing work. Raymond was right, you're a hero.

#Eugen2777_for_REAPER-hero-2018
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 08-10-2018, 08:21 AM   #31
Hitcher
Human being with feelings
 
Join Date: Mar 2016
Posts: 21
Default

Женя - Супер Мен!) Скрипт великолепный, уже год использую твой компрессор v1. как раз хотел подобное для пиков а ты уже все сделал!) Респект и признательность!)
Hitcher is offline   Reply With Quote
Old 01-20-2024, 10:17 AM   #32
Subz
Human being with feelings
 
Subz's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 3,210
Default

This is impressive!!

Subz

Last edited by Subz; 01-20-2024 at 10:31 AM. Reason: i fixed it
Subz is offline   Reply With Quote
Old 01-28-2018, 01:49 PM   #33
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Okay, after some testing:

-It seems like we always need some Pre-Comp (known as Lookahead).
-Out Gain function is good, but this plugin needs a 'gate threshold' (not probably not a full gate section) to avoid turning up any low-level signals.
-When you load a preset and click Activate Envelopes, the script does nothing until you adjust the Threshold control. Clicking Activate Envelopes should 'refresh' the same way that adjusting Threshold does.
-Overwriting existing preset should show warning.


spk77's script acts more like an intelligent leveller, which is perfect for vocals. I have tried to obtain a similar function from your script (which has several other advantage), but I haven't found the right settings yet.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]

Last edited by daxliniere; 01-28-2018 at 01:59 PM.
daxliniere is offline   Reply With Quote
Old 01-28-2018, 02:29 PM   #34
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Ooo! And the coolest thing would for your script to detect breaths and (optionally) NOT turn them up.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 01-29-2018, 12:00 PM   #35
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

Another way in which the script can surpass ReaComp, is by offering looooong RMS and Pre-Comp. Since the script does not run in realtime, plugin delay compensation is of no concern. (In the current version, the script's pre-comp only goes up to 100ms, which is less than ReaEQ's 250ms.)

EDIT: Would it work OK if I simply change these lines to larger values, say 1000ms and 2000ms?
Code:
PreComp.DW_New(3, "Slider", "H", 160,40,200,20, r,g,b,a, "Pre-Comp", "ms", 0, 0, 100, 0.1, 0);

RMSsize.DW_New(7, "Slider", "H", 160,160,200,20, r,g,b,a, "RMS size", "ms", 5, 0, 1000, 0.1, 1);

Last edited by juliansader; 01-29-2018 at 12:05 PM.
juliansader is offline   Reply With Quote
Old 12-18-2022, 01:34 PM   #36
henu
Human being with feelings
 
Join Date: Dec 2020
Posts: 76
Default This!

Quote:
Originally Posted by juliansader View Post
Another way in which the script can surpass ReaComp, is by offering looooong RMS and Pre-Comp. Since the script does not run in realtime, plugin delay compensation is of no concern. (In the current version, the script's pre-comp only goes up to 100ms, which is less than ReaEQ's 250ms.)

EDIT: Would it work OK if I simply change these lines to larger values, say 1000ms and 2000ms?
Code:
PreComp.DW_New(3, "Slider", "H", 160,40,200,20, r,g,b,a, "Pre-Comp", "ms", 0, 0, 100, 0.1, 0);

RMSsize.DW_New(7, "Slider", "H", 160,160,200,20, r,g,b,a, "RMS size", "ms", 5, 0, 1000, 0.1, 1);
did this work?
Is it possible to get this kind of update?

Just let us use as large values for attacks, releases and precomps and rms sizes as we want... something like a 2000ms should be as big as needed really for anything practical. but opening that field up for whatever value needed would be really really cool.
henu is offline   Reply With Quote
Old 12-18-2022, 04:32 PM   #37
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

Yes, it did work. Long long ago I uploaded the script to the stash. It has several other mods, and looks like this:



IIRC, the script mimics ReaComp closely, with one exception being the release behavior. It would be great if some EEL scripter could mod that feature.

Last edited by juliansader; 12-18-2022 at 04:37 PM.
juliansader is offline   Reply With Quote
Old 01-29-2018, 12:07 PM   #38
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 3,714
Default

Quote:
Originally Posted by daxliniere View Post
spk77's script acts more like an intelligent leveller, which is perfect for vocals. I have tried to obtain a similar function from your script (which has several other advantage), but I haven't found the right settings yet.
Which script by spk77 are you referring to?
juliansader is offline   Reply With Quote
Old 01-29-2018, 12:18 PM   #39
vitalker
Human being with feelings
 
vitalker's Avatar
 
Join Date: Dec 2012
Posts: 13,333
Default

Quote:
Originally Posted by juliansader View Post
Which script by spk77 are you referring to?
The script, which Eugen have improved.
This script is based on it. There was a beta version.
vitalker is offline   Reply With Quote
Old 01-29-2018, 04:00 PM   #40
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Quote:
Originally Posted by vitalker View Post
The script, which Eugen have improved.
Did Eugen improve on it or was he inspired by it? I assumed inspired (since the controls are quite different)
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:04 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.