Old 09-10-2015, 10:48 AM   #1
babag
Human being with feelings
 
Join Date: Nov 2009
Posts: 2,232
Default req: eel for input of env point in various formats

i'm working with a template for which i have reacomp set up as a side-chain. i want to be able to adjust the envelopes for its parameters by dropping in a new point and entering a value for it. the placing of a point is fine but there is an issue with setting the values. reaper sets envelopes in its own numerical system but the reacomp parameters are displayed (and thought of by probably just about all users) in varying formats:

threshold = db
precomp, attack, release = ms
ratio = i don't know what (db?)
lowpass/hipass = hz

other plugs my have others. i could really use a simple script that would set a point's value based on each of these types. could be one script with choices, could be a series. as a series they might integrate better into custom actions.

anyway, any help on this would be much appreciated. maybe such already exists?

thanks,
BabaG
babag is offline   Reply With Quote
Old 09-10-2015, 12:32 PM   #2
spk77
Human being with feelings
 
Join Date: Aug 2012
Location: Finland
Posts: 2,668
Default

This is actually quite difficult, but seems to be possible:

Set formatted value for envelope point under mouse cursor



It's not working yet - I'll try to post something this weekend
spk77 is offline   Reply With Quote
Old 09-10-2015, 12:41 PM   #3
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,902
Default

@spk77

I was looking at this after seing babag post, but didn't find how to set from formatted value, but it doesn't seems possible...

I wanted to update my script from ReaScript: Set/Offset selected envelope points values with this feature. :P

Let me know if you find a way !
X-Raym is offline   Reply With Quote
Old 09-10-2015, 12:50 PM   #4
babag
Human being with feelings
 
Join Date: Nov 2009
Posts: 2,232
Default

hmm. i'd have expected there'd be a formula to translate each value type to/from reaper format. didn't mean to open a can of worms!

BabaG
babag is offline   Reply With Quote
Old 09-10-2015, 12:50 PM   #5
spk77
Human being with feelings
 
Join Date: Aug 2012
Location: Finland
Posts: 2,668
Default

X-Raym, I'll let you know
(I'm not 100% sure if it's possible to set from formatted value...)
spk77 is offline   Reply With Quote
Old 09-10-2015, 12:50 PM   #6
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,823
Default

VST3 actually has native support for converting a formatted value back to a normalized parameter value, so it should work automatically for any VST3, assuming the plugin supports it.

Additionally, the REAPER extensions to VST2 support this via effString2Parameter. Some 3rd party plugin developers support these extensions (Voxengo for example, I think). Somewhat embarrassingly, among REAPER's built-in plugins, only ReaEQ, ReaSurround, and ReaControlMIDI support the 2-way extension. We'll add support in ReaComp as well.
schwa is offline   Reply With Quote
Old 09-10-2015, 01:11 PM   #7
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 15,823
Default

schwa is offline   Reply With Quote
Old 09-10-2015, 02:17 PM   #8
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,902
Default

@schwa
thanks for the infos !

is there any way to make this work for any kind of plugins (js, au etc...) ? maybe via a function in ReaScript API ?
X-Raym is offline   Reply With Quote
Old 09-10-2015, 02:39 PM   #9
babag
Human being with feelings
 
Join Date: Nov 2009
Posts: 2,232
Default

what are the formula for the various conversions? are they listed anywhere?

thanks,
BabaG
babag is offline   Reply With Quote
Old 09-15-2015, 10:34 AM   #10
babag
Human being with feelings
 
Join Date: Nov 2009
Posts: 2,232
Default

Quote:
Originally Posted by spk77 View Post
This is actually quite difficult, but seems to be possible:

Set formatted value for envelope point under mouse cursor



It's not working yet - I'll try to post something this weekend
anything happening with this? it looks pretty awesome. could really put it to good use here.

thanks,
BabaG
babag is offline   Reply With Quote
Old 09-17-2015, 11:43 AM   #11
babag
Human being with feelings
 
Join Date: Nov 2009
Posts: 2,232
Default

Quote:
Originally Posted by schwa View Post
looks like it's not just reacomp that doesn't work in this respect. tried reagate and it, too, didn't take formatted (db) input. might be good to run through all the reaplugs to see where this behavior happens.

thanks,
BabaG
babag 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 03:50 PM.


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