DeepTone™'s Audio Chunk Processing functionality allows you to extract insights directly from audio chunks provided as byte numpy arrays. It provides analysis for a given chunk as a whole (as opposed to the type of analysis where a time-series is being returned) and generates output structured similarly to the Stream Processing.
You can use the
process_audio_chunk method to process audio bytes directly and receive results aggregated for the
entire chunk that was provided. In the example below, we are reading the bytes from an audio file but you can provide
them from any other source.
The returned object contains the results aggregated for the entire chunk:
The output of the script would be something like: