audioflux.display.fill_wave

audioflux.display.fill_wave(data, samplate=32000, axes=None, times=None)

Display a wave data

Parameters
data: np.ndarray [shape=(n,)]

Input audio data

samplate: int

Sampling rate of the incoming audio

axes: matplotlib.axes.Axes or None

Axes to plot on instead of the default plt.subplot().

times: np.ndarray [shape=(n,)]

time array

Returns
axes: matplotlib.axes.Axes