![]() |
#1 |
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
![]()
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. |
![]() |
![]() |
![]() |
#2 |
Human being with feelings
Join Date: Mar 2013
Location: Moscow
Posts: 99
|
![]()
Wow ! This is really cool !
|
![]() |
![]() |
![]() |
#3 |
Human being with feelings
Join Date: Dec 2012
Posts: 13,786
|
![]()
Yay. One of the best scripts ever! Thanks, Eugen.
|
![]() |
![]() |
![]() |
#4 |
Human being with feelings
Join Date: Sep 2008
Location: Illville - Germany
Posts: 972
|
![]()
A
W E S O M E
__________________
REC SPOT // DIYRE colours & 500 series modules |
![]() |
![]() |
![]() |
#5 |
Human being with feelings
Join Date: Jan 2007
Location: mcr:uk
Posts: 3,961
|
![]()
Nice
![]() |
![]() |
![]() |
![]() |
#6 |
Human being with feelings
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,981
|
![]()
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. |
![]() |
![]() |
![]() |
#7 |
Human being with feelings
Join Date: Dec 2012
Posts: 13,786
|
![]()
Did you read the first message from eugen2777?
|
![]() |
![]() |
![]() |
#8 |
Human being with feelings
Join Date: Jun 2006
Posts: 22,737
|
![]()
hey, this is a fantastic script! Thank you so much. I love stuff like this.
|
![]() |
![]() |
![]() |
#9 |
Human being with feelings
Join Date: Sep 2015
Posts: 71
|
![]()
Oh my, Thank you..
|
![]() |
![]() |
![]() |
#10 |
Human being with feelings
Join Date: Jul 2012
Location: Netherlands
Posts: 5,247
|
![]()
Jeeeeeezz !!
|
![]() |
![]() |
![]() |
#12 |
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 4,438
|
![]()
Very very nice!
Interesting AudioAccessor using also. Seems very good in terms of performance (only with EEL, I guess). |
![]() |
![]() |
![]() |
#13 |
Human being with feelings
Join Date: Oct 2007
Location: Lincoln, UK
Posts: 7,981
|
![]() 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. |
![]() |
![]() |
![]() |
#14 |
Human being with feelings
Join Date: Apr 2011
Posts: 3,799
|
![]()
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 are available on ReaPack. If you find them valuable, your support through a donation is greatly appreciated. Thank you! :) Last edited by amagalma; 09-28-2016 at 12:56 AM. |
![]() |
![]() |
![]() |
#15 |
Human being with feelings
Join Date: Sep 2016
Posts: 33
|
![]()
This is great. Thank you!!!
|
![]() |
![]() |
![]() |
#16 |
Human being with feelings
Join Date: Sep 2008
Location: Sweden
Posts: 7,609
|
![]()
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... |
![]() |
![]() |
![]() |
#17 |
Human being with feelings
Join Date: Jun 2012
Location: Spain
Posts: 7,486
|
![]()
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. |
![]() |
![]() |
![]() |
#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.
__________________
ReaScripts Last edited by eugen2777; 09-28-2016 at 02:37 PM. |
![]() |
![]() |
![]() |
#19 |
Human being with feelings
Join Date: Apr 2011
Posts: 3,799
|
![]()
Eugen, could you add the ability to change values using the mousewheel? Thanks
![]() |
![]() |
![]() |
![]() |
#20 |
Human being with feelings
Join Date: Apr 2009
Posts: 318
|
![]()
Fantastic, thanks! Looks like kind of a revolution in workflow, which is coming!
|
![]() |
![]() |
![]() |
#21 |
Human being with feelings
Join Date: Jan 2009
Posts: 1,033
|
![]()
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! |
![]() |
![]() |
![]() |
#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 |
![]() |
![]() |
![]() |
#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. |
![]() |
![]() |
![]() |
#24 |
Human being with feelings
Join Date: Jun 2015
Posts: 685
|
![]()
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. |
![]() |
![]() |
![]() |
#25 |
Human being with feelings
Join Date: Oct 2008
Location: Right Hear
Posts: 15,619
|
![]()
super nice... thank you kindly
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl https://soundcloud.com/hopikiva |
![]() |
![]() |
![]() |
#26 |
Human being with feelings
Join Date: Jun 2009
Location: South, UK
Posts: 14,354
|
![]()
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. |
![]() |
![]() |
![]() |
#27 |
Human being with feelings
Join Date: Aug 2012
Posts: 271
|
![]()
Mini update. Now it supports work with multiple items. And time selection.
![]()
__________________
ReaScripts |
![]() |
![]() |
![]() |
#28 |
Human being with feelings
Join Date: Oct 2009
Location: France
Posts: 831
|
![]()
Very nice, thank you.
|
![]() |
![]() |
![]() |
#29 |
Human being with feelings
Join Date: Apr 2016
Posts: 144
|
![]()
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.
__________________
thirdhemisphere.studio | blog | #mixing:matrix.org chat | awesome-reaper Software: rearchiver, zrtstr, reaper-item-nudger | Scripts |
![]() |
![]() |
![]() |
#30 | |
Human being with feelings
Join Date: May 2010
Location: Norway
Posts: 7,318
|
![]() Quote:
Very good results! But, only first item, and no save/recall settings is not so good for workflow. |
|
![]() |
![]() |
![]() |
#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.
__________________
ReaScripts |
![]() |
![]() |
![]() |
#32 | |
Human being with feelings
Join Date: May 2010
Location: Norway
Posts: 7,318
|
![]() Quote:
Option to use pre-fx vol env. instead of take vol, could be nice as well. |
|
![]() |
![]() |
![]() |
#33 |
Human being with feelings
Join Date: Dec 2013
Posts: 21
|
![]()
This thing is great
|
![]() |
![]() |
![]() |
#34 |
Human being with feelings
Join Date: Dec 2015
Posts: 1,741
|
![]()
Call me stupid, but what are the differences and advantages/inconveniences with a classical compressor ?
|
![]() |
![]() |
![]() |
#35 | |
Human being with feelings
Join Date: May 2010
Location: Norway
Posts: 7,318
|
![]() Quote:
Thank you! Now, a lot to be desired. Presets, hpf, numeric input, normal values, expander, rms-setting. But, it works ![]() |
|
![]() |
![]() |
![]() |
#36 |
Human being with feelings
Join Date: Sep 2012
Location: Living in Portugal but Born in France
Posts: 64
|
![]() |
![]() |
![]() |
![]() |
#37 |
Human being with feelings
Join Date: Mar 2017
Location: France
Posts: 636
|
![]()
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! |
![]() |
![]() |
![]() |
#38 |
Human being with feelings
Join Date: Sep 2008
Location: Sweden
Posts: 7,609
|
![]()
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... |
![]() |
![]() |
![]() |
#39 |
Human being with feelings
Join Date: Nov 2015
Posts: 642
|
![]() |
![]() |
![]() |
![]() |
#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?
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl https://soundcloud.com/hopikiva |
![]() |
![]() |
![]() |
Thread Tools | |
|
|