- (Only in Linux and macOS) Install
socat
if it is not already installed:sudo apt install socat
in Debian based distros orbrew install socat
in macOS Homebrew - (Only in Linux and macOS) Install
mpv
media player:sudo apt install mpv
in Debian based distros orbrew install --cask mpv
in macOS Homebrew. - (Only in Windows) Install latest PowerShell here: https://github.com/PowerShell/PowerShell#get-powershell
- Download the latest repo release from here and unzip it (you can also perform
git clone
if you have git installed) - Copy the
mpvplaytime
folder to your MuseScore plugins folder (see here for more info) - Restart MuseScore 3 (only MuseScore 3 is supported until MuseScore 4 is compatible with QProcess calls in plugins API)
- Set a shortcut, as
Alt+D
(orCmd+D
in macOS) for the mpvplaytime plugin inPlugins -> Manage Plugins
menu. - (Only in Linux and macOS) Run
unix-mpv-setup.sh
script to setup thempv
player (see the script for more info).
- Open a score in MuseScore 3
- Open an audio performance in MPV player. For Windows users, use the already bundled
mpv.exe
in thempvplaytime/mpv-*-x86_64
folder. For Linux and macOS users, use thempv
command in the terminal or in the apps dashboard (Launchpad). - Toggle duration display in the player by pressing
Shift + O
keys (not needed if you are usingmpv
in a terminal). - Follow along the score in MuseScore while listening the real performance and tag the time you want to mark with
Alt+D
(orCmd+D
in macOS)
- For some reason, Linux is not able to create the text in the score using the
cursor
class. A workaround is being researched. - The plugin is not able to detect if the performance is being played in MPV or not. So, if you press the shortcut while the performance is not being played, the plugin will still create an empty text in the score. A workaround is being researched.
This plugin is licensed under the MIT license. See the LICENSE file for more info. The included mpv
media player build for Windows is licensed under the GPLv2 license. See the mpvplaytime/mpv-*-x86_64/doc/manual.pdf
file for more info.
This code has been developed under the Multiscore project, I+D+i PID2020-118447RA-I00, funded by MCIN/AEI/10.13039/501100011033. Some of the computing resources used in this project are provided by Valencian Government and FEDER through IDIFEDER/2020/003.