 |
|
|
09-26-2016, 08:28 PM
|
#1
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
EEL:Envelope-based Compressor
The script creates volume envelope based on volume level and compresses it.
1.gif)
=============
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"
Last edited by eugen2777; 12-23-2017 at 06:15 AM.
|
|
|
09-27-2016, 12:12 AM
|
#2
|
Human being with feelings
Join Date: Mar 2013
Location: Moscow
Posts: 99
|
Wow ! This is really cool !
|
|
|
09-27-2016, 01:28 AM
|
#3
|
Human being with feelings
Join Date: Dec 2012
Posts: 13,322
|
Yay. One of the best scripts ever! Thanks, Eugen.
|
|
|
09-27-2016, 01:46 AM
|
#4
|
Human being with feelings
Join Date: Sep 2008
Location: Illville - Germany
Posts: 970
|
A
W
E
S
O
M
E
|
|
|
09-27-2016, 01:53 AM
|
#5
|
Human being with feelings
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,865
|
Nice
|
|
|
09-27-2016, 03:05 AM
|
#6
|
Human being with feelings
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,899
|
Didn't spk77 write one of these?
>
|
|
|
09-27-2016, 05:20 AM
|
#7
|
Human being with feelings
Join Date: Dec 2012
Posts: 13,322
|
Quote:
Originally Posted by planetnine
Didn't spk77 write one of these?
|
Did you read the first message from eugen2777?
|
|
|
09-27-2016, 07:37 AM
|
#8
|
Human being with feelings
Join Date: Jun 2006
Posts: 22,514
|
hey, this is a fantastic script! Thank you so much. I love stuff like this.
|
|
|
09-27-2016, 08:54 AM
|
#9
|
Human being with feelings
Join Date: Sep 2015
Posts: 71
|
Oh my, Thank you..
|
|
|
09-27-2016, 10:12 AM
|
#10
|
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,245
|
Jeeeeeezz !!
|
|
|
09-27-2016, 10:45 AM
|
#11
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,196
|
very cool!  thanks
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
|
|
|
09-27-2016, 12:10 PM
|
#12
|
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,939
|
Very very nice!
Interesting AudioAccessor using also. Seems very good in terms of performance (only with EEL, I guess).
|
|
|
09-27-2016, 01:54 PM
|
#13
|
Human being with feelings
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,899
|
Quote:
Originally Posted by vitalker
Did you read the first message from eugen2777?
|
Obviously not!!
>
|
|
|
09-27-2016, 02:17 PM
|
#14
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,445
|
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...
Last edited by amagalma; 09-28-2016 at 12:56 AM.
|
|
|
09-28-2016, 09:06 AM
|
#15
|
Human being with feelings
Join Date: Sep 2016
Posts: 33
|
This is great. Thank you!!!
|
|
|
09-28-2016, 12:29 PM
|
#16
|
Human being with feelings
Join Date: Sep 2008
Location: Sweden
Posts: 7,279
|
This is SO GOOD!
And your code is nice and clean.
Thanks for this.
__________________
// MVHMF
I never always did the right thing, but all I did wasn't wrong...
|
|
|
09-28-2016, 12:41 PM
|
#17
|
Human being with feelings
Join Date: Jun 2012
Location: Spain
Posts: 7,151
|
Very good. It is very fast.
I'm not sure if the output gain works as expected. I expected it to increase all points equally.
|
|
|
09-28-2016, 02:17 PM
|
#18
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Yes, I see incorrect work in envelope "fader scaling" mode, I will fix it.
=====
Fixed.
Last edited by eugen2777; 09-28-2016 at 02:37 PM.
|
|
|
10-01-2016, 10:41 AM
|
#19
|
Human being with feelings
Join Date: Apr 2011
Posts: 3,445
|
Eugen, could you add the ability to change values using the mousewheel? Thanks
|
|
|
10-01-2016, 11:10 AM
|
#20
|
Human being with feelings
Join Date: Apr 2009
Posts: 316
|
Fantastic, thanks! Looks like kind of a revolution in workflow, which is coming!
|
|
|
10-01-2016, 11:24 AM
|
#21
|
Human being with feelings
Join Date: Jan 2009
Posts: 1,030
|
This is really cool.
A few ideas:
Do you think it is possible to have a side chain of sorts? Maybe a drop down to select a different track?
Adjust the settings to allow for expansion as well as compression.
Great work!
|
|
|
10-01-2016, 01:45 PM
|
#22
|
Human being with feelings
Join Date: Jan 2006
Posts: 2,173
|
Bookmarked & downloaded!
__________________
Yep's First 3 Years in PDF's
HP Z600 w/3GHz 12 Core, 48GB Memory, nVidia Quadro 5800, 240GB SSD OS drive, 3 480GB SSD Sample/Storage drives, 18TB External Storage, Dual 27" Monitors
|
|
|
10-02-2016, 10:49 AM
|
#23
|
Human being with feelings
Join Date: Dec 2015
Location: SE TN USA
Posts: 77
|
That is excellent work Eugen.
I know little of EEL programming, barely know of jsfx syntax. Here is not a suggestion, just something you might consider if you like the idea--
It would probably need allocation of an array of temp memory for the envelope points, unless it is easy to poll previously written track automation events.
You could first scan backwards from the end of file to beginning of file to write/smooth the lookahead envelope, and then scan from the beginning to the end of file to further smooth in the forward direction.
If doing backward-forward smoothing in this fashion, I think maybe you could get away with instant attack, programmed release for each scan direction. If scanning backward instant-attack, 10 ms release or whatever, the release of the backward scan would actually be the lookahead attack of the final envelope after both the backward and forward passes have been completed.
And then the second scan, the forward instant attack, programmed release scan, would keep the "attacks" established by the backwards pass, and add the conventional release behavior.
Maybe you could keep the current attack and release user interface controls-- Merely that the user-entered value for attack would actually be used as the release value of the first backwards scan.
|
|
|
10-02-2016, 12:06 PM
|
#24
|
Human being with feelings
Join Date: Jun 2015
Posts: 685
|
Quote:
Originally Posted by amagalma
Eugen, could you add the ability to change values using the mousewheel? Thanks 
|
Not sure that'd work very well, as the script would update on every mwheel event, which would be a lot. I might be wrong though. One could also probably limit the interval of the update too.
Last edited by Sju; 10-25-2016 at 10:44 PM.
|
|
|
10-02-2016, 08:57 PM
|
#25
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,619
|
super nice... thank you kindly
|
|
|
10-03-2016, 12:34 AM
|
#26
|
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,196
|
hmm
I wonder if this script could be tweaked to do upwards compression too?
Whereby, peaks are left alone and the quiet bits are turned up rather than the peaks turned down
That would be very cool too!
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
|
|
|
10-11-2016, 01:35 PM
|
#27
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
Mini update. Now it supports work with multiple items. And time selection.
|
|
|
10-20-2016, 07:51 AM
|
#28
|
Human being with feelings
Join Date: Oct 2009
Location: France
Posts: 729
|
Very nice, thank you.
|
|
|
10-21-2016, 01:34 AM
|
#29
|
Human being with feelings
Join Date: Apr 2016
Posts: 143
|
Super useful, as usual.
Might I suggest adding noise gate, to be on par with SPK77's script in terms of a workflow? It would be a great addition to process vocals.
|
|
|
10-25-2016, 09:32 AM
|
#30
|
Human being with feelings
Join Date: May 2010
Location: Norway
Posts: 7,318
|
Quote:
Originally Posted by eugen2777
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
|
|
|
10-26-2016, 09:42 AM
|
#31
|
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
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.
|
|
|
10-26-2016, 11:59 AM
|
#32
|
Human being with feelings
Join Date: May 2010
Location: Norway
Posts: 7,318
|
Quote:
Originally Posted by eugen2777
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
|
|
|
10-29-2016, 07:15 PM
|
#33
|
Human being with feelings
Join Date: Dec 2013
Posts: 21
|
This thing is great
|
|
|
10-29-2016, 08:44 PM
|
#34
|
Human being with feelings
Join Date: Dec 2015
Posts: 1,719
|
Call me stupid, but what are the differences and advantages/inconveniences with a classical compressor ?
|
|
|
10-30-2016, 02:00 AM
|
#35
|
Human being with feelings
Join Date: May 2010
Location: Norway
Posts: 7,318
|
Quote:
Originally Posted by eugen2777
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
|
|
|
11-02-2016, 01:05 AM
|
#36
|
Human being with feelings
Join Date: Sep 2012
Location: Living in Portugal but Born in France
Posts: 64
|
Quote:
Originally Posted by eugen2777
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
|
|
|
05-01-2017, 09:57 AM
|
#37
|
Human being with feelings
Join Date: Mar 2017
Location: France
Posts: 624
|
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!
|
|
|
05-01-2017, 01:15 PM
|
#38
|
Human being with feelings
Join Date: Sep 2008
Location: Sweden
Posts: 7,279
|
Quote:
Originally Posted by Regisfofo
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...
|
|
|
05-01-2017, 05:36 PM
|
#39
|
Human being with feelings
Join Date: Nov 2015
Posts: 642
|
Quote:
Originally Posted by Regisfofo
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.
|
|
|
05-01-2017, 06:33 PM
|
#40
|
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,619
|
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?
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 07:28 AM.
|