Closed martinfabian closed 3 years ago
Another example, I renamed ReaEQ to the not-so far-fetched:
ReaEQ/cut below 200/above 2000
This shows as "above 2000"
This needs to be reworked, we cannot rely on the type being in the name, since the user may have renamed the FX. The type can be found by plug_type = reaper.TrackFX_GetIOSize(track, fx)
, and here we know that 2 == JS
and 3 == VST,
but the others (VSTi, video) need to be found out by experimentation.
FX type numbers seem to be:
JS == 2
VST == 3
VSTi == 3
video processor == 6
DX == ?
DXi == ?
This was partly fixed in v0.9.7, except for DX/DXi since I have no idea what Reaper returns for.
When FX type (JS: VST: VSTi:, VID:) is shown, that is, when MFXlist.SHOW_FXTYPE == true, then all FX that do not have teh type in their name are given the suffix "VID:", which means that they show as Video processor FX. However, when the user has renamed an FX, the prefix may have been removed, and then two things:
Also, for the video processor "Equirectangular/spherical 360 panner - video processor", the "Equirectangular/" is removed due to the pruning of the FX name that Gavin implemented. The same happens with "Shadow/midtone/highlight RGB adjust - video processor", and "Brightness/Contrast - video processor", and maybe others.
Personalty I do not see the use of having these prefixes in MFXlist, but people have asked for it, and Gavin made a pull request with a solution to it, so apparently some people find it useful. It is a bit of a hassle, though.