Let's Make Reactive Music with RxJS and the WebAudio API 🎧 🎼 🔊 🎛️
summary
Shows how to generate reactive music in the browser by combining RxJS Observables with the WebAudio API and a JavaScript music-theory library. Explains using RxJS to model time-based audio events and drive WebAudio nodes to produce sound.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 0:50What are Observables
- 2:38RxJS basics
- 5:48Native Observables in Chrome
- 6:52Metronome with Observables
- 8:23BPM to intervals
- 9:47Slider events with Observables
- 10:32Switch map for dynamic Observables
- 11:58WebAudio API basics
- 12:20Drum machine pattern
- 13:49Drum sounds trigger
- 16:10Musical notes with oscillators
- 17:38Note frequency calculation
- 18:23Tonal for music theory
- 19:16Chords with ToneJS
- 20:00Conclusion
