Click and Noise-Removal from Voice/Speech-Recording

Effects, Recipes, Interfacing with other software, etc.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Click and Noise-Removal from Voice/Speech-Recording

Post by steve » Mon Jan 10, 2011 8:24 pm

A late reply, but just spotted this when searching for something else.

The error message:

error: bad place form
Function: #<FSubr-SETF: #7edd7b0>
Arguments:
LOFREQ
20
(COMMA 0)
1> error: bad place form
Function: #<FSubr-SETF: #7edd7b0>
Arguments:
HIFREQ
20000
(COMMA 0)
Function: #<FSubr-SETF: #7edd7b0>

is due to a recurring limitation in Audacity where commas (,) are not recognised as decimal separators, even when the system language is a European language that should accept the comma as a decimal separator. This has been fixed numerous times and has broken again an equal number of times. It is currently broken http://bugzilla.audacityteam.org/show_bug.cgi?id=173

The simple workaround is to use a dot (.) rather than a comma (,) as the decimal separator.
Corvinian wrote:when I copy the text content of the noisegate.ny effect to the 'Nymquist commandline'
and click 'Diagnose', the following is returned:
Plug-ins that require user input are not supported by the Nyquist Prompt effect.

The reason for this is that the Nyquist Prompt effect processes the Nyquist code only and not any of the code that is intended for Audacity. The user controls are written into the plug-in as Nyquist comments, so that they are ignored by the Nyquist Interpreter. Audacity "sees" these special comments and produces the appropriate input controls.

An example of a "control" in a Nyquist plug-in could be something like:

Code: Select all

;control thresh "Threshold" real "dB" -20 -100 0
The semicolon at the beginning tells Nyquist to ignore the line (it's a comment)
but Audacity will read that line and produce a "slider widget"
The text in quotes is displayed as the slider control text, so in this case it will produce a slider like this:

Threshold [ -20 ] -------[]----------- dB

and the value entered is given to a variable called "thresh"

If the code is run in the Nyquist Prompt, this code is ignored, so the variable "thresh" has no value assigned, so producing the error:

Code: Select all

error: unbound variable - THRESH
It is possible to get round this problem by adding Nyquist code that will assign the required value.
The code to do this is quite simple:

Code: Select all

(setq thresh -20.0)
This will create a variable called "thresh" and assign the value -20.0 to it.
This would need to be done for each of the ;control lines
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply