Michal,
For some strange reason, most of the studies I have read measure SNR not as dimensionless (which would be most logical since it is a "ratio") but in dB as a difference (or distance) between signal and noise.
Decibels by themselves are also dimensionless. They're also a ratio. You have to append a separate designation to the 'dB' in order to get an absolute measurement. This article explains it pretty well:
http://en.wikipedia.org/wiki/Decibel#Co ... ding_units
You are probably looking for dB-SPL. This is what most people mean when they say "dB" without any designation, even though it's technically incorrect. However, that's the value you want to use to describe how loud the listening environment was when you took the test. In order to report the SNR of each signal the subjects listened to, you want SNR(dB). The 'dB' here is a generic ratio, not an absolute like dB-SPL. So SNR(dB) is dimensionless.
Basically your paper will want to say something like "the listener was subjected to a noise level of 80dB-SPL for each test." And then further on you'll need to list the SNR(dB) of each test signal and whether or not the listener was able to hear it correctly. Unless you're testing at different volume levels
in addition to different SNR levels, 'dB-SPL' only needs to show up once in the paper.
If that's confusing, think of it this way. I have a signal that I know has an SNR of 6dB (in other words, a
very noisy signal). As I'm listening to this file, I slowly turn the volume up. In this example, only the dB-SPL level has changed as I turned the volume knob. The SNR(dB) has not changed at all, even when the signal was so quiet that I couldn't hear it.
Anyway, the most important message is that Audacity IS unfortunately NOT able to tell me overall intensity of a given sample:-( PRAAT, a free software for doing phonetics on computers, can do that and most curiously, it gives an absolute value (for example, 87.753 dB - not as it is quite common for computers to measure it in negative values beginning with 0).
You're correct about Audacity not being able to do what you want, but I'd also be wary of the value you're getting from PRAAT. What kind of decibel value is it giving you? It certainly isn't dB-SPL. Without a reference, a dB measurement is meaningless.
Another unfortunate thing is that Audacity allows me to set the intensity of pink noise NOT in dB but only as a portion of the maximum amplitude. This would be good if I could obtain average overall portion of the maximum amplitude of a sample.
You're right, Audacity won't let you specify the RMS value of a signal when you try to amplify (or de-amplify) it. Sadly
To make it as simple as possible: let´s say I generate a pure tone (signal) in one track of 0.8 maximum amplitude and noise in another track of 0.5 maximum amplitude. What will be the resulting SNR? Is it just signal / noise? (0.8 / 0.6 = 1.6) Thanks in advance
There are two easy ways for you to measure SNR. First, this is easy to do if you know only the RMS level of each signal. This is yet another example of where you need software that can do better measurements than Audacity (unless you choose to do all the measuring in the real world). Let's look at the second equation that shows up on this page:
http://en.wikipedia.org/wiki/Signal-to-noise_ratio
Code: Select all
SNR(dB) = 20 * log (A_signal(RMS) / A_noise(RMS))
It is very important to note that this equation expects the RMS amplitude, not the absolute amplitude of the signals. The only way to calculate the RMS value is to average all of the samples in the signal, Audacity can't do this. Something like Matlab can do it easily (but it's, of course, expensive). If that PRAAT software can to, then that's great.
If we were to assume that you had given me the RMS values of two signals (please keep in mind that you didn't, I'm just using them as an example), the equation is:
SNR(dB) = 20 * log(.8/.5) = +32dB.
Second, if you know the dB rating of each signal, the equation simplifies to this:
SNR(dB) = noise(dB) - signal(dB)
So if you have a signal that's at -6dB and the noise is at -36dB (you can use any two identical flavors of 'decibel' to make this calculation), then SNR will be +30dB.
So once you have software that can give you an accurate RMS measurement (or you do the measurements directly in the real-world), the actual calculations are very easy. But keeping the language straight will take some careful proof-reading. If you need help with the proof-reading, let me know (by sending me a personal message through this board) and I'll read through your paper as long as it isn't a billion pages.