Quote:
Originally Posted by MixMonkey
The indicies are always the same though, right? (every time the same plugin is loaded) and you're sure that they just start at zero with the first name in the FX Param list and increase by one with each parameter? I guess they could be output with the names by FX Param as a check.
|
Yup, always the same unless the manufacturer changes the FX
Here's the actual code that generates the list:
Code:
for(int j = 0; j < DAW::TrackFX_GetNumParams(track, i); j++)
{
DAW::TrackFX_GetParamName(track, i, j, fxParamName, sizeof(fxParamName));
//DAW::ShowConsoleMsg(("\n" + string(fxParamName)).c_str());
rawFXFile << "\n" + string(fxParamName);
}
As you can see, it is definitely zero based, and definitely index based (j = paramIndex).
Also realized we don't need FX Name anymore.
You just have to output the index and then either the name or the alias, if present.