~/talk

Music 101 with JS Bach

Talkat HolyJS Piter 2020 · 2020-06-22..06-26· [creative-coding]
slides:none on file

Reimplements musical primitives — pitch, rhythm, harmony — in JavaScript and shows working code: a metronome built from setInterval moved to a Web Worker and scheduled precisely via the Web Audio API oscillator; demonstration proves the ear stops hearing beats below about 50 ms / 20 Hz. Compares Pythagorean ratios to modern well‑tempered tuning using the 2^(n/12) formula, quantifies split notes by cents (humans hear ~5 cents), and plays The Well‑Tempered Clavier’s 24 keys to show it works.

AI-written summary · about

  1. 0:00Start
  2. 6:36Subdivisions of Time
  3. 15:19Put it all together
  4. 20:34Frequency
  5. 32:50Pythagoras
  6. 35:12Enharmonics
  7. 36:58Enharmonic frequencies
  8. 41:09Well Tempered tuning
  9. 42:28Back to Bach
~/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.