~/talk

"Building a Music Theory API with Types"

Talkat Elm Conf 2019 · on Thursday, 2019-09-12· [typescript]
links:none on file
slides:none on file

Builds a concrete music‑theory API in Elm that encodes notes as a note record (name, accidental, octave), maps letter names (7) and keyboard half‑steps (12) to integers, and uses modular arithmetic to compute interval size and interval quality (major/minor/etc.). Renders notes to SVG and a piano keyboard, drills flashcards and triads, and performs reverse analysis and generation. Demo app is live and cross‑device; initial accessibility quirks are acknowledged. Shows implemented functions, data types, and working prototypes used with students.

AI-written summary · about

  1. 0:00Career change and motivation
  2. 0:52Developing the note app
  3. 2:37Prototype and feedback loop
  4. 5:23Musical pattern recognition
  5. 8:26Implementing intervals
  6. 12:37Note quality and accidentals
  7. 15:47Advanced interval arithmetic
  8. 20:47Building musical triads
  9. 22:13Future goals and conclusion
~/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.