Utilities¶
Array operations¶
frame (y[, frame_length, hop_length]) |
Slice a time series into overlapping frames. |
pad_center (data, size[, axis]) |
Wrapper for np.pad to automatically center an array prior to padding. |
fix_length (data, size[, axis]) |
Fix the length an array data to exactly size. |
normalize (S[, norm, axis, threshold, fill]) |
Normalize an array along a chosen axis. |
tiny (x) |
Compute the tiny-value corresponding to an input’s data type. |
Input validation¶
valid_audio (y[, mono]) |
Validate whether a variable contains valid, mono audio data. |