The situation:
I created a synth. v1.x has stereo output. VST 2.4.
v2.x comes with an additional drum sequencer. In some cases it would make sense to have more than the stereo output. Plugin ID of both versions are the same to maintain downward compatibility.
What i think could happen:
Some/many/all hosts could freak out when an old project is loaded and the number of outputs setNumOutputs(2) for the synth has changed to setNumOutputs(4);.
Does it break compatibility with old projects?
Have you made experiences with this?
Do you have ideas how it could be solved in an elegant way?
Thanks in advance,
Markus
Additional outputs for synths - downward compatibility
- KVRAF
- 1752 posts since 2 Jul, 2018
https://www.tone2.com
Our award-winning synthesizers offer true high-end sound quality.
Our award-winning synthesizers offer true high-end sound quality.
- KVRAF
- 8476 posts since 12 Feb, 2006 from Helsinki, Finland
I've done this plenty of times with unreleased prototypes (often to add/remove debug outputs for internal signals while developing) and I don't think it ever broke any project in FL, but honestly no idea what it would do in any other host.Markus Krause wrote: Sat Nov 02, 2019 9:24 am Does it break compatibility with old projects?
Have you made experiences with this?
Do you have ideas how it could be solved in an elegant way?
This is probably not a terribly useful answer to your question, except as far as "it might work in some hosts just fine."
If you have a bunch of hosts installed for testing, I'd probably just throw together some quick AGain type plugin, setup some projects and then add another output, see what happens?
-
Richard_Synapse Richard_Synapse https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=245936
- KVRian
- 1187 posts since 20 Dec, 2010
It is certainly possible that some hosts may crash or produce unexpected results because extra data per channel is saved that is not present after the change. I would expect most hosts to handle the change gracefully, however.Markus Krause wrote: Sat Nov 02, 2019 9:24 am Some/many/all hosts could freak out when an old project is loaded and the number of outputs setNumOutputs(2) for the synth has changed to setNumOutputs(4);.
Markus
Richard
Synapse Audio Software - www.synapse-audio.com
