Jianpu plugin

• Mar 2, 2019 - 21:54

In Musescore 2, I made frequent use of a numbered musical notation ("jianpu") plugin. It no longer is available to me with the release of Musescore 3. How might I restore this function?


In reply to by tcbnhrs

As far as I understand the issues listed in the plugin's page, they can be resolved in MuseScore 3. Automatic placement for any given element can be disabled from a plugin by setting its autoplace property:
el.autoplace = false;
so autoplacement can be disabled for the added notation elements and, if necessary, for all the other elements programmatically.

tieBack property will be added back in MuseScore 3.3 so the issue with ties should be able to be resolved since that version.

In reply to by tcbnhrs

Given a part of Shakuhachi Notation plugin as an example, you can disable autoplacement for the added text element just before (or after) you add it:

var text = newElement(Element.STAFF_TEXT);
// some code goes here
text.autoplace = false;

Disabling autoplacement for other elements shouldn't actually be needed if your only goal is to make Shakunachi notation elements be placed at fixed positions, but if you still need it you can disable it for them too. The actual code would differ depending on which exactly elements you need to handle, but 3.3 version will, again, simplify that allowing to disable the autoplacement for the whole selection with a simple loop over the selected elements:

var elements = curScore.selection.elements;
for (var i = 0; i < elements.length; ++i) {
    elements[i].autoplace = false;

But, as I said above, it should be sufficient to disable autoplacement only for the added elements so I would recommend to try doing only that part first.

In reply to by tcbnhrs

I am very new to Musesore and the Jianpu plug-in. I just learned to use basic features of Musescore v3. I now want to compose in Jianpu (Numbered notation). I downloaded the plug-in: Jianpu_Numbered_Notation_v333.qml and copied it in the "Plug In" directory of the Musescore3 installation (Windows). I then use the Musescore Plug-in management menu to load it and it now appears in the GUI. I loaded a normal piece of song score, and ran the plug in. I expect it to convert it to Number notation. Is this not how it work? Or I must start a new piece from the beginning? Can you provide a simple step by step outline on how to create my first piece of Jianpu music?
Your time is appreciated.

In reply to by tcbnhrs

Thank you very much for the Jianpu plugin. I am using the latest version v344W and my Musescore version is I use the function "1 starts from (MIDI number)" to set the starting of 1 for different key signatures. However, the octave marks are wrong for some notes in some key signatures. They are highlighted in red in the attached Test.mscz. Please check if I use the plugin wrongly.

Attachment Size
Test.mscz 24.8 KB

I need some tweaking like this
1. The line to represent notation 8th, 16th etc is placed above numbered notation, not below numbered notation
2. The dot to repsresent octave higher is placed above number,
3. The dot represent octave lower is placed below number.

I attach the numbered notation we usually used in my country.
Are there any possibility to tweak this? Thanks

Attachment Size
my heart will go on.JPG 352.84 KB

In reply to by Odod

Hi Odod....I have been a Musescore user since years and have recently felt the need to transcribe into gamelan notation (for an Indonesian group project I'm working on). I tried some other options including the Erhu but they are not suitable. I finally stumbled upon this thread and watched the video link at your comment. Would you mind sharing the plug-in you're using with me.
Will be extremely grateful if you can support me with this.

In reply to by tcbnhrs

I am hoping someone would create a version of MuseScore dedicated for numbered score and not a hack. The current method of superimposing the numbers on top of the standard notes is great for learning to read music scores, but the original score is a distraction. My singing group uses MuseScore generated sheets to sing, and most of us can only read numbered notation (Jian Pu or 简谱)

In reply to by Foodie888

In Japan, numbered notation is rarely used. I made a slightly improved plug-in for shakuhachi notation because of requests for it from Taiwanese people and others.
A friend of mine is making a software, "JapoScore", which can output music notation for Shakuhachi, Koto, Shinobue, etc. using MusicXML output of MuseScore.

In reply to by tcbnhrs

Hi, is there a way to delete the entire jianpu at once? I need to delete the jianpu notation, transpose some things, and then re-add the jianpu later. This is because I also notice that when I change the notes on the western notation, the jianpu numbers do not change... Thanks!

In reply to by Coky Jazz

First of all, my thank to @tcbnhrs for all his work to make the plugin work in Musescore v3.4+.
I second to this commet. This is also the common form people here are used to. I personally don't use Jianpu, but there are many cases that I have to generate Jianpu for those who can only read it. It would be nice if the Jianpu plugin could do that.

apparently the modified plugin does not work in Musescore 3, because it cannot change the dot position on top or bottom

In reply to by Odod

If you explain in more detail exactly what you have trouble doing, someone can probably help. From this brief description, I'm guessing you need to change the "placement" property from above to below or vice versa, or perhaps you need to adjust the vertical offset, perhaps even disable autoplace although normally that shouldn't be needed or even helpful.

In reply to by tcbnhrs

The changes based on Jianpu_Numbered_Notation_v34.qml
1. The QML code is ready for future translating. No functional code is modified. (QMLコード将来翻訳準備完了。翻訳必要的命令コード変更済,機能性変更無)
2. Added some translation utilities to the translation folder. Instructions are attached. (翻訳実用性道具加入済,説明書付)
3. Created translation for Chinese. (中国語翻訳創製済)

Attachment Size
jianpu.zip 15.81 KB

Do you still have an unanswered question? Please log in first to post your question.