Developments in the Web Audio API
summary
Browser audio now uses AudioContext with nodes like Oscillator, Gain and Panner; code shows creating a context, decoding buffers from HTTP, connecting source→gain→destination and calling context.resume inside a user gesture to bypass the autoplay policy. AudioWorklet moves processing off the main thread to cut latency, IIR filters and currentTime give precise DSP and timing, and examples include spatialized WebGL sites, Block Dust synth, MIDI controller input and 44.1 kHz sampling.
AI-written summary · about
chapters (29)
- 0:00Intro
- 2:14Barrier of Entry
- 2:40Sound Tags
- 3:10Future Library
- 4:27Education
- 5:00Digital Audio
- 8:58Connecting Audio
- 9:42Audio Graphs
- 11:01Volume Control
- 12:10Audio Graph
- 13:12Autoplay Policy
- 14:46Spatialisation
- 16:28New Thing
- 17:00Boombox
- 17:29Harry Potter
- 17:54WebGL Frame
- 18:10Blockdust
- 20:12Frequency
- 20:45Buffers
- 21:21White Noise
- 23:05Timing
- 24:07Workers
- 24:58Step sequencer
- 25:53Web MIDI API
- 26:39MIDI Controllers
- 27:15Buttons
- 27:48Demo
- 29:11Novation
- 29:53Conclusion
