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
"Play Cut Preview" does not exit "play mode" #3792
After using "Play Cut Preview" (shortcut "C"), the Play button remains "down", and non-realtime effects are greyed out.
Steps to reproduce
Generate a 30 second Chirp
Select a couple of seconds near the middle of the chirp
Press "C"
Expected behavior
Playback to start before the selection, then skip the selection and continue playing for a short while and then "Stop" (the playback button returns to "up")
Actual behavior
Playback to start before the selection, then skip the selection and continue playing for a short while and then playback stops but the Play button remains "down" (still in "play mode").
Audacity Version
latest stable version (from audacityteam.org/download)
Tested on Windows 10.
Testing on different selections showed that this bug occurs often, but on some selections it doesn't occur.
This bug also occurs often, but not always on the following commands on the Transport sub menu of the extra menu:
Play before selection start
Play after selection start
Play before selection end
Play after selection end.
I so far haven't seen the bug on the commands:
Play before and after selection start
Play before and after selection end
Now on retesting on 3.2.1 and latest 3.3 alpha audacity-win-3.2.2-beta-20221006+df0ffd2-x64-msvc2022
I can get this to reliably happen with a 3 minute stereo song:
a) if I select the whole track
b) if I select some audio from the start of the track
c) if I select some audio from the end of the track
d) If I select most of the track without involving the start or end points - 2 minutes worth does thgis - but a one minute selection works ok
Update
Testing on W10 shows that this is a regression on 3.1.3 (introduced on 3.2.0)
Further update
I confirm @DavidBailes David's findings re the Extra>Transport>Play ... commands
Having all these play commands which often do not exit play mode is very unhelpful to users of screen readers, who do not have access to the visual indication that Audacity is unexpectedly stuck in play mode.
Having all these play commands which often do not exit play mode is very unhelpful to users of screen readers
I suspect that they are not very useful to most normally sighted users - especially since they are (rightly, in my view) hidden away in the normally not exposed Extra menu. I, for one certainly never use them.
But I thought that the fundamental purpose of the Extra menu that @JamesCrook was to provide a set of commands for VI/unsighted users so that thy could access them via assigning keyboard shortcuts to the ones they needed most as well as access to the Extra>Transport>Play... commands in the menu via screen readers.
I think the point that David is making is that those commands "should" exit play mode. The fact that they don't, is extremely unhelpful (and quite ironic considering that the existence of many those commands is primarily to help VI users).
Activity
petersampsonaudacity commentedon Oct 10, 2022
I cannot reproduce this on W10 with 3.2.1
nor with the latest 3.3.0 alpha build that I have: audacity-win-3.2.2-beta-20221006+df0ffd2-x64-msvc2022
DavidBailes commentedon Oct 10, 2022
Tested on Windows 10.
Testing on different selections showed that this bug occurs often, but on some selections it doesn't occur.
This bug also occurs often, but not always on the following commands on the Transport sub menu of the extra menu:
Play before selection start
Play after selection start
Play before selection end
Play after selection end.
I so far haven't seen the bug on the commands:
Play before and after selection start
Play before and after selection end
petersampsonaudacity commentedon Oct 10, 2022
Ah yes @DavidBailes ...
Now on retesting on 3.2.1 and latest 3.3 alpha audacity-win-3.2.2-beta-20221006+df0ffd2-x64-msvc2022
I can get this to reliably happen with a 3 minute stereo song:
a) if I select the whole track
b) if I select some audio from the start of the track
c) if I select some audio from the end of the track
d) If I select most of the track without involving the start or end points - 2 minutes worth does thgis - but a one minute selection works ok
Update
Testing on W10 shows that this is a regression on 3.1.3 (introduced on 3.2.0)
Further update
I confirm @DavidBailes David's findings re the Extra>Transport>Play ... commands
petersampsonaudacity commentedon Oct 10, 2022
See also: The playhead stuck at the end of a clip while playback is running#2453
DavidBailes commentedon Oct 11, 2022
Having all these play commands which often do not exit play mode is very unhelpful to users of screen readers, who do not have access to the visual indication that Audacity is unexpectedly stuck in play mode.
petersampsonaudacity commentedon Oct 11, 2022
I suspect that they are not very useful to most normally sighted users - especially since they are (rightly, in my view) hidden away in the normally not exposed Extra menu. I, for one certainly never use them.
But I thought that the fundamental purpose of the Extra menu that @JamesCrook was to provide a set of commands for VI/unsighted users so that thy could access them via assigning keyboard shortcuts to the ones they needed most as well as access to the Extra>Transport>Play... commands in the menu via screen readers.
SteveDaulton commentedon Oct 11, 2022
I think the point that David is making is that those commands "should" exit play mode. The fact that they don't, is extremely unhelpful (and quite ironic considering that the existence of many those commands is primarily to help VI users).
Paul-Licameli commentedon Oct 13, 2022
Relliable steps to reproduce might need very precise selection starts and lengths in samples.
SteveDaulton commentedon Oct 13, 2022
Mostly it fails for me, but yes it does appear that with some selections it exits playback mode correctly, and with others it doesn't.
I've posted a minimal example for you here: https://forum.audacityteam.org/viewtopic.php?f=70&t=127326#p457359
The difference between the regions marked "Works" and "Fails" is one sample.
DavidBailes commentedon Oct 25, 2022
If my PR #3844 tests OK, then it would be good if this fix was included in 3.2.2, as it is a very unhelpful bug for users of screen readers.
1 remaining item
petersampsonaudacity commentedon Oct 25, 2022
Testing on W10 with @DavidBailes 's branch build with the the fix for this: audacity-win-3.3.0-alpha-20221025+77e4692-x64
This now works properly with
and also
@crsib @LWinterberg
And I agree with David's request that if possible this fix should be pulled into 3.2.2 maintenance release
miller-panda commentedon Oct 31, 2022
Tested and verified in David Baile's branch on windows 10 and noted the various transport options are properly exiting play mode.
Branch tested: https://github.com/DavidBailes/audacity/actions/runs/3327612104