Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 2472 - Windows: Initial dropout when recording.
Windows: Initial dropout when recording.
Status: CLOSED WORKSFORME
Product: Audacity
Classification: Unclassified
Component: Audio IO
2.4.2
Per OS Windows (all)
: P2 Repeatable
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-06-06 14:25 UTC by James Crook
Modified: 2020-08-29 11:01 UTC (History)
5 users (show)

See Also:
Steps To Reproduce:
0) With a clean config (Dropout detection is on) 1) Start Audacity (it's not maximised) 2) Generate a 30s chirp (it's mono) 3) Click at about 15s 4) Click record button (it's stereo) 5) After 2 or more seconds, when the tracks have scrolled left, click stop. 6) Observe: A warning 'Recorded audio was lost', along with a new Dropouts label track being created with on drop out at time 29.899025.
Release Note:
Group: Recording *On windows, Audacity may report a dropout at the start of a recording, when there is none.
First Git SHA:
Group: ---
Workaround:
None
Closed: 2020-08-29 00:00:00
petersampsonaudacity: Test‑OK‑Win+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Crook 2020-06-06 14:25:42 UTC
This may be the same bug as 1857, but now with clear steps to reproduce.
This behaviour is 100% repeatable, even though I have a fast SSD.
Comment 1 Peter Sampson 2020-06-07 05:22:56 UTC
Testing on W10 woth Audacity 2.4.2 3b71d1f

I cannot reproduce this om my HP Envy laptop with SSD - WORKS-FOR-ME
Comment 2 Leland Lucius 2020-06-07 14:49:03 UTC
Like Peter, I'm unable to make this happen either, so I tried varying the steps and noticed something else that's odd.

With a clean config
1) Start Audacity (it's not maximised)
2) Change the Host in the Device toolbar from MME to WASAPI
3) Generate a 30s chirp (it's mono)
4) Click at about 15s
5) Click record button

It didn't create a new stereo track as in the original steps and appended the new recording to the chirp track.

The default for "Record on a new track" is disabled, so I would think that that it should have appended even using the original steps.

Why does changing the device host change things???
Comment 3 Leland Lucius 2020-06-07 14:59:50 UTC
(In reply to Leland Lucius from comment #2)
> Like Peter, I'm unable to make this happen either

Forgot to mention that I tried it using an SSD and a good old spinner.  Even modified the steps a bit to use a thumb drive, but could not reproduce.
Comment 4 James Crook 2020-06-07 15:32:49 UTC
Peter - requesting you try it again with released 2.4.1.

The reason is that released 2.4.1 was built by me using MSVC 2017, whereas Leland's and the GitHub builds are built with MSVC 2019.
Comment 5 Paul L 2020-06-07 16:35:00 UTC
Remember that there is an alpha-only command "Detect Upstream Dropouts" at the bottom of the Tools menu and it defaults on.

Do the symptoms persist for you when you turn that off?
Comment 6 James Crook 2020-06-07 16:40:20 UTC
Re Comment 5

No dropout is reported, and no label is produced, if I disable 'detect upstream dropouts'.
Comment 7 Peter Sampson 2020-06-08 04:54:29 UTC
(In reply to James Crook from comment #4)
>Peter - requesting you try it again with released 2.4.1.

Done - and I still cannot reproduce this - WORKS-FOR-ME on 2.4.1
Comment 8 Paul L 2020-06-09 21:59:16 UTC
So this appears to be an intermittent problem, involving "upstream" dropouts only, maybe detecting them spuriously.

"Upstream" dropouts create labels of zero duration and they mean that the portAudio thread that consumes sample data from the sound hardware is falling behind.

Whereas the downstream dropouts are of non-zero duration and mean that the thread that writes samples to disk is falling behind.

Maybe we should disable upstream dropouts?  Or ignore them as possibly spurious, only if they occur in the very first invocation of the audio callback during a recording?
Comment 9 Peter Sampson 2020-06-16 08:55:38 UTC
I still can't reproduce this on my W10 Pc with latest alpha  Audacity 2.4.2 456177a
Comment 10 Peter Sampson 2020-07-15 07:07:58 UTC
And I cannot replace this on my Zurich PC (HP Probook 256 SSD) with 3.0.0

Testing on W10 with Audacity 3.0.0 5bc3ae6
Comment 11 Peter Sampson 2020-07-15 07:09:02 UTC
(In reply to Peter Sampson from comment #10)
"cannot replicate" that is  (darn autokorrekt)
Comment 12 Peter Sampson 2020-08-09 08:09:10 UTC
Testing back in Manchester with latest alpha Audacity 3.0.0 58adb94 on W10 Home Version	10.0.18363 Build 18363

I still can never replicate this - always WORKS-FOR-ME
Comment 13 James Crook 2020-08-29 10:52:15 UTC
Not seeing it in either release or debug with current build(s).
Comment 14 Peter Sampson 2020-08-29 11:01:38 UTC
This may have been unknowingly fixed by other work