processAudioBuffer

fun processAudioBuffer(audioBuffer: FloatArray): DeeptoneOutput?

Receives an FloatArray of audio samples with 16khz sampling rate and returns DeeptoneOutput.

Parameters

audioBuffer

FloatArray of an audio file. Warning! When using this method, make sure the input FloatArray represents audio with a sample rate of 16khz. There is no way of asserting that this is the case, but if the input is audio sampled at a different rate, the DeeptoneOutput will not be reliable.