A Function That Plays Notes
I am writing a MuseScore plugin that plays a note with a specified pitch, and I plan to define the function as follows:
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?