RMS question - Gearslutz.com

Gearslutz.com

All Advertisers
Go Back   Gearslutz.com > The Forums > Geekslutz forum


RMS question

New Reply New Reply Thread Tools Search this Thread
Old 29th January 2004   #1
Lives for gear
 
Joined: Jul 2003
Posts: 1,716

Thread Starter
RMS question

So if RMS means Root Mean Square, does that mean 0 = silence, 1 = maximum level, or 0 = silence, sky is the limit on level. The reason I ask is, Root and Square fuctions operate inversely below 1.

Also, is this the same as logrithmic conversion?
jbuntz is offline   Reply With Quote
Old 29th January 2004   #2
Lives for gear
 
ulysses's Avatar
 
Joined: Mar 2003
Location: Minneapolis and Wiesbaden
Posts: 1,452

0 (volts? dBSPL?) RMS would be no signal (silence) and the sky is the theoretical limit. It's okay that squares and roots behave the way they do for values below one because you're performing both operations, so they "cancel." The whole point of root-mean-squared calculations are to compensate for the fact that (approximately) half of the signal has a negative polarity. If you just took the average value of a sine wave it would be zero. So you square all the values first, take the average, then take the square root of that. This gives you an RMS level (for sine waves only) that's equal to the peak value divided by the square root of two. A square wave has an RMS value equal to the peak levrel. Music is less predictable.

Of course it's impossible to calculate the RMS, or any average value, of a continuous waveform pecause there are an infinite number of points along the curve (any two points will have an infinite number of points in-between). So we don't calculate this stuff by hand, instead we use electronic devices with integrators and capacitive time constants to do the "math" for us. the calculus would get crazy for any waveform that wasn't perfectly periodic and repeating.

And no, it's not the same as any kind of "logarithmic conversion" (such as converting the ratios of volts or millibars into decibels). A voltage or SPL level can be expressed in terms of RMS. A ratio between two RMS levels can be expressed in decibels, which is a logarithmic calculation.
__________________
Justin Ulysses Morse
Roll Music Systems
Minneapolis, MN

Put a bottle of juice in your Lunchbox.
ulysses is offline   Reply With Quote
Old 29th January 2004   #3
Lives for gear
 
Joined: Jul 2003
Posts: 1,716

Thread Starter
So could RMS be replaced in DSP with if sample value < 0 then sample value = sample value * -1 and then do the mean calculation?
jbuntz is offline   Reply With Quote
Old 30th January 2004   #4
Gear interested
 
SteveHalko's Avatar
 
Joined: Jan 2004
Location: Carmel Valley, CA
Posts: 6

That wouldn't be the same as RMS. For a pure sine wave, if you take all the negative values and make them positive, you get a full-wave rectified waveform. Thats a different waveform than if you squared all the values. Since its a different waveform, then the mean would also be different.

For the full-wave rectified waveform, the mean is .637 times the peak value, whereas the RMS value is .707 times the peak.
SteveHalko is offline   Reply With Quote
Old 31st January 2004   #5
Gear Head
 
Joined: Jan 2004
Location: berlin, germany
Posts: 69

Quote:
Originally posted by ulysses
A voltage or SPL level can be expressed in terms of RMS. A ratio between two RMS levels can be expressed in decibels, which is a logarithmic calculation.
which is where all those different db-expressions (and misunderstandings) come in...


logarithmic conversion basically goes like

L = A*lg(X/Y)

where X,Y - compared rms values; A - scaling factor.

when inserting spl (sound pressure level), A equals 10.
when inserting volts, X equals 20 (proof of which would be too confusing here i guess)

for relative comparison of two measured values, insert them for X & Y, and get dBr (r - relative).

for absolute levels, you want to take one measured value and relate it to a commonly known base value. so it's like

Lp = 10*lg(P/Po) or Lu = 20*lg(U/Uo) respectively.

Po is 2*10^-5 Pa (pascal) and relates to the human hearing threshold @ 1kHz. this gives you dB SPL.

Uo can either be 1V (for dBV) or .775V (for dBu or dBm). dBV is easier to handle without a calculator and is found more in the consumer field i believe. the others are standard in pro audio, the odd value being due to historical reasons. the conversion is pretty easy though, it gets pretty close to dBV - 2,2dB = dBu.

there's a ton of other dB-expressions, like e.g. dB(A), which is a frequency-weighted (i.e. filtered) curve, approximating the frequency-dependent human ear. or, in the digital world, you'll come across dBfs (full scale). where 0dBfs = maximum, any positive value will mean overload.

hope this helps
volki is offline   Reply With Quote
New Reply New Reply Submit Thread to Facebook Facebook  Submit Thread to Twitter Twitter  Submit Thread to LinkedIn LinkedIn 



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread starter Forum Replies Last Post
normalizing and RMS questions 8thStarr Mastering forum 5 26th February 2009 07:40 AM
RMS and PEAK mixing questions wannaberocker Mastering forum 13 25th September 2008 04:29 PM
how to calculate rms spl? compusic Mastering forum 22 20th November 2007 02:39 PM
Protools Question: how to tell RMS level Nu Mixer Music computers 1 18th June 2007 09:56 AM
deliverables @ -12 question PlugHead Post Production forum! 4 14th April 2007 12:51 PM


All times are GMT +1. The time now is 06:55 PM.

Home - Search Forum - Contact Us - Terms Of Use - Advertise on Gearslutz - All Advertisers - Archive - Top
 
 
Powered by vBulletin®
Gearslutz.com LTD - UK Company Number 7597610.
Registered Office - 35 Ballards Lane, London, N3 1XW.
Hosted by Nimbus Hosting.

SEO by vBSEO ©2010, Crawlability, Inc.