Ask for Plugins :notename
I noticed that the notename plugin cannot recognize the symbol for ”note. rest“. How can I make the notename recognize “note. rest” and output a '0'。
This is NoteName plugin's website : https://musescore.org/zh-hans/project/note-names
Comments
Well, the notenames plugin names notes, not rests, which don't have a name to begin with.
And this loop in the plugin:
deals with chords only.
In reply to Well, the notenames plugin… by Jojo-Schmitz
Can you add an else statement to make the rest character output "0", like this:
else { // if (cursor.isRest) { // if ( cursor.isRest() ){ // output staff_text "0"
// console.log(cursor.isRest);
switch (voice) {
case 0: text.offsetY = yPos+10; break;
case 1: text.offsetY = yPos+2+10; break;
case 2: text.offsetY = yPos+4+10; break;
case 3: text.offsetY = yPos+6+10; break;
}
text.color= fontColor;
text.offsetX= xPos;
//console.log(text.offsetY+" "+yPos)
// cursor.add(text);
......
In reply to Can you add an else… by davil123
You probably could
I want the rest to output "0". like:
In reply to I want the rest to output "0… by davil123
Then you'd need to modify the plugin and add a code section for rests
note (pun intended) that the output from your image is not from the notenames plugin as 2, 4, 5 are not notenames
In reply to Then you'd need to modify… by Jojo-Schmitz
I'm integrating Chinese Jianpu and I have a new idea for implementing the functionality of Jianpu in MuseScore。I've looked into your previous discussions about jianpu。This is another jianpu music plugin:
https://musescore.org/en/project/jianpu-numbered-notation-0
In reply to I'm integrating Chinese… by davil123
Add this before the
cursor.next
:In reply to Add this before the cursor… by Jojo-Schmitz
Thank you very much !! I still have two problems making the score.
1. How to delete all extra clef information in the score through the MuseScore plugin, and
2. How to make the staff line invisible through the MuseScore plugin.
Can these two functions be achieved through the current MuseScore plugin?
In reply to Thank you very much !! I… by davil123
I don't know for sure whether these things are available to the plugin API, but doubt it.
In reply to I don't know for sure… by Jojo-Schmitz
Sorry I have a bad network, my information may have some time lag
In reply to Add this before the cursor… by Jojo-Schmitz
Can these new two problems be easily implemented in the musescore plugin, and I am very grateful to you for receiving some instructions from you
In reply to Can these new two problems… by davil123
Hi!
1. What do you mean by 'clef information'?
2. The invisible staff lines currently cannot be achieved through plugins, as far as I'm aware
In reply to Hi! 1. What do you mean by … by XiaoMigros
1.clef is (This issue has been solved)
2. It seems difficult to implement the invisible staff lines function through the musescore plugin.It should not be possible at the moment