~/talk

How to code music?

Talkat NDC London 2020 · 2020-01-27..01-31· [creative-coding]
links:none on file
slides:none on file

Shows live coding music with JavaScript and Sonic Pi, with concrete demos: creating oscillators and synths, toggling frequency and amplitude (examples include 440 Hz (A4) and a 600→400 Hz change), building a web instrument in Angular using Tone.js sampler with cat/dog samples, and using the Web Audio API audio context and nodes. Sonic Pi examples use MIDI 0–127 notes and Sonic Pi live_loops for concurrency to play melody, drums and change instruments without stopping.

AI-written summary · about

  1. 0:00Start
  2. 0:10How to code music?
  3. 2:35Sonic Pi Live Coding
  4. 2:45Gibber
  5. 16:47Web Audio API
  6. 18:16Tone.js in our app
~/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.