How to know when a new buss is ready to get data?
Posted: 21 Nov 2024, 22:32
In my wkp, I use LOADPATCH to load a new patch that hosts a vst. Then I want send it a LOAD FROM FILE DIRECT command. Problem is, in my large workspace (it works fine in a smaller test bed) it seems like there is a delay before the busses get connected, so the LOAD FROM FILE command doesn't go through, and the process stops. I already discovered I couldn't trust the 'patch loaded' flag in the load patch module, because even though the patch is loaded, there are busses not ready to send --specifically one that gives the load from file its path. So now I wait for the send buss to send out before trying to load from file.... but apparently the recieve for the load file trigger still isn't ready, and I can't figure out how to know when it will be...
Thoughts??
Thanks!
-eric
Thoughts??
Thanks!
-eric