Getting started
API Documentation
Development
Time signal.
x (ndarray) – array with signal values
ndarray
sampling_rate (float) – sampling rate in Hz
float
channel (int) – channel index
int
ax (Optional[Axes]) – pre-existing axes for the plot. Otherwise, calls matplotlib.pyplot.gca() internally
Optional
Axes
matplotlib.pyplot.gca()
Examples
>>> import librosa >>> x, sr = librosa.load(librosa.ex("trumpet")) >>> signal(x, sr)