p5.spatial.js
author: ogbabydiesal (Tommy Martinez) and contributorsp5.spatial.js extends p5.sound.js with multichannel spatial audio output in the browser. It adds a p5.AudioSource workflow for moving sound objects across custom loudspeaker layouts, including quad, octophonic, and 5.1-style setups. The library is designed for creative coding projects that need interactive spatial sound without leaving the p5.js ecosystem.
tech specs
license: open source (LGPL-2.1)technology: API for quad/octophonic/5.1/custom layouts
control: JavaScript API
stand-alone/plug-in/external library: external library
last update: 2025-08-06 (v0.6 release)
links
repositoryreleases
examples