~/talk

Making Music With JavaScript and Gamepads

Talkat Reject.JS 2013 · on Thursday, 2013-09-12· [web-platform, javascript]
slides:none on file

Demos use the Web Audio API and the Gamepad API to generate oscillators, load buffers, apply a BiquadFilterNode low‑pass, and schedule notes precisely with context.currentTime and start/stop offsets; a drum machine, Guitar JS (Guitar Hero controller) and a DJ Hero turntable prototype actually run but occasionally fail in browsers. Gamepads expose an array of 17 buttons (d‑pad = button 12) and float axes and are polled not evented. Missing features: negative playback rate (no reverse/scratch) and only one output destination.

AI-written summary · about

  1. 0:00Introduction
  2. 3:42Web Audio API
  3. 7:22Playing Sound
  4. 9:12Filters
  5. 10:20Timing
  6. 14:52Drum Machine
  7. 20:45Testing
  8. 28:07Demo
~/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.