Open ZwergNaseXXL opened 4 years ago
Hi, To clarify the play button: play button in standalone mode only makes sense when set to instant (in the patch options tab). In VST mode, the play button can be used to start and stop stochas either instantly or quantized to certain intervals. So saving a patch from standalone and using it in vst mode (or vice versa) has the one effect that you might end up in a play mode that doesn't make sense and will have to change the play mode on that tab. It might be worth changing the code to reset the play mode to something more appropriate for VST/standalone when applying a patch. Or even to only allow instant mode when in standalone. The reason I left the play modes in for standalone is that I anticipate that we might add external sync for playback and then it will make more sense at that point. I will leave this open and give it more thought.
Ah, silly me, I totally missed those buttons and so I ended up editing the .stochas file to "fix" the situation. But on the other hand I was wondering if it's possible to sync playback start with the host... It might be more obvious if in the UI the play mode buttons were closer to the play button.
save a patch in standalone Stochas
load the patch in VST Stochas
VST stochas now has a play button, which kinda works, but is inconvenient, because you always have to press play twice, namely in the host and in the plugin (at least in Ableton)
now save a patch in VST Stochas
load that patch in standalone Stochas
standalone Stochas now doesn't have a play button anymore, but starts running automatically
If you inspect the patch files, you'll find that all of this behavior is caused by
<autoplay val="0"/>
or<autoplay val="1"/>
, respectively. I would expect Stochas to behave consistently regardless of the current patch loaded. That is, transport controls only in standalone mode, but not in VST mode.