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

Audacity Bugzilla



Bug 899 - WahWah effect produces NaNs when resonance set to zero.
WahWah effect produces NaNs when resonance set to zero.
Status: CLOSED WONTFIX
Product: Audacity
Classification: Unclassified
Component: Built-in FX
2.1.0
Per OS All
: P4 Repeatable
Assigned To: Default Assignee for New Bugs
https://sourceforge.net/p/audacity/ma...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-21 08:37 UTC by Steve Daulton
Modified: 2018-08-20 11:51 UTC (History)
5 users (show)

See Also:
Steps To Reproduce:
Release Note:
First Git SHA:
Group: ---
Workaround:
Closed: 2018-08-20 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Daulton 2015-03-21 08:37:44 UTC
Leland reported a divide by zero error:
https://sourceforge.net/p/audacity/mailman/message/33621856/

Problem confirmed and repeatable on Linux.

Initially marked as P4.
Comment 1 Gale Andrews 2015-03-21 10:47:04 UTC
Yes it's cross-platform and not related to length of the selection.
Comment 2 Steve Daulton 2016-12-23 08:50:05 UTC
This bug can be closed as input validation now prohibits setting resonance to zero.
Comment 3 Gale Andrews 2016-12-25 20:08:36 UTC
(In reply to Steve Daulton from comment #2)
> This bug can be closed as input validation now prohibits setting resonance 
> to zero.
OK thanks WONTFIX is nearest to intention I think. 

It might be an idea to comment line 48 in Wahwah.cpp that a setting of 0 causes bug 899, just in case the policy on input validation ever changes.
Comment 4 Steve Daulton 2016-12-26 05:14:31 UTC
(In reply to Gale Andrews from comment #3)
Doesn't "WONTFIX" imply that the problem (bug) still happens but we are are not going to fix it?

That's not the case. The problem (bug) does not happen now.
The problem was because of "divide by zero" when resonance was set to zero. As a value of zero cannot now be set, this bug is FIXED.
Comment 5 Gale Andrews 2016-12-26 20:09:02 UTC
(In reply to Steve Daulton from comment #4)
What I was trying to convey was that WahWah would be able to produce NaN's if validation was removed or made user-specifiable, as has been suggested a few times on the Forum in response to "complaints". 

WahWah would be able to produce Nan's if a developer changed the range to start from 0. Hence why I suggested commenting the code. 

So as titled the bug is I think not fixed. It has perhaps become INVALID, but it was not INVALID to begin with, so I did not want to use that. 

If the title was "Wahwah can produce NaN's", then it's fixed, but I think it better reflects the situation left as is. WONTFIX means NONEEDTOFIX.