aubio_db_spl method

double aubio_db_spl(
  1. Pointer<fvec_t> v
)

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

Implementation

double aubio_db_spl(
  ffi.Pointer<fvec_t> v,
) {
  return _aubio_db_spl(
    v,
  );
}