~/talk

Beats in the Browser - Coding Music with JavaScript

Talkat JSDayIE 2023 · on Tuesday, 2023-09-26· [creative-coding]
slides:none on file

The browser generates playable music using the Web Audio API and loaded WAV samples, with a live 16-step drum sequencer that uses Tone.js for precise scheduling (Tone.Transport.scheduleRepeat) and per-track mute, pan and pitch. MIDI input maps note numbers (e.g. 54–117) to pads so a cheap controller can trigger samples; Web MIDI lacks Safari support. A Polar Bluetooth heart-rate monitor sets BPM in real time (Web Bluetooth), turning heartbeat into tempo — the TR-909 comparison notes originals now fetch roughly €8,000.

AI-written summary · about

  1. 0:00Introduction and history
  2. 3:34Web Audio API basics
  3. 6:32Playing drum samples
  4. 9:00Using Tone.js library
  5. 10:27MIDI device integration
  6. 13:58Live MIDI demo
  7. 14:18Building a drum sequencer
  8. 17:34Live sequencer demo
  9. 21:15Recording and playback
  10. 21:37Web Bluetooth API
  11. 23:25Heart rate BPM control
  12. 24:08Faithless song demo
  13. 25:57Conclusion and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.