~/talk

Beats in the Browser: Coding Music withJavaScript

Talkat Øredev 2023 · 2023-11-08..11-10· [javascript, web-platform]
slides:none on file

A browser-based drum rig that actually plays: code loads WAV samples into the Web Audio API, uses Tone.js to simplify playback, accepts USB pads via the Web MIDI API, and runs a working 16-step sequencer with adjustable BPM (3–200). Demo shows live MIDI triggering, recording to an audio element, and a Bluetooth heart-rate monitor mapped to BPM. Lots of handwritten node setup is replaced by library calls; the demo mostly works live.

AI-written summary · about

  1. 0:00Music and drum machines
  2. 5:17Web Audio API basics
  3. 8:31Creating beats with Web Audio
  4. 12:00Simplifying with Tone.js
  5. 13:27Connecting MIDI devices
  6. 19:12Browser-based sequencer
  7. 25:19User interaction and MIDI setup
  8. 31:26Controlling beats via Bluetooth
  9. 36:46Visualizing sound
  10. 38:47Closing 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.