Discussion of to-dos for Jianpu linked staff based on existing PRs
This is perhaps the latest work about #141581: Add support for Jianpu numbered musical notation.
I haven't posted anything before... But for long, I've been following the PR about Jianpu on Github by byan61 and later the rebased version by ericfont. These two PRs still need improvements and no work has been done ever since.
Now after digging into the codes of current Jianpu implementation, I feel motivated to try to get back on track with this project.
Till now, I have made some improvements according to some suggestions from other users posted in PR's conversations, also with my own ideas(they are listed in the to-dos below). Some of them haven't been finished yet.
Jianpu branch of my fork of MuseScore: https://github.com/songchaow/MuseScore/tree/jianpu
I'll continue to work on this in the future, and I'm looking forward to your suggestions for new to-dos and existing ones.
Thank you for your attention.
(completed, and always will be done) Rebase to current master branch.
(completed) Remove duplicate standard notes displayed in Jianpu staff.
(completed) Replace the font for Jianpu number. (I choose
CHWJP4Cprovided by Rui Fan on this page. I think it's more widely adopted.)
(Fixed) Grace notes don't get smaller in Jianpu staffs.
(Fixed) Locations of underlines are sometimes not correct. Some phenomenon related to this:
(solved) The Jianpu beam incorrectly goes down when the notes go above B.
(solved) The underline's horizontal position is not correct when occurring in grace notes.
(working) The octave dots below numerical notes should be placed below the underline. However they are above the underline in current implementation.
(not started) Current implementation only supports translating an existing standard staff to a jianpu staff. But the feature of real-time editing a standard staff with the jianpu staff changing in sync is also needed.
Things that need discussion
How should Jianpu staff deal with multi voices?
As descripted in the Jianpu manual provided by Rui Fan, Jianpu staff sometimes can be split into different voices temporarily, like this:
Jianpu uses multi staffs to cope with multi voices. Actually, Voices and staffs are somewhat the same concept in Jianpu. I mean Jianpu doesn't seriously distinguish the two.
If we use the voice facility in MuseScore, they will be rendered like this(ignore the rectangles, they are used for debugging). It's different from the convention and I don't know if it's OK.
Jianpu staff doesn't have Clef types.
In Wikipedia example shown below(Amazing Grace), the two notes
5in the first measure are not actually in the same octave.
In terms of standard staff, a Bass Clef would be added at the front of the third staff. But we cannot tell it from Jianpu staffs as they have no clefs.
Maybe we can add an invisible clef in front of Jianpu staff.