Closed juyaolongpaul closed 4 years ago
Hi Yaolong,
I have finally fixed the problem(!), which was of course that the converter was only tracking one figure per note. I enabled multiple figures per note with commit https://github.com/craigsapp/humlib/commit/339f1509ac36881cf533de686f1a1c75a380f135
Now the output for the test input data is:
!!!COM: Bach, Johann Sebastian
!!!OMV: Allein zu dir, Herr Jesu Christ
!!!OTL: Allein zu dir, Herr Jesu Christ
**kern **fb **kern **kern **kern
*part4 *part4 *part3 *part2 *part1
*staff4 * *staff3 *staff2 *staff1
*I"Voice * *I"Voice *I"Voice *I"Voice
*I'V * *I'V *I'V *I'V
*clefF4 * *clefGv2 *clefG2 *clefG2
*k[] * *k[] *k[] *k[]
*M4/4 * *M4/4 *M4/4 *M4/4
4A . 8AL 4e 4cc
. . 8BJ . .
=2 =2 =2 =2 =2
4E 6 8cL 8eL 4g
. . 8BJ 8dJ .
4F 5 3 4A 8cL 8aL
. 6 4 . 8dJ 8bJ
8EL 6 4G 8eL 8ccL
8DJ . . 8fJ 8ddJ
4C 5 8GL 4g 4ee
. 6 8AJ . .
=3 =3 =3 =3 =3
4G . 8B 4.g 4dd
. . 16ALL . .
. . 16BJJ . .
4A 7 8cL . 2cc
. #6\ 8dJ 8f#X .
4G 6 4 4e 4g .
4G 5 3 4d 4g 4b
=4 =4 =4 =4 =4
2C; . 2e; 2g; 2cc;
4r . 4r 4r 4r
4C . 4c 4g 4ee
= = = = =
*- *- *- *- *-
!!!system-decoration: s1,s2,s3,s4
which renders with verovio as:
Comparing to the display in MuseScore, no figures seem to be dropped now. Within an hour or so, you should also be able to drag-and-drop a MusicXML file with the figured bass onto the VHV webpage to convert to Humdrum with the correct figured bass.
Hi Craig,
Thank you so much for your help! It worked. :)
This is the MusicXML file:
This can be rendered by MuseScore 2.3.2 like this:
This is the resulting **kern file using musicxml2hum to convert:
This can be rendered by Verovio Humdrum Viewer like this:
As you can see, there are two problems:
#6|
in **kern, not6\
).Thank you for the help!