API¶
Functions¶
Objects¶
-
class
wavy.WaveFile(sample_width, framerate, data, tags=None)[source]¶ Class that represents a WAVE file.
-
data¶ numpy.ndarray – Audio data stored in numpy.ndarray. If the number of channels is one, the array will be one dimensional. Otherwise, the returned array will be two dimensional array of shape (n_frames, n_channels).
-
framerate¶ int – Sampling frequency (Hz).
-
n_channels¶ int – Number of audio channels.
-
n_frames¶ int – Number of audio frames.
-
sample_width¶ int – Sample width in bits.
TODO
-