babycat.Waveform¶ class babycat.Waveform¶ Waveform properties¶ .frame_rate_hz .num_channels .num_frames Indexing waveforms¶ .get_sample() .get_unchecked_sample() Generating waveforms from silence¶ .from_frames_of_silence() .from_milliseconds_of_silence() Importing already-decoded audio waveforms¶ .from_interleaved_samples() .from_numpy() Decoding audio¶ .from_encoded_bytes() .from_encoded_bytes_into_numpy() .from_file() .from_file_into_numpy() Resampling audio¶ .resample() .resample_by_mode() Exporting decoded audio¶ .to_interleaved_samples() .to_numpy() Encoding audio¶ .to_wav_buffer() .to_wav_file()