 |
|
|
10-15-2015, 07:28 PM
|
#1
|
Human being with feelings
Join Date: Mar 2007
Location: I'm in a barn
Posts: 4,430
|
reascript -how to manipulate Master FX? Monitor FX?
What do I need to use for 'track' to manipulate fx in the master and monitor fx using TrackFX_SetParam()
*I guess it's 0 for Master - can't get to the monitor FX though it seems, sigh.
Last edited by James HE; 10-15-2015 at 07:55 PM.
|
|
|
10-15-2015, 10:24 PM
|
#2
|
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,855
|
Track = GetMasterTrack()
Track#0 is the first track.
Or did I missed something?
Last edited by mpl; 10-15-2015 at 11:17 PM.
|
|
|
10-16-2015, 12:41 AM
|
#3
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 7,212
|
There is nothing for monitor fx, we already experienced that limitation with heda :/
|
|
|
10-16-2015, 06:51 AM
|
#4
|
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,855
|
X-Raym, yep, manipulating FXCHAIN_REC section in TrackStateChunk is only way to change monitor fx, unfortunately.
|
|
|
07-30-2020, 10:07 AM
|
#5
|
Human being with feelings
Join Date: Jan 2020
Posts: 3
|
Quote:
Originally Posted by mpl
X-Raym, yep, manipulating FXCHAIN_REC section in TrackStateChunk is only way to change monitor fx, unfortunately.
|
Sorry for digging up an old thread, but is it still the case?
... and could you maybe give more details about how to do that?
(I need in a reascript to disable the first monitor FX plugin and enable the second one)
|
|
|
07-30-2020, 10:26 AM
|
#6
|
Human being with feelings
Join Date: Jan 2020
Posts: 3
|
Quote:
Originally Posted by Yat
Sorry for digging up an old thread, but is it still the case?
... and could you maybe give more details about how to do that?
(I need in a reascript to disable the first monitor FX plugin and enable the second one)
|
I actually found a way to do this. If someone looks for this, here's how to do it (Lua):
local master_track = GetMasterTrack()
TrackFX_SetEnabled(master_track, 0x1000000, false)
TrackFX_SetEnabled(master_track, 0x1000001, true)
|
|
|
02-03-2021, 09:50 AM
|
#7
|
Human being with feelings
Join Date: Sep 2019
Posts: 386
|
Michail referred to FXCHAIN_REC section to access Monitor FX settings but there's no such section in the Master track chunk.
Do Monintor FX settings only live in the RAM and get written to the EXE file (don't know if it's possible)? Nothing seems to be saved to external .ini files
Last edited by Buy One; 02-03-2021 at 02:37 PM.
|
|
|
02-03-2021, 03:12 PM
|
#8
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 7,212
|
According to AddByName api function doc, it seems that sometimes monitoring FX can be considered as Rec FX with master track (weird way to access it but I guess was more compatible with other API functions)
Quote:
Adds or queries the position of a named FX from the track FX chain (recFX=false) or record input FX/monitoring FX (recFX=true, monitoring FX are on master track).
|
Maybe it can works with the Get Track FX function by passing master track and trying to reach Rec FX with the trick from Yat
|
|
|
02-03-2021, 06:33 PM
|
#9
|
Human being with feelings
Join Date: Apr 2020
Location: Leipzig
Posts: 2,129
|
My Ultraschall-Api has functions for dealing with Master-Monitoring FXChains, including the more difficult to code ones.
RecFX for tracks are still missing (didn't know bout them til some days ago) but will be added shortly as well.
Doing it via Reaper's own API is in some ways edgecasey and weird in some functions.
|
|
|
02-04-2021, 04:27 AM
|
#10
|
Human being with feelings
Join Date: Sep 2019
Posts: 386
|
I was wrong. Thanks to Mespotine's hint and API found out that Monitor FX chunk is stored externally in reaper-hwoutfx.ini
|
|
|
02-04-2021, 05:57 AM
|
#11
|
Human being with feelings
Join Date: Apr 2020
Location: Leipzig
Posts: 2,129
|
The trackfx for tracks 1 and higher however are stored in the TrackStateChunks as FXCHAIN_REC or 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 03:03 PM.
|