Radial Line - Dark
This example visualizes live microphone audio as a dark, glowing red radial line that pulses and distorts in response to the sound’s waveform. It listens to the user’s audio input and draws the time-domain buffer as a circular, smooth curve using d3.radialLine with a curveBasis interpolation. The visualization runs on a Canvas 2D context, updating each animation frame via requestAnimationFrame, and relies on the Web Audio API’s AnalyserNode to capture the audio data.
AI-generated descriptionThis listens to your computer's microphone and draws the contents of the audio buffer as a radial line. Also made a bright version: <a href='http://bl.ocks.org/alexmacy/a39e1e54f68c45b5e1bb5b27c78908db'>Audio Radial Line - bright</a>
This is part of a series exploring the visualization of audio that was presented at a d3.oakland meetup. A big list of the demos from this series can be found <a href="https://alexmacy.github.io/d3.oakland" target="_blank">here</a>.