- bass
- 0.00
- mid
- 0.00
- high
- 0.00
What you’ll learn
Read a coherent frame and use each band independently.
const { bands } = audio.snapshot();
for (const name of ['bass', 'mid', 'high']) {
meters[name].style.transform = `scaleY(${bands[name]})`;
}02 DOM · Beginner
Separate bass, mid and high into three live meters. See exactly what the library gives you.
Read a coherent frame and use each band independently.
const { bands } = audio.snapshot();
for (const name of ['bass', 'mid', 'high']) {
meters[name].style.transform = `scaleY(${bands[name]})`;
}Music: I dunno by grapes · Drive by AlexBeroza · Parametaphoriquement by gmz · nightWalk by airtone. From ccMixter, under CC BY 3.0.