~/talk

Beats in the Browser - Coding Music with JavaScript

Talkat DevReach 2023 · 2023-10-25..10-26· [javascript, creative-coding]
slides:none on file

Demonstrates how to build a browser drum machine that actually works: uses the Web Audio API for accurate timing and oscillators, prefers small WAV samples and loads them with Tone.js (two-line player), maps MIDI notes from an LPD8/other controllers via the Web MIDI API to a 16-step sequencer, records output with Tone.js, and even reads a Polar Bluetooth heart-rate sensor over the Web Bluetooth API to set BPM. Shows live device hookup, real-time recording, and that the TR-909 can be emulated without expensive hardware.

AI-written summary · about

  1. 0:00Roland TR-808 & TR-909 history
  2. 4:22Web Audio API basics
  3. 7:38Drum sound challenges
  4. 8:41Samples and wave files
  5. 10:28Tone.js for audio
  6. 11:54MIDI devices in browser
  7. 16:29MIDI device demo
  8. 17:35TR-909 sequencer
  9. 21:33Recording music
  10. 26:46Bluetooth BPM control
  11. 29:13Heart rate BPM demo
  12. 31:09Closing & 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.