Four voices · sixteen throws
Chorale Dice
A companion to the Musical Dice Game. Two dice for each of sixteen chords choose the harmony from a table; the page writes soprano, alto, tenor and bass by the classical rules of voice leading, adds movement between the chords, and plays them as four voices or as broken chords, on the instrument and at the tempo you choose.
The score
Four voices: soprano and alto on the upper staff, tenor and bass on the lower, the fermatas marking the half cadence and the close. Broken chords: one chord to a bar, alto and soprano in the right hand, bass and tenor in the left.
How it works
This is not a historical game. The eighteenth-century dice games, the one attributed to Mozart among them, worked with finished bars of keyboard music; nobody published one for four voices. This page borrows the idea and applies it a level down: the dice choose harmonies, and the voices are written by rule.
There is a table of sixteen columns, one per chord, and eleven rows, one per dice total. Each column keeps to one harmonic function, so any throw produces two four-bar phrases: the first opens on the tonic and closes on the dominant at position 8, the second closes with a dominant and a tonic at positions 15 and 16. Those cadence columns are fixed; in the others the likely totals (6, 7, 8) carry the plainest chords and the rare ones (2 and 12) the colour, a borrowed minor subdominant or a secondary dominant.
Given the sixteen chords, the four parts are chosen among every voicing that keeps each voice in its range, keeps the chord complete, doubles sensibly and never doubles the leading tone. The cheapest path through them is found where the cost between chords encodes the textbook: no parallel fifths or octaves, no hidden ones in the outer voices, the leading tone and every seventh resolve by step, raised notes rise and lowered notes fall, voices move as little as they can and never overlap. The same chords in the same key always give the same voices, so a link reproduces the chorale exactly.
Motion adds movement between the chords without touching them. With passing notes, a voice that moves by a third takes the scale note between, one that leaps a fourth or more takes the chord tone it skips over, and a soprano that would repeat its note takes a neighbour. Lively goes further in quavers: a fourth or a fifth is filled as a run, and a repeating soprano turns round both its neighbours. Each added note falls on the second half of the chord, unaccented, and is kept only where it makes no parallel fifths or octaves, no crossing and no unison with the voice beside it; over a chromatic chord only chord tones are added. Plain leaves the chords bare.
The broken-chord texture plays the same voices as a keyboard figure: each half of a chord becomes bass, tenor, alto, soprano, alto, tenor in quavers, so a chord fills a bar of 12/8 and an added note arrives at the top of the second figure. The last chord is rolled and held. Nothing in the harmony or the voice leading changes between the textures; only the way the notes are laid out in time does.
Five instruments are synthesised in the browser: a choir, an organ and strings, which hold their notes, and a piano and a harp, which strike them and let them ring. "To suit the texture" gives the four voices to the choir and the broken chords to the piano. The tempo slider sets the beat, a crotchet for four voices and a dotted crotchet for broken chords. The score is engraved from the same notes that are played.
Sources
- The idea: the Musikalisches Würfelspiel commonly attributed to Mozart, and its relatives.
- Notation: engraved in the browser by abcjs (MIT licence, Paul Rosen and Gregory Dyke).