Skip to content

dctalbot/audio

Repository files navigation

Web Audio API fun

Blog post: https://dctalbot.nyc/blog/web-audio/

If you've ever wanted to listen to the most primitive sound of raw data possible, this repo is for you. I wrote a nice little React hook (see useTone.ts) over the platform audio API. Then I used it to put together a small ensemble of intruments: a keyboard, a trombone, and a theremin. Enjoy!

Screen.Recording.2023-12-26.at.2.28.36.AM.mov

Running locally is simple:

npm i
npm run dev