On Wed, 30 Apr 2025 09:31:26 +0200 Kristian Amlie <krist...@amlie.name> wrote:
>On 30.04.2025 00:25, ichthyo wrote: >>> 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? > >Hmm, copy-pasting between Yoshi and Zyn.. I wonder if anybody does that. >I suppose it has some value, theoretically, but I can't imagine it's common. > >Maybe the best rule to follow is "if it ain't broke, don't fix it", and >keep this one working..? > Some of this is relevant to backward and forward compatibility's *within* Yoshimi versions. For example, I run three machines and they don't all have the same version. My 'music' machine always has a slightly older version - stability matters there! Although we try to retain compatibility with older versions of both Yoshimi and Zyn, there's a practical limit to what we can do, but we should be able to maintain full forward compatibility. Files stored in the clipboard could have a different extension (or even none), but why make that a different (extra) bit of coding? -- Will J Godfrey _______________________________________________ Yoshimi-devel mailing list Yoshimi-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/yoshimi-devel