A Function That Plays Notes
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
As mentioned on discord, there is no integrated system for plugins to play sounds.
In reply to As mentioned on discord,… by XiaoMigros
XiaoMigros is correct unfortunately. It's a shame musescore plugin simply cannot generate sound like that.
see also https://musescore.org/en/project/loop-audio-player#:~:text=Notes%20to%2… , the WebEngine workaround works on Musescore 3 windows only AFAIK