[][src]Function aubio_sys::aubio_db_spl

pub unsafe extern "C" fn aubio_db_spl(v: *const fvec_t) -> smpl_t

compute sound pressure level (SPL) in dB

This quantity is often wrongly called 'loudness'.

This gives ten times the log10 of the average of the square amplitudes.

\param v vector to compute dB SPL from

\return level of v in dB SPL