0%
−∞ dB
Audio-reactive engine
Select a microphone or local audio file. The analyser exposes amplitude, three broad ranges, eight frequency bands, beat detection, track-average tempo and a tempo-change trigger.
No local file selected
{
"amplitude": 0,
"bass": 0,
"mid": 0,
"treble": 0
}<script src="https://audiom8.co.uk/js/audio-m8-analyser.js"></script>
<script>
const audioM8 = new AudioM8Analyser();
window.addEventListener('audiom8:frame', event => {
const audio = event.detail;
console.log(JSON.stringify(audio, null, 2));
document.getElementById('json-output').textContent = JSON.stringify(audio, null, 2);
});
async function startMic() {
await audioM8.useMicrophone();
}
</script>