~/talk

Pure Intonation on Browser: Building a Sequencer with Ruby

Talkat RubyKaigi 2026 · 2026-04-22..04-24· [ruby]
name:nagachika
links:none on file
slides:none on file

Purified Synth is a browser-based sequencer and subtractive synth implemented with Ruby/WASM + Web Audio API that plays pure-intonation microtonal chords using Shasaf-style lattices (1.5× and 1.25× axes) and a chord editor plus multi-track and drum-pattern sequencers. Implementation maps AudioNodes one-to-one to Ruby wrappers and uses the `js` gem proxy for JS objects. It runs in the browser but exposes a real bug: nested JS→Ruby→JS exceptions turn into fatal errors. The UI and MIDI controller demo render and play in the page.

AI-written summary · about

  1. 0:00Introduction and speaker
  2. 1:16Project overview
  3. 2:52Features of Purified Synth
  4. 3:59Music theory basics
  5. 5:50Pure intonation explained
  6. 7:25Shasaf-style music theory
  7. 10:48Chord diagrams and lattices
  8. 12:20Why build a sequencer
  9. 13:12Ruby/WASM introduction
  10. 13:55Web Audio API basics
  11. 15:46Architecture with Web Audio
  12. 17:12AudioParam and automation
  13. 19:09JSObject and Ruby bridge
  14. 21:04Method invocation details
  15. 22:32Type conversion pitfalls
  16. 23:18Calling Ruby from JavaScript
  17. 24:25Bidirectional method calls
  18. 25:12Exception handling limits
  19. 26:42Efficiency considerations
  20. 27:23Best practices summary
  21. 28:07Closing and demo teaser
~/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.