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

Audacity Bugzilla



Bug 1592 - Sound Activated Recording fails when recording meter disabled
Sound Activated Recording fails when recording meter disabled
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Audio IO
2.1.3
Per OS All
: P3 RepeatableAll
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-18 12:34 UTC by Steve Daulton
Modified: 2021-01-28 15:15 UTC (History)
5 users (show)

See Also:
Steps To Reproduce:
1. Set record and playback meters to not show. 2. Attempt to use Sound Activated Recording. 3. Observe: It does not automatically pause when input is below threshold.
Release Note:
GROUP: Playback and Recording * '''Sound Activated Recording mode is disabled if there is no displayed recording meter''' (neither Recording Meter Toolbar or Combined Meter Toolbar). Recording will proceed regardless of the Sound Activation Level threshold and the actual recording level.
First Git SHA:
Group: ---
Workaround:
Closed: 2021-01-28 00:00:00
gale: Regression+
petersampsonaudacity: Test‑OK‑Win+
petersampsonaudacity: Test‑OK‑Mac+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Daulton 2017-02-18 12:34:09 UTC
If the recording meter is disabled  (neither the separate recording or combined meter are enabled), then Sound Activated Recording does not automatically pause when input is below threshold.

Reported on Windows and repeatable on Linux, so assumed to be all platforms.
Comment 1 Gale Andrews 2017-02-18 20:36:49 UTC
(In reply to Steve Daulton from comment #0)
Regression on 2.0.6 where Sound Activated Recording did not require a displayed Meter Toolbar to work. I suppose it scrapes a P3 then. 

On my machines (Windows, Mac, Linux) if there is no input meter then Sound Activation Level is disregarded so that even at 0 dB threshold, signals below 0 dB are recorded "as is" (not as silence which the report http://forum.audacityteam.org/viewtopic.php?p=322539#p322539 seems to imply).
Comment 2 James Crook 2017-05-14 09:37:14 UTC
*** STEPS ADDED ***
Comment 3 Leland Lucius 2021-01-23 05:45:07 UTC
Fixed in:

https://github.com/audacity/audacity/commit/f509d9c

SAR is no longer coupled to the input meter.
Comment 4 Peter Sampson 2021-01-23 11:54:33 UTC
Testing on W10 with Audacity 3.0.0 4e6e3c2

This still does not work

With both meters disabled and regardless of the setting of the Sound Activation Level (including either extreme 0 and -160 (and the default -30) and with the SAR flag set "on" - Recording appears to ignore SAR sound level completely and just continuously records.
Comment 5 Leland Lucius 2021-01-23 19:55:30 UTC
(In reply to Peter Sampson from comment #4)
> Testing on W10 with Audacity 3.0.0 4e6e3c2
> 
> This still does not work
> 
> With both meters disabled and regardless of the setting of the Sound
> Activation Level (including either extreme 0 and -160 (and the default -30)
> and with the SAR flag set "on" - Recording appears to ignore SAR sound level
> completely and just continuously records.

It's working just fine here.  I've disabled both meter toolbars, have my level set to -30 and it doesn't record anything until I feed it some sound through the microphone.
Comment 6 Leland Lucius 2021-01-23 21:38:24 UTC
It even works for me when running Catalina in a virtual machine.  Recording stops when the sound drops below the threshold.

What am I doing wrong???
Comment 7 Peter Sampson 2021-01-24 11:40:29 UTC
Testing on W10 with Audacity 3.0.0 4b07fba

This now works for me

1) I set the threshold t0 -21dB
2) tested SAR with both meters active
3) Observe SAR works only recording loud sounds
4) hid both meter toolbars
5) Observe SAR works only recording loud sounds

So I don't know what was happening yesterday  :-//
Comment 8 Peter Sampson 2021-01-24 11:43:58 UTC
Testing on macOS 11.1 Big Sur with Audacity 3.0.0 4b07fba

This now works for me

1) I set the threshold t0 -21dB
2) tested SAR with both meters active
3) Observe SAR works only recording loud sounds
4) hid both meter toolbars
5) Observe SAR works only recording loud sounds
Comment 9 Peter Sampson 2021-01-28 15:15:47 UTC
Examining the commit for this fix shows that it is not platform-dependent
https://bugzilla.audacityteam.org/show_bug.cgi?id=2639

And as this tests OK on W1- and Mac I shall close this as FIXED