Nightingale.space - Elm and Crowd-Sourced Music Making
summary
Uses Elm plus Elixir’s Phoenix and Twitter to turn tweets into live music, broadcasting tweets via Phoenix channels, parsing a compact 140‑char DSL with regexes and Elm Combine parsers to extract note, accidental, length and octave and also start/end indices for highlighting, serializing to JS-friendly objects and sending them out through ports to Tone.js to schedule sound. Backend runs a reader/listener queue, parsing is lenient (ignores errors), the live demo plays audience tweets successfully though a few parser edge‑case bugs appear, and the app avoids runtime exceptions.
AI-written summary · about
chapters (10)
- 0:00Introduction and setup
- 1:58Project scenario and notation
- 5:57Four-part breakdown overview
- 6:41Server side with Elixir and Phoenix
- 10:37Consuming Phoenix channels in Elm
- 12:21Parsing tweets into musical notes
- 19:23Playing sounds with ports and Tone.js
- 22:53Visual feedback for playing notes
- 24:16Live audience music demo
- 30:49Closing and credits
related talks
47mElm or how I learned to love front end development
37mElm and game development, a perfect fit
45mElm and Elmish for Backendish
53mAdventures in Elm: Events, Reproducibility, and Kindness
51mElm-Friendly Functional Programming For The Web
44mMy adventure with Elm
41mWriting Reliable Web Apps With Elm
27mElm, a Truly Innovative Language for the Web
