Contents

Visualizations

Inline visualizations render directly in the editor. Each visualization is a pass-through node in the signal chain: audio flows through unchanged.

All visualization functions accept an optional name string and an options record. Common options shared by all types:

OptionTypeDefaultDescription
widthnumber / string200Width in pixels, or "100%" for full width
heightnumber / string50Height in pixels, or "100%" for full height

oscilloscope

Time-domain waveform display with trigger stabilization. See oscilloscope for the full reference.

sine(440) |> oscilloscope(@) |> out(@)

waveform

Time-domain envelope display showing min/max amplitude. See waveform for the full reference.

saw(110) |> waveform(@) |> out(@)

spectrum

Frequency-domain FFT display. See spectrum for the full reference.

saw(220) |> spectrum(@) |> out(@)

waterfall

Scrolling spectrogram. Time-frequency display with color-mapped amplitude. See waterfall for the full reference.

saw(220) |> waterfall(@) |> out(@)

pianoroll

Pattern-event visualization on a pitch-time grid. See pianoroll for the full reference.

n"c4 e4 g4 b4" |> pianoroll(@)

Related: oscilloscope, waveform, spectrum, waterfall, pianoroll