jpcima / ysfx

Hosting library for JSFX
Apache License 2.0
159 stars 25 forks source link

Sidechain inputs not working? #71

Open valankar opened 1 year ago

valankar commented 1 year ago

I can't tell if this a problem in my DAW (Reason on Windows) or ysfx. The same problem exists with ReaJS.

I'm trying to access the sidechain inputs via spl2 and spl3. It seems these never get any input, and the back of Reason rack shows these channels as gray instead of green like the main inputs. The values just stay 0 in my script.

I posted about ReaJS here:

https://forum.cockos.com/showthread.php?t=277907

But I suspect the problem there is ReaJS. I don't have another DAW to verify this on.

Are spl2/3 accessible with ysfx? Thanks.

valankar commented 1 year ago

Out of curiosity I tried this with ysfx running under Bluecat Patchwork (VST host). In this case it does work, and Patchwork has its sidechain inputs green in Reason. I suspect this an issue with Reason. It seems like it detects whether the VST has sidechain inputs only at initial load. The blank script ysfx initial load only has 2 inputs, and the 4 inputs come only when the script is loaded. Probably Reason doesn't notice this change in inputs once the script is loaded.