calculateAudioLevelFromRMS

open fun calculateAudioLevelFromRMS(rms: Double, sampleCount: Int): Double

Converts RMS and sample count to an audio level.

Return

The audio level.

Parameters

rms

Root Mean Square (RMS) value.

sampleCount

The count of samples.