In any case, the current musicxml2ly problem is about heses. And the heses
note name definition in LilyPond (scm/define-note-names.scm) is correct and
should not be changed.
musicxml2ly must not produce a German "bes", because this clearly should be
"heses"

Here's the coding for German pitch names:


Replacing generic "hes" by "b" is OK, but, that way, generic "heses" will
become "bes", wich is clearly wrong and will lead to the error observed.

So obviously, it's a problem with *python substring replacement*.
I don't know much about python, but replace() doesn't seem to work out here.
Probably only a direct string comparison will help here, perhaps someone
knowledgeable has a more elegant solution.




dak wrote
> That looks almost like something I could work with, except for beh .
> For all other note names, the suffix -eh indicates _lowering_ by a
> quarter note, whereas beh _raises_ b by a quarternote.  Shouldn't it
> rather be heh , making b the _only_ exception?


Yes, "beh" should definitely be "heh".

In my never ending triple-flat-issue 3356, here are the triple flat/sharp
range German note names:
The incorrect original beh has been replaced by the correct heh:
"beh" hasn't even been kept because it is inherently inconsistent:



All the best,
Torsten




--
Sent from: http://lilypond.1069038.n5.nabble.com/Bugs-f58488.html

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to