Page 4 of 4

Re: Spectrum analysis

Posted: Thu Dec 25, 2014 1:01 pm
by steve
Nyquist will only accept a dot as the decimal separator.

For plugins that have numeric input boxes, the numeric input box is internationalized so that the decimal separator appropriate to the locale is used ("comma" for Russian locale). If necessary, Audacity then converts the decimal separator to a dot before passing the value to Nyquist.

A few plugins use text boxes rather than numeric input boxes for numerical data (usually to work around limitations of the Nyquist plugin interface). Where a text box is used, the input can not be verified during typing for validity of numerical data (all printable characters are allowed). It is then down to the plugin code to verify the data and handle errors.

The new "Spectral edit" plugins use numeric data from the spectral selection. That data is passed to Nyquist as strings (text). The code that does this is new, and it appears that the developer forgot that the conversion from number to string must use a dot. I shall be submitting a patch to fix this shortly.

Re: Spectrum analysis

Posted: Fri Dec 26, 2014 1:59 pm
by Gale Andrews
steve wrote:Nyquist will only accept a dot as the decimal separator.

For plugins that have numeric input boxes, the numeric input box is internationalized so that the decimal separator appropriate to the locale is used ("comma" for Russian locale).
Thanks for the explanation. If I understand correctly, this means that if there is a slider for the control, then it's a numeric input box.

Steve committed a possible fix that works for me on Windows 7, so I suggest you try it. If you don't compile Audacity yourself, a new build has been posted that you can test. Thanks for reporting the problem.


Gale

Re: Spectrum analysis

Posted: Sat Dec 27, 2014 2:46 pm
by юра00
At shot notice, now it (and effect SpectralEditParametricEQ) works. Thank you very much!

Re: Spectrum analysis [SOLVED]

Posted: Sat Dec 27, 2014 5:43 pm
by steve
Thanks for letting us know юра00 (and thanks for reporting the issue). I'll mark this topic as "solved".