Ratio Piano

Writing and analyzing music with frequency ratios

15-622 Term Project
[Your name]

About 10 s.

One key, two notes

Motivation, about 1 min. The point: ratios are an analysis tool, not a style.

Ratio Piano: a score is a list of ratios

let song = [
  [[1], 1, 5/4, 3/2, [2], 2],
  [[4], [1/2, 3/4]],
]

[n] sets the length in beats; an array of ratios is a chord

  • Renders in the browser, highlights the playing note
  • Piano roll with each ratio and the intervals
  • Exports WAV, MP3 and microtonal MIDI
  • Can round any piece to 12-TET for comparison

Try it: rp-practice-44920e.pages.dev

Editor Piano roll
About 1 min. Maybe a short live demo instead of the screenshots.

Just intonation vs. 12-TET

J. S. Bach, Prelude in C major, bars 1-4, my transcription

A B

A is just intonation, B is 12-TET. Listen to the major thirds (5/4 is 386 cents, the 12-TET third is 400).

About 40 s. Play A and B, maybe ask the audience first which one is just intonation.

What transcribing taught me

1. Dominant chord: D = 9/8 2. ii chord (no G): D = 10/9 3. A common tone does not move as writtenother spelling

Examples from the Bach C major prelude: 1 is bars 18-19, 2 is bars 16-17, 3 is bars 13-14.

About 1.5 min. Probably only play one or two pairs; mention there are 5-6 patterns in the written summary.

Practice page: train your ears

  • Random excerpts from any transcription, starting at a bar line
  • 7 question types, each with an objective answer: just intonation or N-TET; 9/8 or 10/9; tritones 7/5, 25/18, 45/32; the seventh of a dominant seventh; did a common tone move; label the ratios yourself
  • Listen to a mystery version and compare it with each candidate; "focus" holds the chord so the beating is easier to hear
  • After answering: which ratios were too complex, and the related pattern
Practice page
About 1 min. Live demo of one question if time allows.

Original piece

TODO: the original piece (about 1 min). Audio here, plus two or three ratio choices in it and the patterns they follow.
About 1 min.

Status and next steps

Done
  • The tool: editor, rendering, piano roll, export, folders
  • 6 transcriptions (Cerebrawl is new this semester)
  • Practice page with 7 question types
  • Analysis scripts and A/B audio for the patterns
  • [TODO: original piece, written pattern summary]
Next
  • Let people new to just intonation try the practice page
  • Label 12-TET scores with ratios automatically, using the patterns, and compare with my hand labels
  • More transcriptions
About 40 s. Total so far about 7 min; cut slide 3 or 6 to a single sentence if over time.
Arrow keys or space: next / previous. F: full screen. N: notes.