Method: SPCore::Signal#rms
- Defined in:
- lib/spcore/util/signal.rb
#rms ⇒ Object
Calculate signal RMS (root-mean square), also known as quadratic mean, a statistical measure of the magnitude.
297 298 299 |
# File 'lib/spcore/util/signal.rb', line 297 def rms Math.sqrt(energy / size) end |