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

Audacity Bugzilla



Bug 2049 - ENH: Noise Reduction error message for no selection is unhelpful
ENH: Noise Reduction error message for no selection is unhelpful
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Built-in FX
2.3.1
Per OS Other
: P4 Enhancement
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-12-10 05:32 UTC by Peter Sampson
Modified: 2019-08-09 05:25 UTC (History)
6 users (show)

See Also:
Steps To Reproduce:
1) get some audio 2) make no selection 3) Effect > Noise Reduction 4) observe the error message: >You must first select some audio to perform this action >(Selecting other kinds of track won't work)
Release Note:
First Git SHA:
Group: ---
Workaround:
Closed: 2019-08-09 00:00:00
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 Peter Sampson 2018-12-10 05:32:52 UTC
What is particularly bad is the general error message you get with this effect (the standard generalized error message for all effects):

>You must first select some audio to perform this action
>(Selecting other kinds of track won't work)

Now this message is fine and dandy for all the other effects - but for NR it would be much better if we had a special error message just for that effect, having similar text to the info text in the effect dialog (explaining briefly the two pass process).  Note that currently the user has to make a selection and enter the NR effect to see that instructions in the dialog.


The current generic message may also encourage the user to select the whole audio for NR, not realizing that they need a small noise profile first - and the unwise (or those that don't read) may just use the whole selection as their noise sample

See also Bug #2048 "Slicker Noise Reduction GUI"
Comment 1 Steve Daulton 2018-12-10 06:20:57 UTC
I think it would be better to make this (from a user perspective) a "one pass effect", rather than giving it a custom error message. (See also bug 2048#c3)
Comment 2 Peter Sampson 2018-12-10 06:24:44 UTC
(In reply to Steve Daulton from comment #1)
I agree Steve - but in the meantime until (if ever) we make it a one-pass effect this small change will be a much more "friendly educational message"
Comment 3 Steve Daulton 2018-12-10 06:35:48 UTC
(In reply to Peter Sampson from comment #2)
I don't think that's a very good use of developer time.

The Noise Reduction effect is the last "old style" effect, and there's a ton of old code cluttering Effect.cpp / Effect.h that is there only because it is required by this one effect. The Noise Reduction effect really does need updating, then there can be a substantial clean-up of Effect.cpp.
Comment 5 Peter Sampson 2019-07-29 05:12:27 UTC
(In reply to James Crook from comment #4)
Testing on W10 with audacity-2.3.3-alpha-307-0bd1beae9a92c9753b04c160c0dd649ddd13939d

Looks good on Windows - a much improved and much more helpful error message
Comment 6 Peter Sampson 2019-08-01 08:39:02 UTC
Testing on macOS 10.14.5 Mojave with 2.3.3 Mac alpha jc005 of 01Aug19

On Mac when no selection is made the Noise Reduction effect (as are all non-RTP effects) is grayed out - so no message at all can be seen.

This behavior is different to Windows - is this what we want on Mac ?
Comment 7 Peter Sampson 2019-08-02 05:36:22 UTC
Note that this cannot be tested until Bug #2184 is properly fixed
Comment 8 Peter Sampson 2019-08-09 05:25:29 UTC
(In reply to James Crook from comment #4)
Testing on mac)S 10.14.6 29th 2.3.3. alpha jc006 of 08Aug19

Now looks good on Windows too - a much improved and much more helpful error message