A Function That Plays Notes

• Jun 2, 2023 - 17:24

Hi,
I am writing a MuseScore plugin that plays a note with a specified pitch, and I plan to define the function as follows:
function playNote(notePitch)
Here, notePitch is an integer between 0 and 127, and each number corresponds to a note pitch value according to this table: https://musescore.github.io/MuseScore_PluginAPI_Docs/plugins/html/pitch…. The body of this function should output the sound of the note. I searched the MuseScore Plugins documentation for such functions but to no avail, and I am new to QML. Can this be done?


Comments

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