Waveform.num_frames

num_frames = <attribute 'num_frames' of 'babycat.Waveform' objects>

Returns the number of frames in the decoded waveform.

This will be the total number of frames founded in the encoded audio–unless you trimmed the waveform during decoding by setting start_time_milliseconds, end_time_milliseconds, or both.

Returns

The number of frames

Return type

int