On 23.04.2025 17:04, Will Godfrey wrote:
There is no need for presets to distinguish between Zyn and Yoshi as there
are only clips from effects or instruments (not full parts).

On 23.04.25 18:21, Kristian Amlie wrote:
I think there are some differences in instrument data, in particular the
imported voices feature in ADSynth. I don't think that was ever ported to Zyn.

My hunch is that it probably still works correctly, because it attempts to read
those Yoshimi-specific things from the XML even if the type is set to Zyn.
But setting the type to Zyn is technically wrong, I believe.

While looking much more into the details how those version numbers are evaluated
and what information is actually used in the core code, I'd propose a slightly
different view angle (and thus different terminology)...

It is not so much about "Zyn Format" vs "Yoshimi Format".
Because we always generate Yoshimi Format, and we try to extract the
extra information used by Yoshimi whenever possible.

Rather, it is about offering some degree of *Zyn compatibility*.

The doctype and root for Zyn is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ZynAddSubFX-data>
<ZynAddSubFX-data version-major="3" version-minor="0"
ZynAddSubFX-author="Nasca Octavian Paul"
Yoshimi-author="Alan Ernest Calvert" Yoshimi-major="1" Yoshimi-minor="5">


You see: even if we offer a compatible flavour, we add our own extended
information. But if we use our own DOCTYPE ("Yoshimi-data") and an entirely
different root element, we clearly move away (and it would be up to the
Zyn codebase to attempt to be compatible to Yoshimi).


So the point in question is rather: what we store through the UnifiedPresets
and thus also what we place into the Clipboard is marked as Zyn-compatible.

Is this intentional? Do we want/need it to be this way?


-- Hermann

PS note: I am not talking about instrument files.
For these we have different file extensions and we have config options,
so it's basically the user's choice to store compatible (or not).



_______________________________________________
Yoshimi-devel mailing list
Yoshimi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel

Reply via email to