|
|
|
07-22-2021, 01:10 PM
|
#1
|
Human being with feelings
Join Date: Apr 2021
Location: Colombia
Posts: 140
|
I need a script to set send volume to inf or 0 value
Hello.
When bussing, sometimes I need to create a send with it´s gain value at inf or at 0. To do so I have to go to preferences/Tracksend defaults and change the value by typing it. Can someone create a pair of scripts like this:
Set send/Track Hardware Output to 0dB
Set send/Track Hardware Output to -inf
That would speed up this process. If this scripts already exists, please point me in the right direction, thanks.
|
|
|
07-22-2021, 03:22 PM
|
#2
|
Human being with feelings
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,921
|
Welcome to the forum!
Are you talking about this setting?
If yes and you have SWS extension installed, try make scripts like this,..
Code:
-- set to +0.0
reaper.SNM_SetDoubleConfigVar("defhwvol", 1.0)
Code:
-- set to -inf
reaper.SNM_SetDoubleConfigVar("defhwvol", 0.0)
Note, if I exit and restart reaper the original value is restored. I've not tested the scripts either, but re-opening preferences does show the scripts changed that value.
|
|
|
07-23-2021, 11:50 AM
|
#3
|
Human being with feelings
Join Date: May 2020
Location: Berlin
Posts: 166
|
This is really interesting. I would love to have the send value to -inf for send effect and +0 for internal buss routing!
I'll try your script soon Edgemeal!
|
|
|
07-23-2021, 02:40 PM
|
#4
|
Human being with feelings
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,109
|
Quote:
Originally Posted by Edgemeal
Note, if I exit and restart reaper the original value is restored.
|
can add
Code:
reaper.BR_Win32_WritePrivateProfileString("reaper", "defhwvol", <thevalue>, reaper.get_ini_file())
and it should persist after Reaper restart.
|
|
|
07-23-2021, 03:32 PM
|
#5
|
Human being with feelings
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,921
|
Quote:
Originally Posted by nofish
can add
Code:
reaper.BR_Win32_WritePrivateProfileString("reaper", "defhwvol", <thevalue>, reaper.get_ini_file())
and it should persist after Reaper restart.
|
Ya nice! For some reason I was thinking the setting was going to get overwritten by REAPER on exit.
|
|
|
07-23-2021, 04:09 PM
|
#6
|
Human being with feelings
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,921
|
Quote:
Originally Posted by Ann-82
This is really interesting. I would love to have the send value to -inf for send effect and +0 for internal buss routing!
I'll try your script soon Edgemeal!
|
Not exactly sure what you're referring to , I'm a light weight DAW user and don't even know REAPER all that well, I just know a handful of things to get by. If I can't find function in REAPER API then I search the Config Variables page, see, Introduction to Config Variables
https://mespotin.uber.space/Ultrasch...l#Introduction , And a great post by nofish on how to enable, disable, toggle some settings, https://forum.cockos.com/showpost.ph...52&postcount=2, should help get started.
|
|
|
08-27-2021, 09:42 AM
|
#7
|
Human being with feelings
Join Date: Apr 2021
Location: Colombia
Posts: 140
|
Quote:
Originally Posted by Edgemeal
Welcome to the forum!
Are you talking about this setting?
|
Yes but what I want is the sends setting. Be able to set it to -inf or to 0 value and assign that script/action to a pair of shortcuts.
Last edited by EduSerra; 03-31-2022 at 08:43 AM.
|
|
|
03-31-2022, 08:52 AM
|
#8
|
Human being with feelings
Join Date: Apr 2021
Location: Colombia
Posts: 140
|
Quote:
Originally Posted by nofish
can add
Code:
reaper.BR_Win32_WritePrivateProfileString("reaper", "defhwvol", <thevalue>, reaper.get_ini_file())
and it should persist after Reaper restart.
|
Can you please be more specific and make it for the send default gain not hardware output default gain, please.
Thanks
|
|
|
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 05:30 PM.
|