get Amplitude
Get the amplitude (RMS) of the audio samples.
Automatically resamples to 16kHz internally if needed.
Return
RMS amplitude value
Parameters
samples
Mono audio samples as Float (-1.0 to 1.0). Must be single-channel.
sample Rate
Sample rate of the input audio in Hz