Deeptone S D K
Base class which provides methods to handle processing of audio data into DeeptoneOutput.
Parameters
key
Deeptone model encryption key
modelFileStream
Reference of a Deeptone™ model file as InputStream
Constructors
DeeptoneSDK
Link copied to clipboard
Initialize Deeptone™ class with license key and model file stream.
Functions
loadAudioFile
Link copied to clipboard
fun loadAudioFile(audioAssetFileDescriptor: AssetFileDescriptor): DeeptoneOutput?
Content copied to clipboard
processAudioBuffer
Link copied to clipboard
stream
Link copied to clipboard
fun stream(onData: (DeeptoneOutput) -> Unit, onSuccess: (DeeptoneOutput) -> Unit, onError: (Exception) -> Unit): DeeptoneStream
Content copied to clipboard