get Amplitude
Get the amplitude (RMS) of the audio samples.
Automatically resamples to 16kHz internally if needed.
Return
RMS amplitude value
Parameters
samples
Audio samples as Float (-1.0 to 1.0 range)
sample Rate
Sample rate of the input audio