Low Complexity Intervals

I wanted some simple intervals to test a microtonal score writing program. These ones only differ from 5-limit natural intervals by one or two commas, I think. They're 23-limit commas, but still.

Here is the full set of interval qualities: [P, M, m, A, d, Ac, Gr, AcM, Grm, Sp, Sb, SpM, Sbm, SpA, Sbd, As, De, Asm, DeM, AsGrm, DeAcM, Pr, Re, Prm, ReM, Ex, Hu, ExM, Hbm, Rs, Fa, Fam, RsM, Nb, NbM, Dsm, ReAsM, PrDem, RsAsM, FaDem. RsSbM, FaSpm, SbAcm, SpGrM].

Here are the intervals.

P1 # 1/1 @ 0c

SpA0 # 225/224 @ 8c

Rs1 # 96/95 @ 18c

Ac1 # 81/80 @ 22c

Pr1 # 65/64 @ 27c

Ex1 # 51/50 @ 34c

Nb1 # 46/45 @ 38c

d2 # 128/125 @ 41c

Sp1 # 36/35 @ 49c

As1 # 33/32 @ 53c

Sbm2 # 28/27 @ 63c

A1 # 25/24 @ 71c

Dsm2 # 24/23 @ 74c

Hbm2 # 160/153 @ 77c

SbAcm2 # 21/20 @ 84c

PrDem2 # 104/99 @ 85c

Grm2 # 256/243 @ 90c

Fam2 # 19/18 @ 94c

m2 # 16/15 @ 112c

SpA1 # 15/14 @ 119c

Prm2 # 13/12 @ 139c

FaSpm2 # 38/35 @ 142c

AsGrm2 # 88/81 @ 143c

DeAcM2 # 12/11 @ 151c

ReM2 # 128/117 @ 156c

Asm2 # 11/10 @ 165c

M2 # 10/9 @ 182c

Sbd3 # 28/25 @ 196c

RsM2 # 64/57 @ 201c

AcM2 # 9/8 @ 204c

ReAsM2 # 44/39 @ 209c

ExM2 # 17/15 @ 217c

NbM2 # 92/81 @ 220c

SpM2 # 8/7 @ 231c

d3 # 144/125 @ 245c

A2 # 125/108 @ 253c

RsAsM2 # 22/19 @ 254c

Sbm3 # 7/6 @ 267c

Dsm3 # 27/23 @ 278c

Hbm3 # 20/17 @ 281c

SbAcm3 # 189/160 @ 288c

PrDem3 # 13/11 @ 289c

Grm3 # 32/27 @ 294c

Fam3 # 19/16 @ 298c

SpA2 # 25/21 @ 302c

m3 # 6/5 @ 316c

DeM3 # 40/33 @ 333c

Prm3 # 39/32 @ 342c

FaSpm3 # 171/140 @ 346c

AsGrm3 # 11/9 @ 347c

DeAcM3 # 27/22 @ 355c

ReM3 # 16/13 @ 359c

Asm3 # 99/80 @ 369c

Sbd4 # 56/45 @ 379c

M3 # 5/4 @ 386c

RsM3 # 24/19 @ 404c

AcM3 # 81/64 @ 408c

ReAsM3 # 33/26 @ 413c

SpGrM3 # 80/63 @ 414c

ExM3 # 51/40 @ 421c

NbM3 # 23/18 @ 424c

d4 # 32/25 @ 427c

SpM3 # 9/7 @ 435c

De4 # 128/99 @ 445c

Sb4 # 35/27 @ 449c

A3 # 125/96 @ 457c

RsAsM3 # 99/76 @ 458c

Re4 # 256/195 @ 471c

Fa4 # 95/72 @ 480c

P4 # 4/3 @ 498c

SpA3 # 75/56 @ 506c

Rs4 # 128/95 @ 516c

Ac4 # 27/20 @ 520c

Pr4 # 65/48 @ 525c

Ex4 # 34/25 @ 532c

Nb4 # 184/135 @ 536c

Sp4 # 48/35 @ 547c

As4 # 11/8 @ 551c

A4 # 25/18 @ 569c

Sbd5 # 7/5 @ 583c

SpA4 # 10/7 @ 617c

d5 # 36/25 @ 631c

De5 # 16/11 @ 649c

Sb5 # 35/24 @ 653c

Re5 # 96/65 @ 675c

Gr5 # 40/27 @ 680c

Fa5 # 95/64 @ 684c

Sbd6 # 112/75 @ 694c

P5 # 3/2 @ 702c

Rs5 # 144/95 @ 720c

Ac5 # 243/160 @ 723c

Pr5 # 195/128 @ 729c

Ex5 # 153/100 @ 736c

Nb5 # 23/15 @ 740c

d6 # 192/125 @ 743c

Sp5 # 54/35 @ 751c

As5 # 99/64 @ 755c

Sbm6 # 14/9 @ 765c

A5 # 25/16 @ 773c

Dsm6 # 36/23 @ 776c

Hbm6 # 80/51 @ 779c

SbAcm6 # 63/40 @ 786c

PrDem6 # 52/33 @ 787c

Grm6 # 128/81 @ 792c

Fam6 # 19/12 @ 796c

m6 # 8/5 @ 814c

SpA5 # 45/28 @ 821c

DeM6 # 160/99 @ 831c

Prm6 # 13/8 @ 841c

FaSpm6 # 57/35 @ 844c

AsGrm6 # 44/27 @ 845c

DeAcM6 # 18/11 @ 853c

ReM6 # 64/39 @ 858c

Asm6 # 33/20 @ 867c

M6 # 5/3 @ 884c

Sbd7 # 42/25 @ 898c

RsM6 # 32/19 @ 902c

AcM6 # 27/16 @ 906c

ReAsM6 # 22/13 @ 911c

ExM6 # 17/10 @ 919c

NbM6 # 46/27 @ 922c

SpM6 # 12/7 @ 933c

d7 # 216/125 @ 947c

A6 # 125/72 @ 955c

RsAsM6 # 33/19 @ 956c

Sbm7 # 7/4 @ 969c

Dsm7 # 81/46 @ 980c

Hbm7 # 30/17 @ 983c

PrDem7 # 39/22 @ 991c

Grm7 # 16/9 @ 996c

Fam7 # 57/32 @ 999c

SpA6 # 25/14 @ 1004c

m7 # 9/5 @ 1018c

DeM7 # 20/11 @ 1035c

Prm7 # 117/64 @ 1044c

AsGrm7 # 11/6 @ 1049c

DeAcM7 # 81/44 @ 1057c

ReM7 # 24/13 @ 1061c

Sbd8 # 28/15 @ 1081c

M7 # 15/8 @ 1088c

RsM7 # 36/19 @ 1106c

AcM7 # 243/128 @ 1110c

ReAsM7 # 99/52 @ 1115c

SpGrM7 # 40/21 @ 1116c

ExM7 # 153/80 @ 1123c

NbM7 # 23/12 @ 1126c

d8 # 48/25 @ 1129c

SpM7 # 27/14 @ 1137c

De8 # 64/33 @ 1147c

Sb8 # 35/18 @ 1151c

A7 # 125/64 @ 1159c

Re8 # 128/65 @ 1173c

Gr8 # 160/81 @ 1178c

Fa8 # 95/48 @ 1182c

P8 # 2/1 @ 1200c

Nice.

Ozan Yarman's 17-Tone Scale

Ozan Yarman thinks he's provided a superior analysis of the 17 tone scale of Safi al-Din al-Urmawi. Yarman is hugely critical of others and hugely self aggrandizing, and often has large errors or critical omissions in his writing. I hate reading his work, but he writes about things I want to learn. Let's see what he has to say.

He's got a paper about it, "The True Tuning of Urmawi: A Katapyknotic Reinterpretation of the 17-tone Abjad System" (Yarman, Berkman, Taşdelen, 2026) and a 40 minute youtube video in Turkish. The youtube video was too slow for me, but I think I've got the gist from the paper.

Urmawi has a drawing in the Kitab al-Adwar of a lute with equally spaced frets between the nut (the lowest, unfingered string position) and the fret that gives a sound 4/3 times the open string frequency. Yarman think that this picture is more important than the text of the book, in which Urmawi describes a Pythagorean intonation for fretting. So Yarman describes a method of dividing up 4/3 into arithmetically equal pieces. Basically, we multiply 4/3 by 7/7, giving 28/21. Then our frets will have frequency ratios with the same numerator, but denominators varying  between 21 and 28, i.e. [28/28, 28/27, 28/26, 28/25, 28/24, 28/23, 28/22, 28/21]. Some of these ratios reduce, giving us [1/1, 28/27, 14/13, 28/25, 7/6, 28/23, 14/11, 4/3]. Next Yarman replaces 28/25 with 9/8. He says this is for octave equivalence with other open strings? You'll have more equivalences if you turn them all into Pythagorean ratios, dude. But these two ratios only differ by 225/224, so whatever.

Here are the intervals justly associated with those frequency ratios (with 9/8 instead of 28/25):

    [P1, Sbm2, ReSbAcM2, AcM2, Sbm3, DsSbd4, DeSbAc4, P4]

To get a full scale, we also need to know how the strings, all fretted with the same spacing, compare in their open string frequency ratios. Yarman says that the strings are [D2, G2. C3, F3, Bb4, Eb4]. He also places the root of his scale on C3 and describes the other strings in relation to it, with Pythagorean ratios for separation: [9/16, 3/4, 1/1, 4/3, 16/9, 64/27]. That all looks good.

If I combine every fret interval with every open string interval, and raise or lower by octaves until all the results are in the range [1/1, 2/1], then I get a huge scale. Here it is in both intervals and frequency ratios:

[P1, Sbm2, ReSbAcM2, DsSbGrd3, AcM2, DeSbm3, Sbm3, Grm3, ReSbAcM3, DsSbd4, SbGrd4, AcM3, DeSbAc4, ReSb4, SbAc4, P4, DsSbd5, SbGrd5, DeSbAc5, ReSb5, DsSbGrd6, P5, DeSbm6, Sbm6, Grm6, ReSbAcM6, DsSbGrd7, AcM6, DeSbm7, Sbm7, Grm7, DsSbd8, SbGrd8, DeSbAc8, ReSb8, P8]

[1/1, 28/27, 14/13, 224/207, 9/8, 112/99, 7/6, 32/27, 63/52, 28/23, 896/729, 81/64, 14/11, 448/351, 21/16, 4/3, 63/46, 112/81, 63/44, 56/39, 896/621, 3/2, 448/297, 14/9, 128/81, 21/13, 112/69, 27/16, 56/33, 7/4, 16/9, 42/23, 448/243, 21/11, 224/117, 2/1]

That's not the scale that Yarman shares. Instead, Yarman just ignores any frequency ratio >= 1/1 and <= 2/1. Which means that the two lowest strings, D2 and G2, and the highest string, Eb4, aren't participating in the scale at all. And now it becomes clear what Yarman meant by "octave equivalence" when he was justifying altering the third fret: the third fret of the Bb string is C4. He just wanted to go from C to C. The rest of the scale doesn't repeat. Fine.

Here's Yarman's little scale in intervals and ratios:

[P1, Sbm2, ReSbAcM2, AcM2, Sbm3, DsSbd4, DeSbAc4, P4, SbGrd5, ReSb5, P5, Sbm6, DsSbGrd7, DeSbm7, Grm7, SbGrd8, ReSb8, P8]

[1/1, 28/27, 14/13, 9/8, 7/6, 28/23, 14/11, 4/3, 112/81, 56/39, 3/2, 14/9, 112/69, 56/33, 16/9, 448/243, 224/117, 2/1] 

You might wonder how this compares to the Pythagorean scale that Urwawi actually describes in this text or to 24-EDO for that matter. Let's just talk about the intervals a little first.

The scale has a  Zalzalian neutral second of 14/13. I don't think you need that for any maqamat rooted on C or D or Ed, but maybe it's useful for other modes.

It has a sub-minor second instead of a minor second. A little odd, but cool.

It has a normal major second, but a sub-minor third instead of a grave minor third.

It has an unusual ratio for the neutral third of 28/23 @ 341c, but the placement isn't that odd.  It also has an unusual ratio for the major third of 14/11 @ 418c, but it's only 10 cents higher than Pythagorean.

It a normal has P4 and P5, but between them we have a tritone of 56/39 at 626 cents and a half flat tritone of 112/81 at 561 cents.

We've got a sub-minor sixth instead of a grave minor sixth.

There's a neutral sixth of 112/69 @ 839c. Weird ratio, but okay.

The major sixth is a weird ratio but not that weird in its placement with 56/33 @ 916c.

The scale has a normal Pythagorean minor seventh, and then a neutral seventh of 448/243 at 1059c which is fine.

The scale's major seventh at 224/117 @ 1124c is fine. It's 15 cents sharp of Pythagorean, but maybe that gives us a stronger pull toward the octave.

It's a pretty good scale melodically. I almost hope that it's real, because I like sub-minor sounds and I've been surprised how little they show up in other middle eastern intonation analyses. While the scale is good melodically, it's obviously hot garbage harmonically.

The paper has much more content than this - it discusses modes at length, but it's not a clear presentation. I might try to decipher some other day when I'm not already angry from reading Yarman.

Mothra[11] Harmony

Someone asked around generally for help harmonizing the mothra[11] scale, but didn't describe it. I couldn't find a description online at the time but still offered to help if they'd give me something to go on. But they didn't. Two months later I thought of it again and did another search. This time, I found this description of mothra[11] in relative steps of 31-EDO: 

    [5, 1, 5, 1, 5, 1, 5, 1, 5, 1, 1].

I don't care much about xenharmonic scales like these, but it kind of stuck in my craw that the person wouldn't describe the scale they wanted help with, so now I'm going to analyze it really well out of spite.

If we accumulate the relative scale steps we get absolute steps: 

    [0, 5, 6, 11, 12, 17, 18, 23, 24, 29, 30, 31]

And harmonizing that is dirt simple; almost every scale degree has a root position septimal triad as a diatonic option:

^0: [P1, SpM3, P5]

^5: [P1, Sbm3, P5]

^6: [P1, SpM3, P5]

^11: [P1, Sbm3, P5]

^12: [P1, SpM3, P5]

^18: [P1, SpM3, P5]

^24: [P1, Sbm3, P5]

^30: [P1, Sbm3, P5]

We're just missing ^[17, 23, and 29], and even those notes are participating in the harmonies above, just not as root notes; you could readily put septimal [1, 3, 6] and [1, 4, 6] inversions of septimal chords on those scale degrees. Those three scale degrees all have Sbm3 and/or m3 as options above for harmonization, but they don't have very good options for a chordal fifth. If you really want a root position triad on those scale degrees, you're going to need to make use of some unusual chords, like perhaps

[0, 12, 19]\31 _ [13:17:20] ~ [P1, ExReA3, ReA5] # [1/1, 17/13, 20/13]

[0, 7, 14]\31 _ [36:42:49] ~ [P1, Sbm3, SbSbd5] # [1/1, 7/6, 49/36]

[0, 7, 19]\31 _ [30:35:46] ~ [P1, Sbm3, Nb5] # [1/1, 7/6, 23/15]

[0, 7, 19]\31 _ [36:42:55] ~ [P1, Sbm3, AsGr5] # [1/1, 7/6, 55/36]

[0, 7, 19]\31 _ [42:49:64] ~ [P1, Sbm3, SpGr5] # [1/1, 7/6, 32/21]

[0, 7, 20]\31 _ [33:38:51] ~ [P1, FaDem3, ExDeA5] # [1/1, 38/33, 17/11]

[0, 8, 19]\31 _ [15:18:23] ~ [P1, m3, Nb5] # [1/1, 6/5, 23/15]

[0, 8, 19]\31 _ [35:42:54] ~ [P1, m3, Sp5] # [1/1, 6/5, 54/35]

[0, 8, 20]\31 _ [11:13:17] ~ [P1, PrDem3, ExDeA5] # [1/1, 13/11, 17/11]

Each line has the tempered tuning of the chord in 31-EDO steps, then an otonal representation of the just tuning of the chord, then interval names, then the just tuning of the chord.

Those are options, and I don't hate the sound of them, but I also think septimal triads on 8 of the scale degrees should be plenty for music making.

If you want to extend the root position septimal triads to four note chords / tetrads, I think these are probably the best options:

[0, 7, 18, 24]\31 _ [42:49:63:72] ~ [P1, Sbm3, P5, SpM6] # [1/1, 7/6, 3/2, 12/7]

[0, 7, 18, 25]\31 _ [12:14:18:21] ~ [P1, Sbm3, P5, Sbm7] # [1/1, 7/6, 3/2, 7/4]

[0, 7, 18, 26]\31 _ [30:35:45:54] ~ [P1, Sbm3, P5, m7] # [1/1, 7/6, 3/2, 9/5]


[0, 11, 18, 25]\31 _ [28:36:42:49] ~ [P1, SpM3, P5, Sbm7] # [1/1, 9/7, 3/2, 7/4]

[0, 11, 18, 29]\31 _ [14:18:21:27] ~ [P1, SpM3, P5, SpM7] # [1/1, 9/7, 3/2, 27/14]


With those chords defined, here are the diatonic tetrad options:

^0: [P1, SpM3, P5] + [SpM7]

^5: [P1, Sbm3, P5] + [SpM6 or Sbm7 or m7]

^6: [P1, SpM3, P5] +  [Sbm7]

^11: [P1, Sbm3, P5] + [Sbm7 or m7]

^12: [P1, SpM3, P5] + [Sbm7]

^18: [P1, SpM3, P5] + [Sbm7]

^24: [P1, Sbm3, P5] + [SpM6 or Sbm7]

^30: [P1, Sbm3, P5] + [SpM6 or Sbm7]

Easy.

A 24-EDO Detempering

When I play with arababic maqam muisc, often notated in 24-EDO, my first instict for detempering is to to use a Pythagorean tunings for tonal notes and 11-limit tunigns for neutral tones.

0 : P1 :: 1/1 _ C

1 : As1 :: 33/32 _ Ct

2 : Grm2 : 256/243 _ Db

3 : AsGrm2 :: 88/81 _ Dbt

3 : DeAcM2 :: 12/11 _ Dd

4 : AcM2 :: 9/8 _ D

5 : AsAcM2 :: 297/256 _ Dt

5 : DeGrm3 :: 1024/891 _ Ebd

6 : Grm3 :: 32/27 _ Eb

7 : AsGrm3 :: 11/9 _ Ebt

7 : DeAcM3 :: 27/22 _ Ed

8 : AcM3 :: 81/64 _ E

9 : AsAcM3 :: 2673/2048 _ Et

9 : De4 :: 128/99 _ Fd

10 : P4 :: 4/3 _ F

11 : As4 :: 11/8 _ Ft

12 : AcAcA4 :: 729/512 _ F#

12 : GrGrd5 :: 1024/729 _ Gb

13 : De5 :: 16/11 _ Gd

14 : P5 :: 3/2 _ G

15 : As5 :: 99/64 _ Gt

15 : DeGrm6 :: 4096/2673 _ Abd

16 : Grm6 :: 128/81 _ Ab

17 : AsGrm6 :: 44/27 _ Abt

17 : DeAcM6 :: 18/11 _ Ad

18 : AcM6 :: 27/16 _ A

19 : AsAcM6 :: 891/512 _ At

19 : DeGrm7 :: 512/297 _ Bbd

20 : Grm7 :: 16/9 _ Bb

21 : AsGrm7 :: 11/6 _ Bbt

21 : DeAcM7 :: 81/44 _ Bd

22 : AcM7 :: 243/128 _ B

23 : De8 :: 64/33 _ Cd

24 : P8 :: 2/1 _ C

I'm sure that there are better options, but this one also isn't so bad.

Wyschnegradsky and Blackwood

: Intro

Ivan Wyschnegradsky (1893 - 1979) and Easley Blackwood Jr. (1933 - 2033) were two noted microtonal composers who did a good amount of work in 24-EDO.

I'd like to learn more about their theories. 

: Wyschnegradsky

Wyschnegradsky laid out his theoriest in his "Manual of Quarter-Tone Harmony", but I haven't read it. I'll start with things I've heard about it.

Wyschnegradsky used quartertones in dissonant ornaments between consonances - passing tones, neighbor tones, maybe note cambiate - as well as using quartertones in unprepared grace notes, appoggiaturas.

He also looked at triads and tetrads which were altered from traditional tonal ones by a qurter tone in one note.

He also had a special 13-note scale. He probably had lots of scales, but this is more species. It's called "the quasi-diatonic" or "the diatonized chromatic scale" or "the chromatic scale diatonicized to 13 tones". It has 13 notes.

Suppose we start at zero steps of 24-EDO, and add on 11 steps repeatedly, subtracting 24 if we exceed 24. Then we get this sequence:

    [0, 11, 22, 9, 20, 7, 18, 5, 16, 3, 14, 1, 12, ...] -> 

Which, if we cut it short at 13 notes, can be ordered to give this sequence:

    [0, 1, 3, 5, 7, 9, 11, 12, 14, 16, 18, 20, 22] 

which has these relative intervals, plus 2 steps to reach the octave:

    [1, 2, 2, 2, 2, 2]  [1, 2, 2, 2, 2, 2] + [2]

Wyschnegradsky's quasi-diatonics scale is a rotation and rebracketing of this. Here it is in absolute steps:

[0, 2, 4, 6, 8, 10, 11, 13, 15, 17, 19, 21, 23, 24]

And relative steps:

     [2, 2, 2, 2, 2, 1] [2] [2, 2, 2, 2, 2, 1]

and pitches, not quite in his notation but hopefully close enough:

[C, C#, D, D#, E, F, Ft, Gd, Gt, Ad, At, Bd, Bt, C]

This scale has two identical subscales of 7 notes spanning 11\24, which are joined by a 2\24 minor second. The same way you can modulate from C major to F major or G readily by major moving around a circle of 5ths, in the process retaining all the notes of one tetrachord, Wyschnegradsky would readily modulate from this scale to one rooted on Ft or Gd, along the circle of 11\24 steps, and retain notes of the upper or lower tetrachord.

Wyschnegradsky is basically giving up on using the perfect fifth with this scale, but has to option to use the octave reduced 11th harmonic, aka the ascendant fourth, justly tuned to 11/8 and tuned by 24-EDO to 11\24 all over the place.

I think he would commonly form chords within this scale by going up three scale degrees. Here are tetrads constructed in that way on each scale degree:

[C, D#, Ft, Ad]

[C#, E, Gb, At]

[D, F, Gt, Bd]

[D#, Ft, Ad, Bt]

[E, Gd, At, C]

[F, Gt, Bd, C#]

[Ft, Ad, Bt, D]

[Gd, At, C, D#]

[Gt, Bd, C#, E]

[Ad, Bt, D, F]

[At, C, D#, Ft]

[Bd, C#, E, Gd]

[Bt, D, F, Gt]

These actually only come in four patterns of steps:


[0, 5, 11, 16] [At, C, D#, Ft]

[0, 5, 11, 16] [Bd, C#, E, Gd]

[0, 5, 11, 16] [Bt, D, F, Gt]

[0, 5, 11, 16] [E, Gd, At, C]

[0, 5, 11, 16] [F, Gt, Bd, C#]


[0, 5, 11, 17] [D#, Ft, Ad, Bt]


[0, 6, 11, 17] [Ad, Bt, D, F]

[0, 6, 11, 17] [C#, E, Gd, At]

[0, 6, 11, 17] [C, D#, Ft, Ad]

[0, 6, 11, 17] [D, F, Gt, Bd]

[0, 6, 11, 17] [Gd, At, C, D#]

[0, 6, 11, 17] [Gt, Bd, C#, E]


[0, 6, 12, 17] [Ft, Ad, Bt, D]

Maybe he suses other 7th chords besides these, I don't really know. I just heard that he skips by 3s a lot.

If I wanted to sound a little like Wyschnegradsky, I'd play through the skip-3 triads and tetrads like these, see which ones chain together well, and start making progressions.

That's about all that I know about Wyschnegradsky. I actually learned all of this by mistake: I got Wyschnegradsky confused with Blackwood and looked up the wrong microtonalist. But some of it was interesting.

:: Blackwood

Blackwood was an innovator of microtonal counterpoint. I don't know that his theoriest are necessary to make microtonal counterpoint, but it doesn't hurt.

1. A discord is introduced as a tied suspension from a previous chord.

2. A discord resolve by step to a dissonance.

3. A dissonances then resolve to a consonance.

In contrast, in the microtonal counterpoint that I write and in the theory that I continue to develop, we simply expand the set of consonant harmonic intervals and fluid melodic intervals, then let contrapuntal rules lead us to interesting places. Like, I don't use the harmonic seventh because it's ugly and I want to briefly upset people, I use it because I like the sound, and so my theory of microtonal counerpoint reflects that.

I'd like to learn more about Blackwood's composition. Still looking and reading.

...

The Mel Scale

The mel scale is an object from psychoacoustics. I only know about it from a short and fairly unclear wikipedia article. The scale is supposed to have uniformly spaced intervals.

We'll start with the mel formula:

    mels = 2595 * log_10(1 + (frequency / 700))

Mels are supposed to be the unit of psychoacoustic melodic inerval size, and they're supposed to be additive: 100 to 150 mels should be the same interval as 150 to 200 mels.

There's a sound clip on the wikipedia page which demonstrates a mel scale from 200 mels up to 1500 mels, by increments of 50. We can figure that out. For mels in [200, 250, 300, 350, ..., 1500], we want to know the associated frequencies. For this, we just need to invert the mel formula:

    frequency = 700 * (10^(mels / 2595) - 1) 

and play a tone at the frequency corresponding to each mel in the list. Here are the first few, with frequencies and cents rounded to integers:

200 mels : 135 hz @ 0 cents over 200 mels

250 mels : 173 hz @ 426 cents over 200 mels

300 mels : 213 hz @ 782 cents over 200 mels

350 mels : 254 hz @ 1089 cents over 200 mels

400 mels : 298 hz @ 1360 cents over 200 mels

450 mels : 343 hz @ 1605 cents over 200 mels

500 mels : 390 hz @ 1829 cents over 200 mels

550 mels : 440 hz @ 2035 cents over 200 mels

600 mels : 492 hz @ 2227 cents over 200 mels

650 mels : 546 hz @ 2408 cents over 200 mels

700 mels : 602 hz @ 2578 cents over 200 mels

I confess that this has a compelling kind of equi-distant sound to it, which is why I'm trying to understand it better. You can see that this doesn't reach the octave, but it gets quite close to two octaves at 650 mels. So 200 mels to 650 mels is close to two octaves.

This scale included 400 mels, and mels and frequencies are in 1 to 1 correspondence, so if we start a new scale at 400 mels and move up by units of 50 mels again, we get the same upper frequencies:

400 mels : 298 hz @ 0 cents over 400 mels

450 mels : 343 hz @ 245 cents over 400 mels

500 mels : 390 hz @ 468 cents over 400 mels

550 mels : 440 hz @ 675 cents over 400 mels

600 mels : 492 hz @ 867 cents over 400 mels

650 mels : 546 hz @ 1047 cents over 400 mels

700 mels : 602 hz @ 1218 cents over 400 mels

But now we do almost get an octave - 700 mels is 1218 cents over 400 mels.

Depending on which mel you start on, you'll get different frequency ratios as options: your scale might have the octave, or the 2nd octave, or maybe both or neither.

Now, I don't actually see any description of the one true mel scale on the Wikipedia page. It's not clear to me that you have to start anywhere or move by any given increment. For example, a chart lists frequencies for mels from 0 mels to 3250 mels, by units of 250 mels. This is totally different from the scale in the audio clip. And that's fine.

Let's pretend, until someone tells us otherwise, that any sequence of mels that moves by a consistent amount is a mel scale - any arithmetic progression is fine. Given this loose definition, I think we can find multiple mel scales which hit the octave exactly from any given starting point - they'll just differ in the number of steps. Let's try 440 hertz as a starting point.

Using the original mel formula, we can find mels for 440 hz and 880 hz

    549.6386753811498 mels = 440 hz
    917.4857268097301 mels = 880 hz

and now we decide on our number of divisions. How about 12? Let's see what a chromatic mel scale looks like. Our step size will be

    (917.4857268097301 mels - 549.6386753811498 mels) / 12 = 30.653920952381686 mels

I did the calculation with lots of decimal places, but here is the scale printed with mels and hz rounded to integers for readability:

550 mels = 440 hz
580 mels = 471 hz
611 mels = 504 hz
642 mels = 537 hz
672 mels = 571 hz
703 mels = 606 hz
734 mels = 642 hz
764 mels = 679 hz
795 mels = 717 hz
826 mels = 756 hz
856 mels = 796 hz
887 mels = 838 hz
917 mels = 880 hz

Let's ignore the mels for a minute and examine the cents for the frequency ratios of this scale.

440 hz @ 0 c
471 hz @ 119 c
504 hz @ 234 c
537 hz @ 345 c
571 hz @ 451 c
606 hz @ 554 c
642 hz @ 654 c
679 hz @ 751 c
717 hz @ 846 c
756 hz @ 938 c
796 hz @ 1027 c
838 hz @ 1115 c
880 hz @ 1200 c

All of these cents are calculated for frequency ratios over 440 hz.

This scale is crazy! Almost everything is 30 to 50 cents off from 12 tone equal temperament, but it still sounds fairly normal! Also, everything is sharper than it should be in 12-TET, besides P1 and P8. Here are the cents for relative intervals between scale degrees:

    [119, 115, 111, 106, 103, 100, 97, 95, 92, 89, 88, 85]

The relative intervals in cents are getting smaller, and this is true for any mel scale.

Here is a just intonation scale that matches the 440 hz chromatic mel scale pretty closely:

    [P1, SpA1, SpM2, AsGrm3, Sb4, As4, Sb5, Sp5, AsGrm6, AsM6, PrGrm7, SpGrM7, P8] # [1/1, 15/14, 8/7, 11/9, 35/27, 11/8, 35/24, 54/35, 44/27, 55/32, 65/36, 40/21, 2/1]

And even the major-scale subset of this sounds good and smooth and weirdly not at all spicy:

P1 # 1/1
SpM2 # 8/7
Sb4 # 35/27
As4 # 11/8
Sp5 # 54/35
AsM6 # 55/32
SpGrM7 # 40/21
P8 # 2/1

I think the chromatic mel scale sounds cool even if you don't play it over P1 at 440 hz, but that's the only place I feel we're really licensed to play it with an expectation of psychoacoustic equality. For example, if we simply extended the scale up from 880 hz with the same step size, 

880 hz @ 1200 c
924 hz @ 1284 c
968 hz @ 1366 c
1014 hz @ 1446 c
1062 hz @ 1525 c
1110 hz @ 1602 c
1160 hz @ 1678 c
1211 hz @ 1753 c
1264 hz @ 1827 c
1318 hz @ 1900 c
1374 hz @ 1971 c
1431 hz @ 2042 c
1490 hz @ 2111 c
1550 hz @ 2180 c
1612 hz @ 2248 c
1676 hz @ 2315 c
1742 hz @ 2382 c
1809 hz @ 2447 c

We wouldn't hit the next octave at 2400 cents. So playing the 440 hz chromatic mel scale over 880 hz doesn't match up with mel scale theory: the transposed scale would hit the octave, and it shouldn't.

I think this also means that we could come up with different 12-tone chromatic mel scales just by starting on different frequencies besides 440 hz. Lets' try.

[0, 135, 260, 378, 489, 593, 693, 787, 877, 963, 1045, 1124] c : 50 hz
[0, 111, 220, 326, 430, 532, 632, 730, 827, 922, 1016, 1109] c : 1100 hz
[0, 107, 212, 316, 418, 519, 619, 718, 817, 914, 1010, 1105] c : 2150 hz
[0, 105, 208, 311, 413, 514, 614, 713, 812, 910, 1007, 1104] c : 3200 hz
[0, 104, 207, 309, 410, 511, 611, 710, 809, 908, 1006, 1103] c : 4250 hz
[0, 103, 205, 307, 408, 509, 609, 709, 808, 906, 1005, 1102] c : 5300 hz
[0, 103, 205, 306, 407, 508, 608, 707, 806, 905, 1004, 1102] c : 6350 hz
[0, 102, 204, 305, 406, 507, 607, 706, 806, 905, 1003, 1102] c : 7400 hz

Here are some mel scales, presented in cents, starting on some different frequencies from 50 hz up to 7,400 hz. The higher you go, it the closer we're getting to 12-tone equal temperament, but, like, the highest pitch on an 88 key piano is 4,186 hz, so we're kind of leaving the normal musical range at this point. We have to start the scale 103,437 hz before everything gets rounded exactly perfectly to 12-TET cent values in my code.

I think the basic take away is that mel scales can look a lot like equal temperament, but mel scale theory mostly says that, in the normal musical range, your relative chromatic scale steps shouldn't be logarithmically equal to be perceptually equal. But also, to use mel scales, you just have to give up on pure octaves if you want perceptual melodic equality: you can get a single octave with a scale in the normal musical range, maybe two or three octaves over your fundamental by coincidence or careful design, but you're not going to have octave-equivalence for all your scale degrees as a musical feature.

Let's look at that a little more. Suppose you want a mel scale that spans two pure octaves and divides the range into 24 steps. That's enough to do a significant amount of music making. Here are some scales for different starting frequencies:

[0, 176, 337, 487, 627, 757, 880, 997, 1107, 1213, 1313, 1409, 1502, 1591, 1676, 1759, 1839, 1916, 1991, 2064, 2135, 2203, 2271, 2336, 2400] c : 100 hz
[0, 160, 309, 450, 582, 708, 828, 942, 1051, 1156, 1257, 1355, 1449, 1540, 1629, 1715, 1798, 1880, 1959, 2037, 2112, 2187, 2259, 2330, 2400] c : 200 hz
[0, 150, 291, 425, 553, 675, 792, 905, 1013, 1118, 1219, 1317, 1413, 1505, 1596, 1684, 1770, 1854, 1937, 2018, 2097, 2175, 2251, 2326, 2400] c : 300 hz
[0, 143, 278, 408, 532, 651, 766, 877, 985, 1089, 1191, 1290, 1386, 1480, 1571, 1661, 1749, 1835, 1920, 2003, 2085, 2166, 2245, 2323, 2400] c : 400 hz
[0, 137, 269, 395, 516, 633, 747, 857, 964, 1068, 1169, 1268, 1365, 1460, 1553, 1644, 1733, 1821, 1907, 1992, 2076, 2159, 2240, 2321, 2400] c : 500 hz
[0, 133, 261, 384, 504, 619, 731, 841, 947, 1051, 1152, 1251, 1349, 1444, 1537, 1629, 1720, 1809, 1897, 1983, 2069, 2153, 2236, 2319, 2400] c : 600 hz
[0, 130, 255, 376, 494, 608, 719, 827, 933, 1037, 1138, 1238, 1335, 1431, 1525, 1618, 1709, 1799, 1888, 1976, 2063, 2148, 2233, 2317, 2400] c : 700 hz
[0, 127, 250, 369, 485, 599, 709, 817, 922, 1025, 1127, 1226, 1324, 1420, 1515, 1608, 1700, 1791, 1881, 1970, 2058, 2144, 2230, 2316, 2400] c : 800 hz

Depending on your starting frequency, the scale step closest to a pure octave over your fundamental - the one closest to 1200 cents - might be ^10 for a scale starting on 100 hz or ^12 for a scale starting on 800 hz.

So mel scales aren't derived from harmonics and don't play well with conventional notions of small integer harmony, like octaves and perfect fifths. But I wonder if we could come up with an instrument that had an inharmonic timbre which was better suited to playing polyphonic music over mel scales.

My guess is that the timbre would change between low notes and high notes - more spread out overtones than a harmonic instrument on the low range, more concentrated overtones than a harmonic instrument on the high range. But I'm not quite picturing the whole thing.

Designing scales to match timbres and timbres to match scales is a different bit of psychoacoustics. I mainly know about it from Will Sethares. I'm going to talk through it a little bit, both for exposition and to remind myself of how it works.

You start with a spectral description of a timbre - the placement and strength of partials. Now you can compare two notes of this instrument against each other, in frequency space, at different harmonic interval offsets, and see how the partials coincide or nearly miss each other or fall far from each other. And then there's a function that quantifies how much dissonance you have at each point of harmonic separation, based on how close each pair of partials is, along with some theory about ear acoustics - particularly the acoustic phenomena of beating and roughness. This will give you a dissonance curve with a complex shape; lots of gentle bows and sharp troughs. The minima of the dissonance function generally occur at ratios of the partials of the instrument.

All of this math justifies a simple procedure:

If you're designing a scale to match a timbre, you select scale degrees that are ratios of the instruments partials.

If you're designing a timbre to match a scale, you give the instrument partials at products of scale degrees.

So to design a timbre that matches a mel scale, we want partials that fall at products of scale degrees.

Now that I think about it, this is all obviously for instruments that don't change timbre with fundamental frequency.

I think I want to do it the more complicated way though - if the scale changes a lot with range, then so should the timbre. This will probably be a future post. See you later.

Ohhhh, heh heh heh. It's the mel scale like the Richter scale. It's just the formula. Dumb. Mine's better.

Pasibutbut

The Bubun people of Taiwan have a ritual chant called Pasibutbut. It's supposed to bring a good millet harvest. It has rich polyphony - t traditionally there are eight singers in a ring. I can't find much written information about the notes, harmonies, tuning, whatever, so I'm gonig to figure this one out myself from audio recordings. I haven't really done that before. Nervous.

I'm going to try analyzing three videos, so that if one of them is non-standardly performed or badly performed, I'll still get a sense of the thing.

Video one: https://www.youtube.com/watch?v=vyHR49hpAOI

Video two: https://www.youtube.com/watch?v=9fy14ZUoO9c

Video three: https://www.youtube.com/watch?v=8ggweiEVd8U

It's very slowly evolving music. You might want to watch it at an increased speed if you're more interesting in the music's structure than its timbres.

I'm going to try analyzing the audio in Melodyne, which I haven't used before. Nervous.

...

I'll start with video 2. I like that it doesn't have a huge group of singers like video 1, and I think I prefer its audio quality to video 3.

The opening singer is not constant with his tone. He repeatedly starts closer to Ab/G# and then rises closer to A. It sounds very much like a moan. I thought I'd be able to analyze at least two notes before getting into trouble, but I don't even know if this should be one note or two or several glissandos.

It's about 50 cents sharp of a 12-TET Ab3. I'll just call it Ab3 and adjust all of my notes up 50 cents. We'll see how long that works. Next come in F4 and Ab4. Our first chord is [P1, M6, P8]. The M6 drops out for a moment giving us an octave, [P1, P8]. And then it comes back in a major 2nd lower at Eb, so we get [P1, P5, P8]. There might also be an octave below Eb. An octave below a perfect fifth is a perfect negative second, [P-2, P1, P5, P8]. Is it dumb to write chords like that? Maybe.

If you analyze the audio with the "melodic" detection algorithm, the software attempts to give you a monophonic analysis, which looks terrible for this piece. But you can still click individual notes to loop them and figure out the notes. And there's no clicking when samples start and stop like I get in Audacity, so that's an improvement. If I switch the detection algorithm to Polyphonic Sustain or Polyphonic Decay, then there notes from multiple voices are laid out in parallel, but I don't know how to click them to hear them to verify that the sound matches the placement. They're greyed out.

Ah, I got Melodyne "Essential", which is intentionally crippled in its features. I'm not going to tell you which version is supposed to work, because that would be advertising, and this is bullshit. They advertise $25 dollars so that you buy the wrong thing and then charge $150 more to upgrade. I wouldn't have paid that initially and I certainly won't pay that now.

The {Eb}s drop by M2 to {Db}s. And there might be an Ab below that also, so it's like [Ab2, Db3, Ab3, Db4, Ab4]. I think that's all that's happening. It's a little hard to tell.

Then F comes in again, which is M6 over Ab. 

Oh, I should try Clam Chordata. Or something.