~/talk

Composing music with composed functions

Talkat JSConf US 2019 · 2019-08-12..08-14· [creative-coding, javascript]
slides:none on file

Functional code turns short strings like "C4@8N" into scheduled note objects and a playable sequence using Ramda and Tone.js. The demo shows pure functions for parsing name octave and duration, map filter and reduce to compute a note's start time, composition and partial application to build detune and transpose pipelines, and a runnable player via the Web Audio API; examples sound live though one timing display briefly reports 1.625 due to an on-screen update issue with the parse shorthand pipeline.

AI-written summary · about

  1. 0:00Intro
  2. 3:09Tools
  3. 5:18Arrays
  4. 9:21Partial Application
  5. 10:51Composition
  6. 12:33Putting it all together
  7. 18:06Outro
~/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.