A [Spark.io] (https://www.spark.io/) library to retrive RMS and Spl value from an audio input.
This library reads data from an ADC pin and returns the RMS value of the input simply using RMS avarage. The root mean square (abbreviated RMS or rms), also known as the quadratic mean, is a statistical measure of the magnitude of a varying quantity. Here is simply implemented by getting samples, for each of them making the root, then the mean for all the collected samples, and finally square the result.
Copyright (c) Davide Gironi, 2014
[http://davidegironi.it] (http://davidegironi.it/)
Released under GPLv3.
Please refer to LICENSE file for licensing information.