You're reading an old version of this documentation. If you want up-to-date information, please have a look at 0.10.2.


Data visualization

specshow(data, *[, x_coords, y_coords, ...])

Display a spectrogram/chromagram/cqt/etc.

waveshow(y, *[, sr, max_points, x_axis, ...])

Visualize a waveform in the time domain.

Axis formatting

TimeFormatter([lag, unit])

A tick formatter for time axes.

NoteFormatter([octave, major, key, unicode])

Ticker formatter for Notes

SvaraFormatter(Sa[, octave, major, abbr, ...])

Ticker formatter for Svara


Ticker formatter for logarithmic frequency

ChromaFormatter([key, unicode])

A formatter for chroma axes

ChromaSvaraFormatter([Sa, mela, abbr, unicode])

A formatter for chroma axes with svara instead of notes.


A formatter for tonnetz axes


cmap(data, *[, robust, cmap_seq, cmap_bool, ...])

Get a default colormap from the given data.

AdaptiveWaveplot(times, y, steps, envelope)

A helper class for managing adaptive wave visualizations.