ERROR in Plot Spectrum?

This read-only archive contains discussions from the Adding Feature forum.
New feature request may be posted to the Adding Feature forum.
Technical support is available via the Help forum.
Rick944S
Posts: 46
Joined: Fri Jan 02, 2015 6:36 pm
Operating System: Please select

ERROR in Plot Spectrum?

Post by Rick944S » Fri Jan 02, 2015 6:50 pm

Hi this is my first post here. I've been stumbling along the path to mastering Audacity sporadically over the years.
I just used the Generate>Tone command and placed a beep at 440hz, amplitude 1. When I analyze that segment it indicates a peak of 6db.
Shouldn't it return 0db?

Screen capture attached
Cheers
Rick
WIN 7 64
Audacity 2.0.6
Install from downloaded exe file
Attachments
Capture.PNG
Capture.PNG (48.94 KiB) Viewed 1317 times

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: ERROR in Plot Spectrum?

Post by steve » Fri Jan 02, 2015 7:34 pm

Rick944S wrote:Shouldn't it return 0db?
Ideally, yes.

If I generate a 440 Hz tone, amplitude 1.0, duration 30 seconds with all other settings in Audacity at the default values, I see a peak in Plot Spectrum that is very close to 0 dB.
What would I need to do to get the results that you are demonstrating?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Rick944S
Posts: 46
Joined: Fri Jan 02, 2015 6:36 pm
Operating System: Please select

Re: ERROR in Plot Spectrum?

Post by Rick944S » Sat Jan 03, 2015 4:50 am

Ohhh, the only difference is that I just did it on a section of track that had audio imported from WAV file, drag selected a roughly 10 second selection and created the beep - then did the analyze on that same selection.
Now when I just tried it on a new file, new Audacity session, I got the same (correct) results you got. Hmnmnmm. :?:

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: ERROR in Plot Spectrum?

Post by Gale Andrews » Sat Jan 03, 2015 6:02 pm

Rick944S wrote:Ohhh, the only difference is that I just did it on a section of track that had audio imported from WAV file, drag selected a roughly 10 second selection and created the beep - then did the analyze on that same selection.
Now when I just tried it on a new file, new Audacity session, I got the same (correct) results you got. Hmnmnmm. :?:
Might you have simply changed the selection and forgotten to replot?


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: ERROR in Plot Spectrum?

Post by steve » Sat Jan 03, 2015 6:18 pm

Rick944S wrote: I just did it on a section of track that had audio imported from WAV file
That'll be it.
If the track was a stereo track (which I'm guessing it was), then generating a full-scale sine tone will produce two identical sine tones, one in each channel. The spectrum, analysis shows the sum of all selected channels, thus two identical channels will show as 6 dB greater than one channel.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: ERROR in Plot Spectrum?

Post by Gale Andrews » Sat Jan 03, 2015 7:24 pm

steve wrote:
Rick944S wrote: I just did it on a section of track that had audio imported from WAV file
That'll be it.
If the track was a stereo track (which I'm guessing it was), then generating a full-scale sine tone will produce two identical sine tones, one in each channel. The spectrum, analysis shows the sum of all selected channels, thus two identical channels will show as 6 dB greater than one channel.
I forgot it didn't average multiple channels, so I added a note about that to the Manual.

Though I now recall someone on [email protected] a while ago arguing it was a bug that it summed stereo pairs.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Rick944S
Posts: 46
Joined: Fri Jan 02, 2015 6:36 pm
Operating System: Please select

Re: ERROR in Plot Spectrum?

Post by Rick944S » Sun Jan 04, 2015 2:03 pm

Interesting. I can't speak to the intended functionality of that analyze command because I still find it baffling at times, but then I'm still a newb.
Thanks though!

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: ERROR in Plot Spectrum?

Post by steve » Sun Jan 04, 2015 4:49 pm

Gale Andrews wrote:Though I now recall someone on [email protected] a while ago arguing it was a bug that it summed stereo pairs.
If that was a very long while ago, it may have been me. I questioned the behaviour and accepted the developer's explanation of why it was designed that way.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: ERROR in Plot Spectrum?

Post by Gale Andrews » Mon Jan 05, 2015 5:12 pm

steve wrote:
Gale Andrews wrote:Though I now recall someone on [email protected] a while ago arguing it was a bug that it summed stereo pairs.
If that was a very long while ago, it may have been me. I questioned the behaviour and accepted the developer's explanation of why it was designed that way.
It was someone else with a lot of scientific qualifications after his name.

What was the developer's rationale?


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: ERROR in Plot Spectrum?

Post by steve » Mon Jan 05, 2015 5:25 pm

Gale Andrews wrote:What was the developer's rationale?
basically that it is as good a way as any for plotting the spectrum of multiple channels. There are pros and cons to any method.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked