Linear loudness vertical axis in frequency spectrum?
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.
Mac 0S X 10.3 and earlier are no longer supported but you can download legacy versions of Audacity for those systems HERE.
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.1.x version.
Mac 0S X 10.3 and earlier are no longer supported but you can download legacy versions of Audacity for those systems HERE.
-
zapparella
- Posts: 2
- Joined: Fri Sep 30, 2011 5:50 pm
- Operating System: Please select
Linear loudness vertical axis in frequency spectrum?
Is there a way to display vertical axis on the Spectrum on a linear scale, rather than the log scale (dB) it normally uses? (I refer to to the Power spectrum - loudness versus frequency from the Analyze tool bar - not the "sonogram" display of frequency vs time.)
The reason is to deemphasize the data at extremely low loudness (say below -30 dB).
The reason is to deemphasize the data at extremely low loudness (say below -30 dB).
-
kozikowski
- Forum Staff
- Posts: 68901
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: Linear loudness vertical axis in frequency spectrum?
The left edge values conform to what is required. I did an analysis of a well-behaved noise signal and the top value is -36.2 and the bottom value is -39.8.
I don't think you can force it. Other elves may know better.
Koz
I don't think you can force it. Other elves may know better.
Koz
Re: Linear loudness vertical axis in frequency spectrum?
If you just want to be able to pick out the high level spikes more easily, a little trick you can try is to add a new track and generate white noise at a level of about 0.5 into that track. Now select both the original track and your noise track and view the spectrum (Analyze > Plot Spectrum).zapparella wrote:The reason is to deemphasize the data at extremely low loudness (say below -30 dB).
The presence of the white noise adds a relatively high baseline level across all frequency bands, so the vertical scale is automatically adjusted .
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
kozikowski
- Forum Staff
- Posts: 68901
- Joined: Thu Aug 02, 2007 5:57 pm
- Operating System: macOS 10.13 High Sierra
Re: Linear loudness vertical axis in frequency spectrum?
That doesn't actually cut off everything below, say -30, that compresses everything you have into a smaller display. I wonder why the poster wants that instead of just looking at the screen.
Koz
Koz
Re: Linear loudness vertical axis in frequency spectrum?
Piano music on its own - note the vertical scale range -96 dB to -23 dB
Piano music and -6 dB white noise. Note the vertical scale range -42 dB to -23 dB.
The noise floor across the full spectrum is around -42 dB for each frequency band, so the display has re-scaled and shows the range -42 to -23 dB stretched the full vertical height rather than being squashed up in the top 1/3rd of the display.

Piano music and -6 dB white noise. Note the vertical scale range -42 dB to -23 dB.
The noise floor across the full spectrum is around -42 dB for each frequency band, so the display has re-scaled and shows the range -42 to -23 dB stretched the full vertical height rather than being squashed up in the top 1/3rd of the display.
So do Ikozikowski wrote: I wonder why the poster wants that
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)
-
zapparella
- Posts: 2
- Joined: Fri Sep 30, 2011 5:50 pm
- Operating System: Please select
Re: Linear loudness vertical axis in frequency spectrum?
The poster (me) is a teacher teaching a course to nonscience college students in a Physics of Music course. We demonstrate in class what the spectrum of different instruments looks like, and the important features should be easily identifiable to students who don't understand logs or db scales. Why have the room noise from the air conditioning showing up as a broad peak, or a tiny (70 db weaker) resonance showing up as a peak, when these is not relevant to the main resonances of a trumpet horn?
I appreciate responders efforts to help with this. I did submit a request for a new feature, and the powers that be are considering it.
I appreciate responders efforts to help with this. I did submit a request for a new feature, and the powers that be are considering it.
Re: Linear loudness vertical axis in frequency spectrum?
Thank you for satisfying my curiosity zapparella 
For my own usage I would not find a linear scale to be useful.
(Considering the frequency plots in my previous posts, most of the interesting stuff is in the range of -42 dB to -24 dB, which on a linear scale is about 0.008 to 0.063, but that is probably less intuitive than the dB scale).
However, I would like the vertical axis to be controllable. When comparing two plots it is a lot easier if the scale is the same for both, but the automatic scaling prevents that.
For my own usage I would not find a linear scale to be useful.
(Considering the frequency plots in my previous posts, most of the interesting stuff is in the range of -42 dB to -24 dB, which on a linear scale is about 0.008 to 0.063, but that is probably less intuitive than the dB scale).
However, I would like the vertical axis to be controllable. When comparing two plots it is a lot easier if the scale is the same for both, but the automatic scaling prevents that.
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: Linear loudness vertical axis in frequency spectrum?
@zapparella: "Linear Plot Spectrum vertical axis" has now been added to Wiki Feature Requests as I promised. But it has only your vote and we are not (generally speaking) adding or improving features until after the next 2.0 major release (which is held up by fixing some project stability issues).
Gale
Wiki Feature Requests has suggestions for "User-defined minimum dB level, but not via meter/waveform dB preference: (9 votes)", "Zoomable/pannable sliders (3 votes)" and "Text box input for lowest visible level (4 votes)". Would you vote for a checkbox for "automatically scale dB" or similar, so you don't always have to have the upper limit of the scale limited to the peak?steve wrote:I would like the vertical axis to be controllable. When comparing two plots it is a lot easier if the scale is the same for both, but the automatic scaling prevents that.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
Re: Linear loudness vertical axis in frequency spectrum?
I think that if there was an option to switch off automatic scaling then there would need to be some way for the user to set the scale. I'm not particularly concerned about "how" the user would set the scale (whether through a text box, slider, menu or whatever) but just that scale can be set manually.Gale Andrews wrote:Would you vote for a checkbox for "automatically scale dB" or similar, so you don't always have to have the upper limit of the scale limited to the peak?
-
Gale Andrews
- Quality Assurance
- Posts: 41761
- Joined: Fri Jul 27, 2007 12:02 am
- Operating System: Windows 10
Re: Linear loudness vertical axis in frequency spectrum?
I added 2 votes (including yours) for "Option to turn off dB scaling ". However the other person wanting it was happy if the resulting vertical scale was just 0 dB to the Preferences-determined minimum.steve wrote: I think that if there was an option to switch off automatic scaling then there would need to be some way for the user to set the scale. I'm not particularly concerned about "how" the user would set the scale (whether through a text box, slider, menu or whatever) but just that scale can be set manually.
Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual