I'm learning by slowly building a music theory site, or rather a site that understands music theory so that I can ask it questions I sometimes find hard to answer online.<p>The first part is a chord namer, it's live but not perfect, there are many like it, but this is mine (I'll link below).<p>The second step which I'm part way through is creating a model to describe musical scales based on patterns from the root note. You might have read for example, that Major Scales all have the same pattern starting from the root note, which is Whole, Whole, Half, Whole, Whole, Whole, Half.<p>We can represent that in code as an array of integer counts of half steps, eg: [2,2,1,2,2,2,1]. From here, we can take an array of the note names, [ C, C#/Db, D, D#/Eb, E, F, F#/Gb, G, G#/Ab, A, A#/Bb, B ], then start on the index of the root note of the Major Scale we want. Lets do that by removing the notes not in the pattern below. We end up with the C Major scale:<p>[ C, -, D, -, E, F, -, G, -, A, -, B ](Returning to C for the final step in the pattern)<p>You can do this starting from any note, using that pattern, and end up with the right scale.<p>I was surprised to learn that while there are some edge cases, a huge portion of musical scales follow a pattern you can use to generate a named scale from the root note. It works for Major, Minor, Pentantonic scales, Harmonic Minor, Melodic Minor and so on.<p>This was a breakthrough for my understanding of music, and made me realize that memorizing scales is more about memorizing scale patterns, which drastically decreases the amount you need to memorize and lets you use foundational building blocks rather than arbitrary knowledge to play.<p>Another breakthrough for me while building the chord finder, was noticing that much of music theory is like that. It's all about learning the building blocks and applying it in real time, so that it sticks in your memory. All major chords are made of the same pattern, so if you have the root note, the major scale pattern, and the major chord pattern, you can quickly figure out any major chord, and later any complex chords, from there.<p>Chord progressions are the same! They follow patterns based on the scale. So when people say learning scales is important, they're not being preachy, it's because they are the basis for all music theory patterns.<p><a href="https://whichchordisthis.com/" rel="nofollow">https://whichchordisthis.com/</a>