OSC implementation
Is there a list of commands for putting notes or playback remotely from OSC commands?
Is there a list of commands for putting notes or playback remotely from OSC commands?
Do you still have an unanswered question? Please log in first to post your question.
Comments
There is https://github.com/musescore/MuseScore/blob/3.x/mscore/osc.cpp#L70 and the list of available commands for "
/action/
" at https://github.com/musescore/MuseScore/blob/3.x/mscore/shortcut.cpp#L30In reply to There is https://github.com… by jeetee
Hey Jeetee, thank you but this doesn't say much.
I found a python script with a port number, is it still the same? How can we monitor OSC input in MuseScore?
Also there aren't "/action/" commands in the last link, I'm missing something?
In reply to Hey Jeetee, thank you but… by patriciotics1
All commands in the last link are "
/action
s
/
" commands. If you for example look at the entry for Paste Half Duration you'll notice the shortcut action is called"paste-half"
.Therefor the resulting OSC command would be "
/actions/paste-half
"There is no monitor view of OSC commands received within MuseScore; but you should see them take effect if the connection is ok.
You'll have to check that python script for which port number it uses (no idea which script you're referring to). On MuseScore's side you can just configure the OSC port number in "Edit → Preferences → General" on the bottom right. You might need to restart MuseScore after changing this.
In reply to All commands in the last… by jeetee
Nailed it! The connection between Pure Data and MuseScore is built, now it's time to list the shortcuts.
Thank you jeetee!
In reply to Nailed it! The connection… by patriciotics1
Would you like to describe how exactly you connected pd with musescore? Did you use fudiformat or oscformat and udp or tcp? How for example should look the command for 'play'?