~/talk

The Action Cable Symphony - An Illustrated Musical Adventure

Talkat RailsConf 2019 · 2019-05-01..05-03· [ruby-on-rails]
slides:none on file

A Rails app converts MIDI to JSON, splits tracks into per-instrument ActionCable channels, and assigns roughly a hundred phones as players; clients synthesize sound with Tone.js and sync clocks against the server using Timesync.js while sessions use JWT for stateless auth. Demo hits real-world limits—conference Wi‑Fi forces a localhost fallback and visible latency/outlier devices—but local runs work. Notes: scalability concerns, AnyCable mentioned as an alternative, and clock offsets require buffering and client-side offsets to sound coherent.

AI-written summary · about

  1. 0:00Intro
  2. 1:14Getting Started
  3. 3:59Testing
  4. 7:39Overview
  5. 15:53Clients
  6. 17:29Playing Music
  7. 23:40Latency
  8. 31:26Conclusion
~/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.