Old 02-27-2018, 12:30 PM   #1
fundorin
Banned
 
Join Date: Feb 2014
Location: Moscow, Russia
Posts: 554
Default Get First FX insert

It's kinda strange that there's a "TrackFX_GetInstrument" function available, but no "TrackFX_GetFX". I wonder, why is it so?
fundorin is offline   Reply With Quote
Old 02-28-2018, 09:49 AM   #2
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,093
Default

Maybe I'm misunderstanding but TrackFX_GetInstrument() returns the index of the first instrument in the FX chain (i.e. at which position in the FX chain the first instrument is), this would be redundant for GetFirstFX() because the index would always be 0 (or -1 if FX chain is empty).

Or asked in another way: What are you actually trying to do ?

Last edited by nofish; 02-28-2018 at 10:17 AM.
nofish is offline   Reply With Quote
Old 02-28-2018, 03:10 PM   #3
fundorin
Banned
 
Join Date: Feb 2014
Location: Moscow, Russia
Posts: 554
Default

I was trying to select first FX in the FX chain.
fundorin is offline   Reply With Quote
Old 02-28-2018, 04:05 PM   #4
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,093
Default

"SWS/S&M: Select FX 1 for selected tracks" ?
nofish is offline   Reply With Quote
Old 02-28-2018, 04:40 PM   #5
fundorin
Banned
 
Join Date: Feb 2014
Location: Moscow, Russia
Posts: 554
Default

Thanks, but that's not it.
It would select FX 1 for every selected track, while I need to select it only for the first track in selection, or, if no tracks selected, for the first track in the project.

It would also only work when the FX chain is visible.
fundorin 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 08:47 PM.


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