musescore / musescore/MuseScore
Add a stop button to the playback toolbar
@bkunda is already working on this.
Since Aug 8, 2023.
- Dominant language
- C++
- Stars
- 15.1k
- Forks
- 3.3k
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 91
Description
Your idea
I wish MuseScore had both a pause and stop button. That way users could remap their keyboard shortcuts to allow the space bar to function with play/stop/replay or play/pause/resume behavior at their behest, while also keeping the other behavior available should the user want that action instead.
Problem to be solved
There are any number of cases where a composer may want to listen to the same section without having to do some complicated selection dance to get back to their original starting point. Especially one that is not used to the way navigation and playback operate semi-independently in MS4. I have no idea of the number of times I've hit the home key to move the VIEW back to the top of the score while playback was last paused a dozen bars in and whips me around the score when I unsuspectingly hit space.
Users coming from DAWs may also be surprised by play/pause/resume since most DAWs seem to operate using play/stop/replay by default.
Also users with lower-end or older computers may hear random hiccups in sound during playback (especially with Muse Sounds) and want to simply replay a moment they just heard to make sure the error was in playback and not notation.
Since MuseScore doesn't allow "reselection" of elements (noteheads or bars) that are already selected the only way to return to a previous playback starting point is to select off that point and reselect it. The whole ordeal adds at least 2 clicks to an action I'll easily do 100s of times in a day, and that's assuming I don't miss by a hair and select a note stem or something.
Prior art
Reaper has both stop and pause actions. Space defaults to play/stop/replay while Enter or Ctrl+Space operates play/pause/continue by default but the mapping can easily be reversed. This allows the stop action to always go back to the selected moment while giving the user the option to pause temporarily and continue. These behaviors are also clearly communicated by the location of the playhead on the timeline which either resets itself back to previous or stays put.
Additional context
MuseScore has an available action in Keyboard Shortcut Preferences for "Stop playback" with the appropriate icon and everything, but it is not mapped to anything by default. Even if mapped it doesn't seem to behave any differently from Pause...which has no mapped keyboard shortcut so the whole thing is a bit messy to users trying to figure out how to operate playback.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.