Just Intonation in MeloPresto

PDF (A4)

Jim Plamondon

1. The goal

MeloJISynth is a proposed synthesizer for the MeloPresto Music System. The goal of MeloJISynth is to let a player play in JI (just intonation: tuning in which the notes of a chord stand in whole-number frequency ratios, such as 4:5:6), and above all to let the player accompany singers in JI. Singers can adjust their pitches as a chord changes. A keyboard tuned in twelve equal steps per octave cannot match the pure ratios of even an ordinary 4:5:6 major triad. MeloJISynth offers eight tunings so the player can choose pure ratios across the tested repertoire, subject to the limits in sections 5.5 and 8.

Bars: distance from JI of five intervals on a keyboard tuned in twelve equal steps; dots: MeloJISynth at zero
Figure 1. The distance from JI of each interval in two chords, in cents (one cent is one 1,200th of an octave). The bars show a keyboard tuned in twelve equal steps per octave. The dots show MeloJISynth, which sounds every interval of the two chords exactly in JI. The figure uses MeloPresto note names, which section 2.1 gives: So–Ti–Re–My is G–B–D–E♯, and Re–Fa–La is D–F–A. The keyboard has no key for My and plays the key of Fa in place of My.

The player is a jammist (a person who plays a jammer). A jammer is an instrument with thumb-sticks and a button-field (a grid of note-buttons on which each interval has one shape wherever the jammist plays the interval), as the Thummer was. The jammist chooses the tuning with one thumb-stick (a small joystick moved by the thumb, as on a game controller).

MeloJISynth makes sustained, organ-like sounds with harmonic timbres (sounds whose component frequencies are 1, 2, 3, 4 and so on times the frequency of the note). Chords in JI sound smoothest with harmonic timbres.

MeloJISynth uses just intonation throughout. It draws on Dynamic Tonality, in which tuning can vary continuously and a sound’s overtones can be adjusted to match the tuning (Sethares et al., 2009), without implementing that continuum:

MeloJISynth draws on Dynamic Tonality for both the note-to-ratio mapping and the construction of its control-states. As Milne showed, on the Thirteen Notes, each state matches or closely matches a Dynamic Tonality major or minor tuning map whose reference note has been moved. The differences matter: MeloJISynth chooses eight discrete tunings and trades smaller changes between some states for more coverage of pure chords. It does not implement the Tone Diamond or the Dynamic Tonality continuum. Sections 3–5 give the mapping and the differences.

2. The eight control-states

2.1 Note names

MeloPresto names notes with movable-Do syllables. Re corresponds to D in Milne’s example (2007, §1). The table lists the notes along the chain of fifths (the order of note names in which each note is a fifth above the note before).

MeloPresto nameRaLeMeTeFaDoSoReLaMiTiFiDiSiRiLiMy
Letter name when Re is DD♭A♭E♭B♭FCGDAEBF♯C♯G♯D♯A♯E♯

The flat side is the part of the chain of fifths to the left of Re. The sharp side is the part of the chain of fifths to the right of Re.

The Thirteen Notes are the notes from Le to Si: six fifths on the flat side of Re, Re, and six fifths on the sharp side of Re. The Thirteen Notes are the seven White Notes (Fa, Do, So, Re, La, Mi and Ti: the notes F, C, G, D, A, E and B) and the six Parallel Notes (Te, Me and Le on the flat side; Fi, Di and Si on the sharp side). The Thirteen Notes are also the two twelve-note chromatic scales centred on Re, taken together: the chromatic scale from Me to Si, which has Si and lacks Le, and the chromatic scale from Le to Di, which has Le and lacks Si.

The chain of fifths from Ra to My, with the Thirteen Notes, the White Notes, the Parallel Notes and the two chromatic scales bracketed
Figure 2. The chain of fifths from Ra to My. The Thirteen Notes are the seven White Notes and the six Parallel Notes. The two brackets under the chain of fifths mark the two twelve-note chromatic scales.
One row-pair of the button-field, with the Thirteen Notes bright and the other notes dimmed
Figure 3. The Thirteen Notes on one row-pair (two neighbouring rows of buttons, which together hold 21 notes) of the button-field. The flat side lies to the left of Re and the sharp side lies to the right of Re. The buttons of the White Notes are pale and the buttons of the Parallel Notes are dark. The buttons of the notes beyond the Thirteen Notes are dimmed. The small number after each note name is the octave number of the note.

MeloJISynth is designed for chords made from the Thirteen Notes. A jammist reaches chords on other notes by changing key.

2.2 Terms

2.3 How the jammist selects a control-state

The jammist pushes the thumb-stick to a stick position. MeloJISynth changes to the control-state of the stick position at once. The control-state stays in force after the thumb-stick returns to the centre. The control-state changes only when the jammist pushes the thumb-stick to a different stick position.

The thumb-stick with eight arrows, and beside each arrow the control-state that the stick position selects
Figure 4. The thumb-stick, the eight stick positions, and the control-state that each stick position selects.

2.4 The table of control-states

Stick positionReNotes moved one comma from the resting pitchNotes moved to a 7/4 pitchExamples of chords that the control-state makes pure
↑upper ReTe upnone of the Thirteen NotesSo–Ti–Re (4:5:6); Mi–So–Ti–Re (10:12:15:18); So–Ti–Re–My (4:5:6:7)
↗upper ReTe, Fa and La upnone of the Thirteen NotesSo–Ti–Re–Fa (20:25:30:36); So–Ti–Re–Fa–La (20:25:30:36:45)
→upper ReTe, Fa and La upTi, Fi, Di and Si (7/4 above Ra, Le, Me and Te)Me–So–Te–Di (4:5:6:7); Te–Re–Fa–Si (4:5:6:7)
↘lower RenoneTi, Fi, Di and Si (7/4 above Ra, Le, Me and Te)Le–Do–Me–Fi (4:5:6:7); Te–Re–Fa–Si (4:5:6:7)
↓lower ReFi downnone of the Thirteen NotesRe–Fa–La (10:12:15); Re–Fa–La–Do (10:12:15:18)
↙lower ReFi, So and Ti downnone of the Thirteen NotesTi–Re–Fa–La (25:30:36:45); Ti–Re–Fa–La–Do (25:30:36:45:54)
←lower ReFi, So and Ti downFa, Te, Me and Le (7/4 below Ri, Si, Di and Fi)Le–Ti–Re–Fi (60:70:84:105); Me–Fi–La–Di (60:70:84:105)
↖upper RenoneFa, Te, Me and Le (7/4 below Ri, Si, Di and Fi)Le–Ti–Re–Fi (60:70:84:105); Te–Di–Mi–Si (60:70:84:105)

Three facts summarize the table:

A grid of eight stick positions by thirteen notes, with the change of pitch of each note in cents
Figure 5. The table of control-states as a picture. Each row is one stick position and each column is one of the Thirteen Notes. A dot marks a note at the resting pitch. A coloured cell gives the distance of the note from the resting pitch, in cents. For Re, the coloured cell gives the distance of Re from the Reference Pitch.

3. Why Re has two pitches

MeloJISynth’s resting pitches follow Milne’s reverse mapping (2007, §1). In the JI lattice, a grid of ratios built from 3/2 and 5/4, many ratios one syntonic comma apart can map to the same note name. Milne selects a strip one comma wide, with an edge through the reference tone. An interior note has one candidate; a boundary note can have two, one syntonic comma apart. Milne (2026, §1.1) derives the location of the strip’s centre half a comma from the reference note. That placement makes the two maps mirror images, gives them the same pitch off the boundary, and puts an edge through the reference note.

In MeloJISynth the reference tone is Re. In the baseline 5-limit maps (whole-number ratios using the primes 2, 3 and 5), the Dynamic Tonality major map, also called the otonal map, has upper Re. Its mirror, the minor or utonal map, has lower Re. Measured from the centre, the two Re pitches are ±10.7531 cents from the Reference Pitch. Within the Thirteen Notes the two baseline maps differ only at Re. This is not the same as switching between MeloJISynth’s ↑ and ↓, which also changes Te and Fi. Milne calls the rule that selects a ratio for each note the privileged preimage.

The JI lattice with the strip between two red lines; lower Re lies on one line and upper Re on the other line
Figure 6. The JI lattice and the strip, after Figure 3 in Milne (2007), with MeloPresto note names above the corresponding letter names.

The rule for a resting pitch is short. For a note k fifths from Re along the chain of fifths, start k ratios of 3/2 above the Reference Pitch, lower the result by ⌊4k/17⌋ + ½ commas, and bring the result into one octave. Each resting pitch is therefore one simple ratio from the Reference Pitch, plus or minus half a comma (10.7531 cents).

NoteFifths from ReResting pitch, as a ratio from the Reference PitchResting pitch, in cents above the Reference Pitch
Le−636/25 − ½ comma620.5294
Me−516/15 + ½ comma122.4844
Te−48/5 − ½ comma802.9331
Fa−36/5 − ½ comma304.8881
Do−29/5 − ½ comma1006.8431
So−14/3 + ½ comma508.7981
Re01/1 − ½ comma (lower Re) or 1/1 + ½ comma (upper Re)−10.7531 or +10.7531
La+13/2 − ½ comma691.2019
Mi+29/8 − ½ comma193.1569
Ti+35/3 + ½ comma895.1119
Fi+45/4 + ½ comma397.0669
Di+515/8 − ½ comma1077.5156
Si+625/18 + ½ comma579.4706

4. Why other notes move one comma

Within the Thirteen Notes, Milne’s baseline major and minor maps differ only at Re (2026, §1.1). Moving Re alone makes 11 of the 14 triads and seventh chords of the White Notes pure: a chord that holds So needs upper Re, and a chord that holds La needs lower Re. The other three chords (Ti–Re–Fa, So–Ti–Re–Fa and Ti–Re–Fa–La) hold both Fa and Ti. Two intervals of 6/5 make 36/25. The interval from the resting pitch of Ti up to the resting pitch of Fa is 64/45, one comma narrower than 36/25. A chord that holds both Fa and Ti is therefore pure only when a second note moves one comma.

A search answered the question of how many control-states the chords need. The search covered every triad, seventh chord, ninth chord, eleventh chord and thirteenth chord on each of the seven notes of three collections: the White Notes; the Parallel Minor Notes (Le, Me, Te, Fa, Do, So and Re: the pattern of the White Notes placed three fifths toward the flat side); and the Parallel Major Notes (Re, La, Mi, Ti, Fi, Di and Si: the pattern of the White Notes placed three fifths toward the sharp side). The three collections hold 105 chords: 63 triads, sevenths and ninths, plus 42 elevenths and thirteenths. Milne found that either of two three-state sets (up, up-right and down-left; or up-right, down and down-left) makes all 63 smaller chords pure across its states. This shows that four states are not needed for those 63; it does not show that three is the minimum. The 42 larger chords need a stated criterion for comparing compromises before one can test whether a fourth state is required (section 8). The design retains ↑, ↗, ↓ and ↙.

Four small JI lattices, one for each of the stick positions up, up-right, down and down-left
Figure 7. The control-states of ↑, ↗, ↓ and ↙ in the JI lattice. In the control-state of ↑, Fa and La lie beside lower Re and far from upper Re, so Re–Fa–La is not pure. In the control-state of ↗, Fa and La have moved one comma and lie beside upper Re, so Re–Fa–La is pure. The control-states of ↓ and ↙ are the mirror images of the control-states of ↑ and ↗.

5. Why some notes move to a 7/4 pitch

5.1 Which note name carries 7/4

MeloPresto assigns ratios to note names by counting fifths along the chain of fifths. The ratio 3/2 is one fifth along the chain of fifths (Re to La). The ratio 5/4 is four fifths along the chain of fifths (Re to Fi), as in Milne’s mapping (2007, §1). The ratio 7/4 maps to ten fifths, with octave adjustment, as in septimal meantone (the mapping that also includes the prime 7). That correspondence determines the note name, not the exact pitch selected by each tuning map. The note 7/4 above So is therefore My (E♯ above G), as in 31-edo (the tuning that divides the octave into 31 equal steps). The chord 4:5:6:7 on So is So–Ti–Re–My, not So–Ti–Re–Fa. On the button-field, the note 7/4 above any note is five buttons along the row of the note.

A note on the sharp side at a 7/4 pitch sounds 7/4 above the note ten fifths toward the flat side. A note on the flat side at a 7/4 pitch sounds 7/4 below the note ten fifths toward the sharp side.

The chain of fifths with lines that join each note at a 7/4 pitch to the note ten fifths away
Figure 8. The note that each 7/4 pitch is measured from. Each line joins two notes that are ten fifths apart along the chain of fifths.
Two row-pairs of the button-field with the buttons So, Ti, Re and My ringed
Figure 9. The chord So–Ti–Re–My (4:5:6:7) on two row-pairs of the button-field. The numbers 4, 5, 6 and 7 mark the four notes of the chord. The small numbers 1 to 5 count the five buttons along the row from So to My.

5.2 Why four control-states have 7/4 pitches

Two kinds of chord need a 7/4 pitch:

One control-state cannot serve both kinds of chord, because a control-state gives every note exactly one pitch. In Te–Re–Fa–Si, Te sounds at the resting pitch and Si sounds at a 7/4 pitch. In Te–Di–Mi–Si, Si sounds at the resting pitch and Te sounds at a 7/4 pitch. MeloJISynth therefore has two control-states that move Ti, Fi, Di and Si to 7/4 pitches (→ and ↘), and two control-states that move Fa, Te, Me and Le to 7/4 pitches (← and ↖).

Two chords side by side, with the pitch of each note
Figure 10. The two example chords, with the pitch of each note in cents above the Reference Pitch.

5.3 The 7/4 pitches

For the changes in the table below, the 7/4 pitch differs from the resting pitch by 7.71 cents (225/224) or 13.79 cents (126/125). Like 81/80, both ratios are commas of septimal meantone. Moving a note to a 7/4 pitch and moving it by a syntonic comma are the same kind of change: both select a different ratio for the same named note.

NoteThe note sounds 7/4Stick position7/4 pitch, in cents above the Reference PitchChange from the resting pitch
Tiabove Ra→ and ↘887.40037.71 cents down
Fiabove Le→ and ↘389.35537.71 cents down
Diabove Me→ and ↘1091.310313.79 cents up
Siabove Te, with Te one comma up→593.265313.79 cents up
Siabove Te, with Te at the resting pitch↘571.75907.71 cents down
Fabelow Ri← and ↖312.59977.71 cents up
Tebelow Si← and ↖810.64477.71 cents up
Mebelow Di← and ↖108.689713.79 cents down
Lebelow Fi, with Fi one comma down←606.734713.79 cents down
Lebelow Fi, with Fi at the resting pitch↖628.24107.71 cents up

In the control-state of ↘, Fi sounds at a 7/4 pitch, so Fi is not one comma down as Fi is in the control-state of ↓. In the control-state of ↖, Te sounds at a 7/4 pitch, so Te is not one comma up as Te is in the control-state of ↑.

5.4 Notes beyond the Thirteen Notes

In the four control-states of ↑, ↗, ↓ and ↙, none of the Thirteen Notes sounds at a 7/4 pitch. The notes beyond the Thirteen Notes sound at 7/4 pitches: each note beyond Si sounds 7/4 above the note ten fifths toward the flat side, and each note beyond Le sounds 7/4 below the note ten fifths toward the sharp side. My therefore sounds 7/4 above So, and So–Ti–Re–My is pure (4:5:6:7) in the control-states of ↑, ↗ and ↙.

In each case use the anchor note’s pitch in the selected state, with octave adjustment. The directional rule applies to the outer notes as well as to the named changes within the Thirteen Notes in section 5.3.

5.5 The chords examined

A second search covered 472 chords: the 105 chords of section 4; 355 placements of the 23 chord shapes that contain a 7 and in which every interval between two notes is a ratio of two of the numbers 1, 3, 5, 7 and 9, allowing octaves; and the 12 placements of the six-note chord whose notes are the products of two of the numbers 1, 3, 5 and 7. The search for the 355 and 12 placements used a chain of 25 notes, twelve fifths on each side of Re and Re itself; this is wider than the 21 notes of a single row-pair. Milne reproduced the counts and verified that all 430 chords other than the 42 elevenths and thirteenths are pure in at least one of the eight states when the directional rule in section 5.4 is used. If the outer notes are instead left at their resting pitches in →, ↘, ← and ↖, 56 of those 430 chords are pure in none of the states. No “best possible” result is claimed for the 42.

5.6 How the eight states compare with the Dynamic Tonality maps

Milne compared the pitches on the Thirteen Notes with Dynamic Tonality maps moved to other reference notes. A match in this table is a match of actual pitches in that range, not just of note names.

Stick positionDynamic Tonality comparisonMatches among the Thirteen Notes
↑5-limit major map moved to Te13 of 13
↓5-limit minor map moved to Fi13 of 13
↗5-limit major map moved to Fa12 of 13; Di is a syntonic comma lower in MeloJISynth
↙5-limit minor map moved to Ti12 of 13; Me is a syntonic comma higher in MeloJISynth
↘7-limit major map moved to Me12 of 13
↖7-limit minor map moved to Di12 of 13
→7-limit major map moved to Fa11 of 13
←7-limit minor map moved to Ti11 of 13

The trade-off is visible even without moving the reference note. Within the Thirteen Notes, ↑ and ↓ each make 14 of the 18 major and minor triads pure; each baseline Dynamic Tonality map at Re makes 12 pure. Together ↑ and ↓ cover all 18; the two baseline 5-limit maps together cover 14. Switching between ↑ and ↓ changes three of the Thirteen Notes; switching between the baseline 5-limit maps changes only Re.

A possible simpler design would use four Dynamic Tonality maps at Re: major and minor at each of the 5- and 7-limits. It is an alternative, not an equivalent replacement. For example, on a 21-note row-pair, the two baseline Dynamic Tonality 7-limit maps together make 6 of 22 otonal and utonal tetrad placements pure, compared with all 22 across the eight MeloJISynth states.

Even where a 7/4 note name agrees, the pitches may differ. Of the eight notes beyond the Thirteen Notes on a 21-note row-pair, ↑ agrees with the baseline 7-limit major map at De, Se, Ra, Li and My, but not Fe, Ri or Ty. The corresponding ↓ comparison with the baseline 7-limit minor map agrees at De, Se, Ri, Li and My, but not Fe, Ra or Ty. At the differing notes the baseline map keeps the 5-limit pitch where MeloJISynth uses a 7/4 pitch.

6. How the control-states are assigned to stick positions

The order around the thumb-stick is ↑, ↗, →, ↘, ↓, ↙, ←, ↖ and back to ↑. Moving directly between ↑ and ↓ changes only Re among the White Notes. Within the Thirteen Notes it also changes Te and Fi.

Note rangeNotes changing per adjacent stepTotal movement around the ring
Thirteen Notes2, 4 or 5473.14 cents
21-note row-pair4, 7 or 8792.91 cents
25-note chain used for the coverage test5, 8 or 10940.62 cents

On the Thirteen Notes, six steps each move either two notes by a syntonic comma or four notes as they switch to or from 7/4 pitches. Each of those steps totals 43.01 cents. At → to ↘ and ← to ↖, five notes move, totaling 107.53 cents per step. The two steps that move Re still have the largest total movement on the 25-note chain (172.05 cents each), even though some other steps move more notes. The outer-note rule in section 5.4 accounts for the additional changes.

The eight stick positions in a ring, with the changes among the Thirteen Notes at each step
Figure 11. Changes among the Thirteen Notes at each step between neighbouring stick positions. The figure does not show changes to notes outside that range.

7. How a score shows the control-state

A score shows the control-state as an arrow above the staff. The arrow points in the direction of the stick position. An arrow stays in force until the next arrow. A score begins with an arrow, and the jammist pushes the thumb-stick to the stick position of the first arrow before starting to play, as a player chooses a sound before starting to play.

Five chords in a row with the arrows of a score above the chords
Figure 12. Five chords with the arrows of a score. The arrow ↑ stays in force for the first two chords. The arrow ↓ selects lower Re for Re–Fa–La, and the arrow ↑ selects upper Re again for So–Ti–Re. The bottom row shows an instrument that has only upper Re: Re–Fa–La is not pure on that instrument.

8. The tuning trade-off in elevenths and thirteenths

The ideal ratios can conflict. In Do–Mi–So–Ti–Re–Fa, making each of the five stacked thirds pure gives a root-to-top ratio of 27/10. A pure eleventh would be 8/3. The two differ by 81/80, so this chord cannot satisfy both requirements at once.

Five stacked intervals that reach one comma beyond the pure eleventh
Figure 13. The eleventh chord Do–Mi–So–Ti–Re–Fa. The five pure intervals add up to one comma more than the pure eleventh.

On the White Notes, Milne found that the only stacked third that can be impure in the baseline 5-limit major map at Re is Re–Fa. In the baseline minor map the corresponding third is Ti–Re. Some chords avoid an impure stacked third by accepting an impure eleventh. His examples are the eleventh chord on La in the major map and on Re in the minor map.

These examples show different compromises. They do not prescribe a preferred tuning by chord root or by voicing, and Milne knows of no such rule. The design has not yet specified how to weigh a pure fifth, a pure stacked third and a pure interval from root to top against one another. The 42 elevenths and thirteenths are therefore not included in the verified coverage claim.

9. Open questions

How should the tuning compromises for elevenths and thirteenths be compared? Would the simpler four-map control be preferable in practice despite its lower chord coverage?

Acknowledgment

I thank Andrew J. Milne for reviewing this paper, reproducing the pitch calculations and chord-coverage counts, and showing how the eight tuning states relate to his Dynamic Tonality maps.

References