You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MIDI playback starts from beginning regardless of cursor position #2359
Describe the bug
MIDI playback starts from beginning of the MIDI track regardless of cursor position and then plays only for the duration of the time from cursor position to end of track,
Happens both with normal Play and with Timeline Quickplay.
This is a regression on 3.0.5
To Reproduce
Steps to reproduce the behavior:
Import a MIDI track
position the cursor partway though the MIDI track
Press Play
Observe: Audacity plays from the beginning of the MIDI track ignoring the cursor position - but the visuals are correct
Click in the Timeline partly through the time-span of the MIDI track
Observe: Audacity Quickplays from the beginning of the MIDI track ignoring the cursor position - but the visuals are correct
Expected behavior
Playback should start from where the cursor is either in the track for Play or in the Timeline for Quickplay
Screenshots
None
Additional information (please complete the following information):
OS: W10 and macOS 12.0.1 Monterey - so assume all OS
Version: Audacity 3.1.3-3.1.0
Additional context
Scrubbing is not affected as you cannot scrub MIDI tracks in Audacity.
Note that we have had no user complaints about this since the 3.1.x series was released, which indicates that MIDI playback is not commonly used,
I'm going to note that I ran into this a few days ago and was planning on reporting it when I had more time - it's also worth noting that playback works correctly when you have a selection; it just fails when you have an offset cursor position but no selection.
Activity
LWinterberg commentedon Dec 30, 2021
I wonder if @Paul-Licameli's big fix for #2081 resolves this.
Pokechu22 commentedon Dec 30, 2021
I'm going to note that I ran into this a few days ago and was planning on reporting it when I had more time - it's also worth noting that playback works correctly when you have a selection; it just fails when you have an offset cursor position but no selection.
petersampsonaudacity commentedon Jan 4, 2022
Report today from a user on the Forum
https://forum.audacityteam.org/viewtopic.php?f=46&t=122606&p=442838
Penikov commentedon Jan 21, 2022
Confirm in 3.2
petersampsonaudacity commentedon Feb 9, 2022
See also: Audacity hangs on Stop when playing MIDI that has notes before T=0 #2539
petersampsonaudacity commentedon Sep 14, 2022
Still the case on W10 with 3-2-0 Beta
But note that this only happens if you have a point selection.
If you have a range selection the the range is properly played.
5 remaining items
kryksyh commentedon Aug 18, 2026
@LWinterberg not that fast Leo! :D
Fix freeze when double-clicking timeline with a midi track present (#…
chinakov commentedon Aug 19, 2026
This is done, thanks!