Base Audio

‘audio.base_audio’ module within the ketos library

This module contains the base class for the Waveform and Spectrogram classes.

Contents:

BaseAudio class; BaseAudioTimeAxis class

BaseAudio(data[, filename, offset, ...])

Parent class for all audio classes.

BaseAudioTime(data, time_res[, filename, ...])

Parent class for time-series audio classes such as audio.waveform.Waveform and audio.spectrogram.Spectrogram.

segment_data(x, window[, step])

Divide the time axis into segments of uniform length, which may or may not be overlapping.