babycat.Waveform¶ class babycat.Waveform()¶ Waveform properties¶ Waveform.frameRateHz() Waveform.numChannels() Waveform.numFrames() Indexing waveforms¶ Waveform.getSample() Waveform.getUncheckedSample() Generating waveform from silence¶ Waveform.fromFramesOfSilence() Waveform.fromMillisecondsOfSilence() Decoding audio¶ Waveform.fromEncodedArray() Waveform.fromEncodedArrayWithHint() Resampling audio¶ Waveform.resample() Waveform.resampleByMode() Exporting decoded audio¶ Waveform.toInterleavedSamples() Encoding audio¶ Waveform.toWavBuffer()