# @dioramajs/audio/visualizer

Exports of @dioramajs/audio/visualizer.

## Functions and values

- [bands](/docs/api/audio-visualizer/bands.md): Levels 0..1 of `count` bars from analyser bytes, on a log scale from LOW to HIGH. A band narrower than a bin reads between its two nearest bins, a wider one takes its loudest bin. `ring` lays the spectrum out twice, mirrored: bass at the bottom, treble at the top.
- [default](/docs/api/audio-visualizer/default.md): The sound of a page's <audio> or <video> made visible in a decorative element: live bars, a wave or a ring, or the waveform of the whole track with seeking. The player stays the DOM.
- [HIGH](/docs/api/audio-visualizer/high.md)
- [LOW](/docs/api/audio-visualizer/low.md): The spectrum the bars show, Hz, on a log scale.
- [POINTS](/docs/api/audio-visualizer/points.md): Points of the wave.
- [readPeaks](/docs/api/audio-visualizer/read-peaks.md): Peaks of the JSON: audiowaveform (v1, v2, any channels and bits), or an array of 0..1.
- [resample](/docs/api/audio-visualizer/resample.md): `count` bar heights from peaks: the loudest point of each bar's stretch, or between two.
- [trace](/docs/api/audio-visualizer/trace.md): The wave of `POINTS` from analyser bytes: from the first rising zero crossing, so a steady tone stands still, averaged down from SPAN samples and tapered to the middle line at both ends.
