surge-synthesizer / stochas

The Stochas Sequencer
https://stochas.org
GNU General Public License v3.0
412 stars 35 forks source link

Transport vs standalone/hosted #38

Open ZwergNaseXXL opened 4 years ago

ZwergNaseXXL commented 4 years ago

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.

rudeog commented 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.

ZwergNaseXXL commented 4 years ago

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.