steirische Harmonika Pluginmaken

• Jun 18, 2020 - 19:43

Hi, Could someone explain to me how to put a note in a score, by pressing a key in the yellow or green keyboard see "Harmonika-1.png". That note would get a different place in the score, for example: by pressing the first button (Eb ') in the yellow keyboard in the fourth row, it would be placed in place (xA) in the score, another example: by in the green keyboard in the second row pressing the third button (G) it would be in place (C ') see "Notenbalk.png" and so on for all the buttons. Thanks in advance to help Greetings Gust

Attachment Size
Harmonika-1.png 159.49 KB
Notenbalk.png 111.75 KB

Comments

In reply to by jeetee

I can't put the "La" in the score yet, what else do I have to add to write it to score

// Fourth row Pull //
Rectangle {
x: 150; y: 30
width: 40
height: 40
radius: 40
color: "lightcoral"

 Text {
            anchors.centerIn: parent
            font.pixelSize: 25
            fontSizeMode: Text.Fit
            text:"Eb'"    

             MouseArea {
        anchors.fill: parent
        propagateComposedEvents: true
        onClicked: {
            console.log("La")
            mouse.accepted = false
            }
            }

}

In reply to by gustebus10

I'm sorry, but I currently do not have the time to spare to write your plugin code.
As a plugin with a simpler note addition method, you could have a look at the random and random2 plugins that come with MuseScore. Those enter a new score by using the cursor methods.

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