Page 3 of 4

Re: Spectrum analysis

Posted: Wed Dec 24, 2014 5:43 pm
by steve
Please copy and paste the debug information into your reply so that I can read all of it.

Re: Spectrum analysis

Posted: Wed Dec 24, 2014 5:52 pm
by юра00
Excuse me!

Copy and paste

Posted: Wed Dec 24, 2014 6:02 pm
by юра00
error: unbound function - COMMA
if continued: try evaluating symbol again
1> error: unbound function - COMMA
if continued: try evaluating symbol again
2> (1)
2> 2
2> error: unbound function - COMMA
if continued: try evaluating symbol again
3> error: unbound function - COMMA
if continued: try evaluating symbol again
4> error: unbound function - COMMA
if continued: try evaluating symbol again
5> error: unbound function - COMMA
if continued: try evaluating symbol again
6> 1
6> "320227320260320263320260320264320260320271 320266320265320273320260320275320270320265"
6> "wave"
6> "Spectrogram"
6> 2
6> 0
6> 175.589
6> 1
6> 0
6> 48000
6> 32
6> #(((0 175.589)) ((0 175.589)))
6> 0.895508
6> T
6> 0
6> WET
6> RESULT
6> "Please select frequencies."
6> 5> 4> 3> 2> 1>

Re: Spectrum analysis

Posted: Wed Dec 24, 2014 6:02 pm
by steve
It would be easier for me if you would just copy and paste the text into your reply rather than a screenshot.
You can use the "Code" button (above the message composing box) to add code tags around the pasted text, so that it looks like this:

Code: Select all

[code]
pasted text goes here
....
[/code]
which will then look like this when your message is posted:

Code: Select all

pasted text goes here
....

Re: Spectrum analysis

Posted: Wed Dec 24, 2014 6:40 pm
by Gale Andrews
steve wrote:Try this:

1) Open Audacity
2) Generate 30 seconds of "white noise"
3) Change the track to the Spectrogram view (the track is selected)
4) Make a spectral selection from about 4 kHz to about 6 kHz
5) Apply the "Spectral edit multi tool"
6) Open "Analyze > Plot Spectrum"

You should see something similar to this:
fullwindow-Frequency Analysis-002.png
Works for me in "audacity-win-r13803-2.1.0-alpha-24-dec-14" on Windows 7, running Audacity in either English or Russian.

I think юра00 is on Windows 8, but I am not sure why that would change anything.


Gale

Re: Spectrum analysis

Posted: Wed Dec 24, 2014 7:45 pm
by юра00
On Windows 8.1
Excuse me, how can I delete my post entirely?

Re: Spectrum analysis

Posted: Wed Dec 24, 2014 9:28 pm
by steve
I've had a look at the code for this new feature, and it may be a bug due to an unexpected automatic localization of the numbers that are passed from Audacity to Nyquist.
The Audacity code passes the values of the frequency selection to Nyquist, which can then be used by Nyquist plugins. Nyquist requires that the decimal separator is a dot, not a comma. What I suspect is happening on юра00's machine is that somewhere along the line, the numbers are gaining the localised character for the decimal separator, which in юра00's case is producing a comma. That type of debug message used to be quite common before the text slider widgets could handle localized numbers.

I've asked on the developer's mailing list about this.

юра00, if my suspicions are correct, we may need you to test out the fix for it.

Re: Spectrum analysis

Posted: Wed Dec 24, 2014 10:04 pm
by юра00
I can't enter dot, as decimal separator, some audacity effects don't react on this key, only comma.

Re: Spectrum analysis

Posted: Thu Dec 25, 2014 12:07 am
by Gale Andrews
steve wrote:I've had a look at the code for this new feature, and it may be a bug due to an unexpected automatic localization of the numbers that are passed from Audacity to Nyquist.
The Audacity code passes the values of the frequency selection to Nyquist, which can then be used by Nyquist plugins. Nyquist requires that the decimal separator is a dot, not a comma. What I suspect is happening on юра00's machine is that somewhere along the line, the numbers are gaining the localised character for the decimal separator, which in юра00's case is producing a comma. That type of debug message used to be quite common before the text slider widgets could handle localized numbers.

I've asked on the developer's mailing list about this.

юра00, if my suspicions are correct, we may need you to test out the fix for it.
It happens on Windows with the three Spectral Edit tools if Windows Region Format is in Russian, but not if Windows is in English. I mentioned that to -devel.

Gale

Re: Spectrum analysis

Posted: Thu Dec 25, 2014 12:11 am
by Gale Andrews
юра00 wrote:I can't enter dot, as decimal separator, some audacity effects don't react on this key, only comma.
Steve knows more about this than I do, but I think it's normal for Nyquist effects to require the expected separator for the locale. Recently updated ones will do so.


Gale