Skip to content

MIDI playback starts from beginning regardless of cursor position #2359

Closed

Description

@petersampsonaudacity

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:

  1. Import a MIDI track
  2. position the cursor partway though the MIDI track
  3. Press Play
  4. Observe: Audacity plays from the beginning of the MIDI track ignoring the cursor position - but the visuals are correct
  5. Click in the Timeline partly through the time-span of the MIDI track
  6. 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,

Activity

  1. added
    AU3-bug
    regression
    on Dec 30, 2021
  2. LWinterberg commented on Dec 30, 2021

    @LWinterberg
    Member

    I wonder if @Paul-Licameli's big fix for #2081 resolves this.

  3. Pokechu22 commented on Dec 30, 2021

    @Pokechu22
    Contributor

    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.

  4. added
    MIDI
    P2
    on Dec 30, 2021
  5. added this to the Audacity 3.2 milestone on Jan 20, 2022
  6. Penikov commented on Jan 21, 2022

    @Penikov
    Contributor

    Confirm in 3.2

  7. removed their assignment
    on Jan 21, 2022
  8. petersampsonaudacity commented on Feb 9, 2022

    @petersampsonaudacity
    Author

    See also: Audacity hangs on Stop when playing MIDI that has notes before T=0 #2539

  9. petersampsonaudacity commented on Sep 14, 2022

    @petersampsonaudacity
    Author

    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.

  10. 5 remaining items

  11. kryksyh commented on Aug 18, 2026

    @kryksyh
    Member

    @LWinterberg not that fast Leo! :D

  12. moved this from To-Do to Ready for QA in [AU3] Main boardon Aug 18, 2026
  13. self-assigned this
    on Aug 18, 2026
  14. added a commit that references this issue on Aug 19, 2026
    d320f6f
  15. moved this from Ready for QA to In QA in [AU3] Main boardon Aug 19, 2026
  16. self-assigned this
    on Aug 19, 2026
  17. chinakov commented on Aug 19, 2026

    @chinakov
    Contributor

    This is done, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

AU3-bugMIDIP2regression

Type

No type

Fields

Priority

None yet

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions