253 points · by xchip · 4y ago · 158 comments
Since Fifths sound so great, why not just keep doing that? When we get to the next octave, then come back down. If we get to a place that's "pretty darn close" to another note, then stop. The Python explanation looks like:
f = 440
for i in range(13):
print(i,f)
f = f * 3/2
if f > 880: f=f/2.0
0 440
1 660.0
2 495.0
3 742.5
4 556.875
5 835.3125
6 626.484375
7 469.86328125
8 704.794921875
9 528.59619140625
10 792.894287109375
11 594.6707153320312
12 446.00303649902344
Note that after exactly 12 steps, we're back at 446 which is "pretty close" to 440. So, we take this set of notes, sort them, and just jigger it a little bit to get the 12 notes we know today.https://en.wikipedia.org/wiki/Pythagorean_comma
This is pretty significant to mention, because even though 12 fifths are "very close" to an octave [1], they're far apart enough that no one will feel an octave. In music, near misses like this are very significant since they cause the feeling of harmonic "dissonance". Since 12 fifths is a very dissonant interval (since it's so close to an octave but still noticeably out-of-tune) Western music developed techniques (such as well-temperament, equal temperament etc) to make sure this "error" is blend in. We achieve this by changing other notes ("tempering") ever so slightly so that critical intervals like fifths (or in other cases thirds etc) are stable. Other cultures, such as classical Indian music, have their own way dealing with Pythagorean comma! Since music is a universal phenomena found in all cultures, but it doesn't manifest the same way in all cultures (e.g. not all cultures give the same kind of emphasis to pitch or harmony Western music gives) various cultures developed their own different and interesting ways to work around this "error".
[1] To be precise, we're referring to the difference between 12 fifths and 7 octaves. Since an octave is so consonant, sounds N octave(s) apart feel "equal" albeit with different timbre.
But if you care for music less than algebra, just know it goes like this; the fourth, the fifth: the minor falls, the major lifts.
Maybe it is possible to construct a non-Euclidean universe for sound, by modifying properties of the propagation medium as a function of space or time?
A simpler way to go about this is using the chromatic scale, drawing multiples of C0 upto C8 so that C7 to C8 spans an octave, and then fixing F according to a table of equal temperament.
Well, western harmony is based on a set of natural human tendencies formalized.
There are other ethnic music practices, also based on natural human tendencies.
The parts that are acquired are built on top. But most/all music practices (western or otherwise) start with natural human tendencies, as their foundations.
* The reason that in their 12-note graph the red line very nearly overlaps with the seventh green line is that (2^(1/12))^7 is very close to 3/2.
* The reason that twelve fifths nearly make an octave -- (3/2)^12 is ~2^7 -- is that if you use 2^(7/12) to approximate 3/2 then it's (2^(7/12))^12 which is exactly 2^7.
Since you're applying the approximation twelve times instead of once, that also explains why we've gone from being off by 0.11% to 1.4%.
A problem is that if you stack perfect fifths to get 12 notes then they won't sound in tune with each other across different keys. It's this issue which forms the crux of the linked post.
The former is more interesting when it comes to how music works psychoacoustically: the interval of a perfect fifth is fundamental to almost all music. Whereas the "circle of fifths" is more of a convenience that makes it easier to think about keys. Few songs would ever traverse the whole circle and come back to where it started, and if you stick with strict just intonation there is no circle of fifths anyways. (Maybe you could better call it a "spiral of fifths" or something.)
aplay -d 2 -r $freq
If you’re not careful you’ll summon the ~elders~ people who are convinced that frequency scale is wrong and that there’s a more ideal (to human ears) frequency step for the same 12 note scale. They might even be right, but goodness… prepare yourself for it to get weirder than finding out whether someone really believes it’s legal to be barefoot in all public settings.
It's also an established standard, which is a huge deal because it means you have access to a huge established repertoire.
A 31-TET acoustic piano would be huge, extremely complicated, and probably unplayable. Smaller instruments mostly just aren't practical. In theory you can play with more precision on fretless instruments (including strings), but it's hard enough to get beginners to pitch 12-TET accurately.
Electronic microtonal keyboards exist, but they require extra learning and the music you can make with them isn't compelling enough to justify the complexity.
And it sounds really unique! https://www.youtube.com/watch?v=bJfTu1Y2H44
https://kiteguitar.com/theory/fretboard-charts-downmajor-tun...
This Mozart piece played in mean-tone temperament (historically accurate) has better tensions and resolutions than the equal tempered version.
https://www.youtube.com/watch?v=lzsEdK48CDY&t=700s
(The chipper ending to this piece is believed to be not written by Mozart.. the song was incomplete when he died.)
I even prefer Chopin in unequal temperament, but I'm not as confident about whether Chopin used 12 equal divisions.
31 is generally decent all around, but it has worse 4ths and 5ths than 12-EDO.
53 EDO is even better than 41, having 4ths and 5ths that are off by about 7 hundredths of a cent. It also has much better 3rds and 6ths than 41, but the 7-limit intervals are slightly worse.
https://en.wikipedia.org/wiki/31_equal_temperament#Interval_...
https://en.wikipedia.org/wiki/41_equal_temperament#Interval_...
https://en.wikipedia.org/wiki/53_equal_temperament#Interval_...
That is, take a temperament, combine each pairs of notes together. For each pairs of notes, find a close-enough fraction to it and give it a score depending on how many of these pairs produce simple fractions.
The 12 note equal temperament produces one of the best scores, assuming some (perhaps arbitrary) constraints.
There are some papers getting at this idea [0].
I even wrote a small program to try and do this [1]. Farey sequences are used for best rational approximation [2] [3].
I think this even gets at why some chords sound "sour/sad" while others sound "happy/full", because they have less or more constructive interference between the notes in the range of where we can hear.
Obviously this has a lot to do with culture, so it's not as clear cut but at least this approach is better than just thinking it's completely arbitrary.
[0] https://www.researchgate.net/publication/267806865_Measures_...
[1] https://github.com/abetusk/scratch/blob/release/src/music/be...
[2] https://www.johndcook.com/blog/2010/10/20/best-rational-appr...
The 12-note scale long predates the notion of just or equal temperament.
https://en.wikipedia.org/wiki/31_equal_temperament#Interval_...
41-EDO though has a perfect 4th and 5th that are closer than 12-EDO, being off by about half a cent rather than about 2 cents. In fact, 41-EDO is better at every commonly-used interval than 12-EDO, plus it adds a lot of very good 7-limit intervals too (i.e. ratios with sevens in them like 7:4, which is way off in 12-EDO).
By a weird set of mathematical coincidences, 41-EDO is actually quite playable on guitar with the right layout. The trick is to omit half the frets and tune the strings so that each string has the notes that the strings above and below it lack. Tuning by major 3rds, you get a whole lot of useful notes clustered where they're easy to play. There's a handful of us (in Portland mostly) trying to promote this idea: https://kiteguitar.com/
Simplicity is incredibly powerful.
(You can find these naively by brute force!)
(Big fan of your videos btw)
Owen Jorgensen's "Tuning the Historical Temperaments by Ear" is good bedtime reading on this topic, if you have a couple hundred bucks burning a hole in your pocket. https://www.amazon.com/Tuning-historical-temperaments-ear-ei...
Source for that? The concept and practice certainly existed well before Beethoven's time but it's less clear at which point it became the norm. Even the wikipedia article on 12 TET has "citation needed" for the claim that it happened in the early 19th century.
Not really. Equal temperament was being advocated both in China and Europe long before Bach was born. In Europe, it was the lute players that pushed for it, because it matters more for fretted instruments, where any temperament other than equal causes conflicts and inconsistencies on the neck.
But it’s likely that a 12-tone system won out because lg(3/2) is so close to 7/12, even if this was never a conscious decision. 19, 31, and 53 are also credible candidates per continued fraction expansion, but unwieldy for physical instruments (although some computer music does use 53-TET).
We actually would, and it's quite noticable. Several cultures use microtonals intervals with half-half-steps or similar.
The main reason we stuck with 12, is complexity in making AND playing an instrument with so many notes - that, or the halved range, if we keep the number of notes on the instrument the same.
But there are cultures (and instruments) which have more.
https://guitar.com/news/music-news/king-gizzard-stu-mackenzi...
[1]: https://www.youtube.com/watch?v=HkYWccNb0-4
[2]: https://en.wikipedia.org/wiki/Harry_Partch%27s_43-tone_scale
Equal temperament is definitely a compromise .. I find myself constantly trying to "sweeten" the tuning of my guitar strings relative to the song/key I am playing.
You can tune your guitar with the most accurate guitar tuner in the world (I have strobe tuners by Sonic Research and Peterson), and some things still just sound out of tune.
That doesn't sound like a description of a problem with equal temperament. In fact, the whole point of equal temperament is that any given chord has precisely the same tuning in every key. Isn't the purpose of these staggered frets to tune the guitar to more accurately match equal temperament? In other words, a guitar string played on the 7th fret is supposed to be tuned exactly 7 12-TET semitones above that string played open, but with completely straight frets (in lines exactly perpendicular to the strings) it's difficult to get every fret on every string to be accurately tunes.
I believe this is what's referred to as intonation. Many guitars have some form of manual adjustment, like a movable bridge saddle for each string, and it's common to use that to slightly adjust the length of each string so that e.g. the 12th fret is accurately in tune with the open string. These "true temperament" guitars seem to have done a similar thing but with small adjustments to each fret on each string. Presumably the fret arrangements are designed to match that exact guitar fretboard with some specific guitar strings?
The article says "with a normal guitar, if you play an A Major chord, then play a D Major chord, those chords will be slightly out-of-tune with each other." Again, this doesn't sound like a description of a problem with equal temperament. From what I can tell, these "true temperament" frets would help specifically with playing the same chord/interval in different positions.
I'm not crazy about the sound, myself. It's kind of like a guitar sample played through a MIDI keyboard.
12=2 * 2 * 3.
Splitting something in half is useful; splitting it half again remains useful. Splitting in half a third time is arguably less useful than splitting it into a third. So 12 is the made-to-order number that lets you split it in half, twice, and in thirds, once.
Which naturally leads to seconds and minutes, or 60:
60=2 * 2 * 3 * 5
Because dividing the whole into fifths is more useful than a second 3, or a third 2.
So, there's your basic argument for why you would see a 12 or a 60 instead of a 10 or some other number. You have a whole that you want to divide into useful parts.
I'm not sure that the linked article, or the current top comment (Circle of Fifths) meaningfully extends beyond this "useful parts" hypothesis; we like hearing useful parts would be the somewhat surprising thing to talk about.
You may recognize the beginning of the series: 1 2 4 6 12 24 36 48 60 120 180 240 360 720
Numberphile [1] calls them "Anti-Primes".
[0]: https://en.wikipedia.org/wiki/Highly_composite_number [1]: https://www.youtube.com/watch?v=2JM2oImb9Qg
On the derivation of the scale:
Two pure tones go good together when they have "ratios" of frequency. So, 440Hz and 660Hz would interfere in a pleasing way. This is the same way that it's "nice" when tiles on a floor match your gait in a way you can follow a pattern, or when two blinkers sync up.
So, it's nice when tones are fractions of one another like 3/2, 4/3, 5/3, etc. A ratio like pi/2 would sound weird, and very close frequencies (like 440Hz and 440.5Hz) would interfere to make a beat of 0.5Hz. (I'm sure we can all agree that a ratio of 4/3 is a much nicer fraction 440/441. In practice, this doesn't matter much, because we rarely use pure tones. This is why equal temperament scales don't sound abysmal.)
A natural ratio is just "2/1". This division gives you your octave. One octave up from 440 is 880. One octave down from 440 is 220.
This plays nicely into the second problem: Human perception is logarithmic in many things, tone included. For a musical scale to be perceived to have equal differences in pitch between notes, it needs to be roughly evenly spaced on the logarithmic scale.
So, we need to select a set of frequencies in [440Hz, 880Hz) (where 440Hz is arbitrary) that (1) arenice fractions of one another, but are also (2) evenly spaced on the logarithmic scale.
By nice mathematical luck, the 12-tone chromatic scale fulfills that!
---
On the questionable qualities of "12":
I don't think the nice divisibility of the number 12 matters here, in a scale where only 7 of the notes (with the most pleasing ratio) get the title of "major". Notation is written on a musical staff where the other 5 notes are folded away.
Furthermore, if you swap out the base of 2 for a base of 3 and re-derive the scale, you get other scales. One is the Bohlen-Pierce scale, which has 13 notes. I derived a similar scale one time, and I remember finding a 7 or 11 note scale. I forget which exactly, but the point being that these are prime numbers.
So, I'm wondering, how would 12 being divisible matter for music? I don't compose much, so I mean this question genuinely.
---
On the main point:
> I'm not sure that the linked article, or the current top comment (Circle of Fifths) meaningfully extends beyond this "useful parts" hypothesis.
I ask this in good faith: Did you read the linked article before commenting?
If you didn't, then :\
If you did, then I'm curious:
The scale derivation I described here is described in the article, with nice visualizations. If you did read the article, how do you now have this take? How could a 10-tone scale fit into this, and how would having a less nicely-divisible number matter?
When you see pi, you look for a circle. When you see an 8 or 12 or 24 or 60, you see a few small primes multiplied together, and you might look for things that like being flexibly divided into clean subgroups.
Now I spent a couple of hours trying to extend my original argument, using the internet.
12tet (12 tone equal temperament) gives you good fourths and fifths (which as you say sound great) and TET. What you don't get is being able to correctly voice say a barbershop seventh, or persian music, or dissonant death metal, or microtonal pop.
While n-TET for any n is possible, Wikipedia lists 5, 7, 12, 15, 17, 19, 22, 23, 24, 26, 27, 29, 31, 34, 41, 46, 53, 72, and 96tet as being in use, some much more popular than others. Arabic music shifted from 17tet to 24tet, with the exception of some holdouts that find 24tet too 'commercial'.
You don't need bang-on fourths and fifths to be happy in n-tet; given n-tet, you figure out what intervals to use, what kind of chords you want to build, and what kind of scales you are willing to learn to use those chords.
So, fourths and fifths are good in 12tet, and you covered that. Is there anything else to say about 12tet and its popularity, particularly about there being 12 notes and its prime factorization into 2s and 3s?
From stackexchange: You can create a circle of any number of steps mutually prime to the total number of pitches in the octave.
And what it looks like is that you get a Circle of Fifths that has some particularly nice properties in 12tet due to the math with 2/3/5, and that makes scales and chord building particularly easy, making 12tet easy to work with, and that further popularizes 12tet. I just waved my hands there pretty hard; I did not do anywhere near enough due diligence on sources. But, yes, the number of notes does end up being important. Probably.
So I think I was minorly correct in being suspicious of '12' and how divisible it was into small primes, but majorly wrong in most other aspects.
As an aside, I did read your article, and just had a different take on what was going on; I was sure that the prime factorization structure of '12' would explain more than it does.
A = 1
E = 3/2
B = 9/8 (here we halved to get back into our 1–2 range)
F# = 27/16
C# = 81/64 (another halving)
etc.
Another approach is to use harmonic overtones. When a string (or a column of air) vibrates, it vibrates not just at its fundamental, but in a series of integer divisions of the string.¹
Fundamental: A
Octave (½): A' (up an octave)
Twelfth (⅓): E (up a fifth from the octave)
Double Octave (¼): A''
⅕: C#²
⅙: E
⅟₇: G (but a bit flat from most tunings).
We invert wavelength to get frequencies and halve to get into the 1–2 range and our E matches up at 3/2 and C# comes out as 5/4 which is pretty close to the 81/64 of Pythagorean
I would also note that 24-tone music does occur with some moderate frequency in avant-garde music where half-flats and half-sharps have their own notation, although these notes are not easily accessible from many standard instruments, but the sound of a quarter-tone difference in pitch is definitely distinct. Many non-Western musics apply various micro-tonalities, such as Indonesian scales which are closest to a subset of a 9-tone equal temperament.
⸻
1. In some cases, e.g., overtones of a cylindrical pipe vs conical pipe, or open at both ends vs open at one end, you won’t get all of these tones, so a flute, which is cylindrical and open at both ends can hit the fundamental and the octave, while a clarinet, which is cylindrical but closed at one ends hits the fundamental and then the third partial (the twelfth) but not the octave.
2. The place where you hear notes produced to these pitches most commonly is in bugle calls: Taps, for example, would be ⅓ ⅓ ¼, ⅓ ¼ ⅕, etc.
Here's my take: late medieval singers discovered The Major Chord. That's the combination of three (!) notes that is "most consonant" (mathematically: beats in the shortest period). This combines two notes a major fifth apart (ratio 3:2), with a third note that is 5:4 with the low note. You can write some code to prove this if you like.
So now take that "best" chord with its three notes, and start moving it around. If you go up a fifth (i.e. by "the most consonent interval", that is the "closest best chord to your first best chord") you can play the same chord, adding two needed notes that weren't in the scale before. You can likewise go down a fifth to add two new notes.
Then you compress these seven notes into a single octave, and you get... the major scale! It's just there. All you need is that one "best" three-note chord and an obvious metric for "nearest" (i.e. transpose by a fifth) and you have almost all of modern tonal music. Play the same tunes starting on different notes and you get "modalities", etc... You can transpose up and down to nearby keys and keep playing by "cheating" with your tunings to move a note half way up or down.
And the practice of formalizing those transpositional cheats because what we now know as the equitempered scale. But they're still just cheats. And the fact that pow(2, 1.0/12) happens to work is, basically, just dumb luck.
- Half a string's length is the same thing, just higher
- The harmonic at half a string is the same thing, just higher
- The harmonics at 3:2 and 4:3 are really loud and distinct
- If you chop up the rest of the string at the same interval as the 3:2 and 4:3, some have strong harmonics that match tones on the string, some don't
Then I figure with the Octave, 5th, 4th, and M3 as the strongest harmonics that matches other lengths (or octaves thereof), they went from there...
> 4th and 5th being intervals ON a Western scale.
That is where you went wrong. They are not. They naturally arise as small integer frequency multiples/fractions on any string instrument (wave lengths 1, 1/2, 1/3,...). They are hence quite obvious/loud (and humans recognize patterns as pleasant for whatever reason). Once you have 4ths and 5ths you repeat to get the Western system (handwaving away that this does not actually close, but "rounds" to make it fit into twelve. That is a whole other subject).
This is a pretty good example of inductive reasoning. We want a system that for any note also includes its first few harmonics, show that this implies....
Most of the notes on the Western scale fall into this orientation, i.e. there is reasoning for it. It's not just arbitrary.
You nailed it.
Other responses to the GP have explained that. The article itself also mentions the reason (small integer ratios).
Actually it's just fifths because fourths are just fifths.
And fifths sound good because of physics.
For example the pentatonic scale used in a lot of eastern music is subsumed by the western scale.
Simpler tunings might lend themselves to instruments that were homemade, used for folk music, carried by travelers, played at home, etc. In fact those two things could coexist within a single culture. There were pipe organs and folk fiddles in Europe during the same time period, after all. Once the 4 strings are tuned by means of an easily discerned interval, you can fill in with a tolerable scale by ear.
"Carried by travelers" suggests an advantage for a tuning system that can be restored by a non-expert and used for music that spreads from town to town.
* https://www.sufi.gen.tr/nota-sistemi/en
* http://www.turkishmusicportal.org/en/types-of-turkish-music
Consonant notes tend to share a lot of overtones. I have heard that the pentatonic scale maximizes internote resonance. This seems relatively straightforward to test empirically.
The first known scientific experiment (empirical test of mathematical model) was the attested case of the pythagoreans casting bronze chimes in the same rational proportions of lengths of a string. The experiment demonstrated that small integer ratios produce consonance.
Here is the most recent and up-to-date theory of harmony in music (that I know): https://downloads.spj.sciencemag.org/research/2019/2369041.p...
1:1 is the unison. Not terribly interesting.
2:1 is the octave, which is exact.
3:2 is the perfect fifth. About 2 cents of error.
4:3 is the perfect fourth. Also about 2 cents of error.
5:3 is the major sixth. About 15 cents or so of error.
5:4 is the major third. About 13 cents or so of error.
6:5 is the minor third. About 15 cents or so of error.
7:4 is the the first one that doesn't really have a 12-EDO equivalent, though the minor 7th is generally used, with about 31 cents of error.
7:6 similarly doesn't have an equivalent. It's about 44 cents flat of the 12-EDO minor third. In fact, most ratios with 7s are right out.
7:5 is in the ballpark of the 12-EDO tritone.
8:5 is the minor sixth. About 13 cents of error.
9:7 is a really sharp third, again no equivalent in 12-EDO.
9:8 is the major second. About 4 cents of error.
10:9 is also the major second, about 17 cents off in the other direction. (12-EDO makes no distinction between 9:8 and 10:9. That's actually fairly important, as it lets you get away with chord progressions that don't mathematically work out.)
It's really amazing to have so many decent approximations of ratios with only 12 notes. Different EDOs might have better or worse approximation of various musical intervals. It takes going all the way up to 41-EDO to find something that's better at basically everything -- it even has a more accurate 4th and 5th, which is the one thing that 12-EDO is amazingly good at.
For example, since 12 is divisible by 3 and 4, diminished chords (4 notes separated by intervals of 3) and augmented chords (3 by 4) don’t have a definitive centre to our ear. As a result they both create different flavours of uncertainty and suspense.
But if you break the symmetry, e.g. by moving any note in an augmented chord one to the left on a piano, the chord takes on a colour (in this case becomes a major chord).
Other equal temperament scales would end up having similar patterns, but at the cost of complexity. having closer to 20 or 30 notes in an octave would increase the number of patterns to recognize, and probably make them less distinct to us without practice.
It’s also interesting to me that we put 12 numbers on clocks as well.
A note here. A note there. A harmonic there and there. You say blue, I say G, and now we aught to see the cymatics inside you and me! Altogether now, ratio, ratios, frequency make everything between you and me. Hey now, hey now, just make music, it’s what we all need now.
If we look at the groups next door, Z11 and Z13, they are of prime order, so every element generates the group => there is a cycle of “fifths” for each interval. Beautifully symmetric, perhaps, but less structure to enjoy.
You do have to wonder what an optical octave would look like, though - our visual range is, unfortunately, a bit short of an octave there... Maybe the same "tone" of a kind of extreme magenta?
https://en.wikipedia.org/wiki/Duodecimal#Advocacy_and_%22doz...
60 is the smallest composite number with three prime factors, and divides evenly by 2, 3, 4, 5, 6, 10, 12, 15, 20, 30. Decimal only divides by 2 and 5. Makes arithmetic by hand a lot easier. Duodecimal has a similar advantage.
Er, that'd be 30 I think, but the main point stands.
What does string theory sound like?
Yes, but why is that? Why did we evolve to like these particular combination of notes? Or, why do they remind us of some other natural sound?
In general anything more complex than "birds like blue feathers because it shows a strong immune system" is unlikely to have a simple satisfying evolutionary reason to exist that is less than 80% wrong.
But the "why" cannot be explained just using arithmetic. There is a history behind it. Twelve note instruments didn't begin with equal temperament.
There are twelve notes in western music because the diatonic scale has 7 notes, and alterations of these notes add five more, if you aren't picky about microtonal differences.
If you have do-re-mi-fa-so-la-ti-do, there is a small step between "mi-fa" and "ti-do" which is about half of the longer step that is observed in the five remaining successive pairs. If you identify some half-step note between those other pairs like "do-re" or "so-la", you end up with five more notes, giving you twelve. That's all it is; if we back fill 7 notes with enough notes to have chromatic half steps, we get 12.
Now, early practitioners of western music did know that that's not all there is to it: that a G# is not the same as an Ab. They tried using the in-between notes for transposing to other keys and found that the keys sounded different. They knew all about the mathematics behind it and the Pythagorean comma: that if you go around the circle of fifths 13 times, you don't end up at exactly the same note (modulo octave); there is a discrepancy.
Various technical devices were devised, such as splitting the small keys of keyboard instruments, so that the G# key actually had a G# split and an Ab split. Various tunings were also used, like well temperament. Bach's Well-Tempered Clavier is basically a set of test cases for tuning.
We settled on equal temperament because it distributes the error such that all the keys sound the same; when music is transposed to any key, the pitch relationships are preserved.
Going back to the first concept; why wouldn't more than five additional tones be added to add color to a seven tone scale? It's because Western music traditionally hadn't been oriented toward recognizing microtonal differences, or at least into organizing them (where they exist) into a single system.
In Indian music, there are 22 notes (shrutis). They are needed because there are numerous scales which have the same approximation on a western instrument. For instance, there are multiple scales that resemble "do-re-mi-fa-so-la-ti-do": the Pythagorean scale, but which use different microtones chosen from the 22 shrutis. Those scales all have different names; they are not just different tunings for obtaining different flavors of do-re-mi.
But in Indian music, there is still a significance in 12 tones in an octave!
"There are 12 universally identifiable notes ('Swaraprakar' in Sanskrit) in any Octave (Saptak). As we play them from one end on any string, the perception of each of these 12 changes 'only' at 22 points given by nature (See numbers in green in the slide below). The sounds produced at these 22 points are the '22 Shrutis' and the 3 types of distances in-between are called as 'Shrutyantara' (in Sanskrit) (See Legend below)" http://www.22shruti.com/
And: https://en.wikipedia.org/wiki/Shruti_(music)#Identification_...
It seems there is no getting away from the situation of there being identifiable 7 note scales (Swaras), into which we can stuff five more notes to obtain some kind of twelve-note chromatic scale.
C -> G -> D -> A -> E -> B -> F# -> C# -> G# -> D# -> A# -> E# -> B#(C)
Of course the B# you end up with at the end is 531441/4096 which is 1.3% higher frequency than 7 octaves above the starting C. If you want to generate flats as well, by traveling in the opposite direction, you end up with different notes for the flats. 12-TET is just the modern way of using a constant frequency ratio to divide the octave to match the 12 notes used by Pythagoras. The ancient greeks were unlikely to come up with it due to the reliance on irrational numbers.
1: Pythagoras is often credited with this scale, China also independently invented this scale and it's not clear which came first (https://en.wikipedia.org/wiki/Sh%C3%AD-%C3%A8r-l%C7%9C)
But say we are not assuming a twelve note system in the first place; how do we get twelve notes?
Going up a fifth and then down a fourth is very close to a tone. We can do that five times before we approximately hit an octave, yielding six notes. The fifths above those notes are six additional notes.
We see that in your diagram:
C -> G -> D -> A -> E -> B -> F# -> C# -> G# -> D# -> A# -> E# -> B#(C)
in that we can interpret every other note as the whole tone scale:
C -> D -> E -> F# -> G# -> A# -> B#(C)
and their fifths:
G -> A -> B -> C# -> D# -> E# -> Fx(G)
Fifths fill the gaps in the whole tone scale to recover the other whole tone scale.
Going back to the 12 tone math again, 2 and 12 have a common divisor, so steps of 2 modulo 12 cycle through 6 symbols. There are 6 others left out, reachable by some relatively prime step like 7 (perfect fifth).
> But say we are not assuming a twelve note system in the first place; how do we get twelve notes?
My diagram showed an (approximate) 12 note cycle assuming only a 3:2 ratio for a fifth. There are lots of good reasons to use a fifth as the basic interval[1]. In no way does this assume a 12-note system.
The 12 notes don't come from "filling in" between the 7 notes of the diatonic major scale, they come from continuing the pattern until a near-cycle happens; is your argument that the 1.2% error in the cycle is arbitrary? it's less than 1/4 the next largest difference and slightly more than the rule of thumb for how much "anybody" can hear. The next time we get closer to a cycle is at 41, and we don't get closer by an order of magnitude until 53.
1: And in fact the fifth is used as a basis for many other scales both western and otherwise (Note that the first 5 notes are the major Pentatonic scale and the first 7 are the major diatonic scale).