Show spectrum of audio data.
Usage
let context = let spectrum = let generate = { return Math} duration: 4let write = contextdestination channels: 1 { let buf = }
API
let showSpectrum = Spectrum(options)
Create spectrum visualizer function with showSpectrum(data)
signature. options
may include channel
to pick the channel to show and every option for gl-spectrum.
Analogs
- frequency-viewer — show spectrum in browser.
- sillyscope — oscilloscope and spectrogram in chromeless chrome.