~/talk

Accelerating Musical Live Coding With On-Device AI

Talkat CascadiaJS 2026 · 2026-06-01..06-02· [creative-coding, webassembly]
github:amhinson
slides:none on file

A browser-based assistant generates executable Strudel code from editor context, removing boilerplate so the performer stays in flow while keeping control. It uses Strudel REPL plus Transformers.js with a quantized 1.5B parameters code model and dual runtimes (WebGPU and Wasm). Training uses thousands of validated, LLM‑generated examples with a parse/execute validation gate; switching to direct code generation shrinks the engine by about 90% and delivers low‑latency, offline inference that actually works in a tab.

AI-written summary · about

  1. 0:00Live Coding Music in the Browser
  2. 1:20Discovering Strudel and the Learning Challenge
  3. 2:52Building AI That Enhances Creativity
  4. 3:40Demo: An AI Assistant for Strudel
  5. 5:49Why Run AI Locally in the Browser?
  6. 7:21Choosing the Right Model and Task
  7. 9:17The AI–Code Boundary: Models vs Deterministic Logic
  8. 10:05First Attempts: Prompting and JSON-Based Approaches
  9. 13:05Simplifying the Architecture with Direct Code Generation
  10. 15:13Training a Model for a Niche Domain
  11. 16:33Validate Before You Scale: Generating Training Data
  12. 18:24Iterating on Data and Improving the Model
  13. 19:17Fitting a Specialized Model Into a Browser Tab
  14. 20:50Beyond Music: Patterns for Local AI Applications
  15. 23:00Final Takeaways & 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.