News for hackers. Stuff that matters.
Re:Music theory for nerds by theseoafs on Monday September 19, 2016 @12:12AM (#12528830)
> It completely obscures the relationship between the pitches, though.

It doesn't actually obscure the relationship between the notes -- it makes them clearer. For example, I see the notes C, E, and G on some sheet music, maybe with some accidentals on some of those notes. I know that I'm therefore supposed to play a C triad. Now, there are multiple kinds of triads, but once I know I'm supposed to play a triad, it's easy to use context to pick out which one I need (major, minor, diminished, augmented -- usually one of the first two). If I were supposed to play a C# major triad, though, and the written notes were (C#-F-G#) as opposed to what they should be (C#-E#-G#) then that's confusing because it looks like I should be playing an arpeggiated sus4 of some kind. So the written nature of scales on the staff engenders an understanding of the relationship between the notes. Basically we write things the way we do so that the people reading the music can more efficiently pattern-match.

> C major is identical to A minor, and I don’t understand why we need both.

They're not identical. C major and A minor have the same notes in their respective scales. But we say that a piece is in the key of C major when it resolves to the a C major chord at the end, and we say a piece is in the key of A minor when it resolves to an A minor chord at the end -- an important concept for reasoning about how a piece is supposed to be performed.

> C minor: C D D# F G G# A# C

Eb, Ab, and Bb, not D#, G#, and A#.

> This has got to be some of the worst jargon and notation for anything, ever.

It's really not. Keep practicing. It makes sense, I promise.

I hear a lot of people -- usually people who have not been studying music for very long -- insist that the system would be more logical if there were no accidentals and there were 12 notes with distinct names and the staff had a bunch more lines on it. I've never bought it. The notation of music isn't arbitrary, it's informed by experience and it works.

Re:Music theory for nerds by theseoafs on Monday September 19, 2016 @12:35AM (#12528946)
Reading this over again, it seems like the author's not yet fully wrapped their mind around "big picture" stuff like keys, chords, basic compositional structure, etc. It's an... interesting choice to write a piece proclaiming that musical notation is absurd when you're only a beginner.
Re:Music theory for nerds by dfabulich on Monday September 19, 2016 @03:22AM (#12529573)
Is there an article/book/video anyone can recommend that explains the advantages of modern staff notation in terms that beginners can understand?

In particular, I think everyone would agree that it's it's much harder for beginners to hunt and peck sheet music in modern staff notation than it is for a novice typist to type words on a QWERTY keyboard. (At least when the sheet music is written in any key except C major, since the configuration of black/white piano keys corresponds to C major.)

This prompts beginners to ask, "why is this unnecessarily hard?"

The general advice I see (especially in the comment thread here) is to just spend years practicing and then you'll "get it;" you won't just learn how to play, but you'll understand why staff notation is awesome.

Can the beginner's question be answered, except by saying, "uh, trust me, it's great, just keep practicing"?

Re:Music theory for nerds by lmm on Monday September 19, 2016 @04:21AM (#12529788)
I don't think you can explain it to someone who can't play music, because it's a notation for music. You could teach someone to play an instrument the old-fashioned way, person-to-person without any sheets, and once they understood music (i.e. what patterns of notes sound good or don't) ask them to come up with a way to write it down, and they'd come up with something much like staff notation. But that's a very labour-intensive way to learn.

Hunt-and-peck is always going to be hard on an instrument that supports multiple modes, because each mode only uses some of the modes. At my school music classes were taught on the xylophone/glockenspiel, which you configure for your piece at the start (putting the correct bars on for the mode/key you're working in), which is probably easier for beginners, but it's not a popular instrument (and nor is the harp, which is the only other example I can think of of that approach).

Re:Music theory for nerds by buzzybee on Monday September 19, 2016 @05:15AM (#12529986)
I think a lot of the favoring of staff notation comes down to what the instrument does well. A majority of acoustic instruments are monophonic(voice, wind, brass, many strings) and have some form of linearity in pitch, and the staff accommodates them optimally - the beginner's sheet music always starts out by accompanying the staff with fingerings for each note, to help you get some confidence that you are actually playing right notes, and then after that it's pretty straightforward to extend your knowlege to read more notes.

Chord structure just isn't even touched in most of these instruments, at least in classical performance, because they aren't capable of polyphony! That only becomes a topic as one starts moving into, e.g., jazz improvisation, where knowing how to recognize and play around a root is critical. Piano is exceptional here, since finger independence and chording practically define that instrument.

On the other hand, guitar tabs are a Big Thing in part because guitar chords transpose very well, so you don't have to learn too many unique fingerings to start accessing the others - and then if the song is defined as a sung melody plus rhythmic chord backing, as a lot of popular songs are, you don't need more than a tab and hearing the tune once to have a shot at covering it competently.

Guitar's 2D layout favors isomorphism - this is what gives it this extra power to transpose. Guitar is conventionally not tuned isomorphically, but some forms of accordion like bayan, and alternative keyboard layouts such as Wicki-Hayden, Harmonic Table or Janko, are fully isomorphic. In that case, you don't have to mode set or learn any unique scales or chord fingering per key: Learn any set of intervals(chords or scales) and you can reuse them in every key by moving your fingers over. This is wonderful for learning theory and doing composition, but it doesn't make the instruments a 1-to-1 replacement for similar instruments as in performance the distances are usually much smaller, fingerings can get tangled, it can be harder to find your place or maintain tempo, etc.

Re:Music theory for nerds by sklivvz1971 on Monday September 19, 2016 @06:32AM (#12530260)
> Can the beginner's question be answered, except by saying, "uh, trust me, it's great, just keep practicing"?

Basically: not really.

Musical notation... notates a bunch of stuff, not only pitches.

Unless you have a basic understanding of all the factors involved in reading and writing music, you won't be able to understand the choices fully, and you'll have to accept them.

TLDR: music notation needs to express the five qualities of sound: pitch, duration, loudness, intention and timbre. You can't just look at pitch.

Re:Music theory for nerds by soundwave106 on Monday September 19, 2016 @10:57AM (#12531891)
The way to learn the logic behind the scales in my opinion is to learn the theory of the early Western music, up to the Baroque era, that was around while the staff was being developed. That is: learn the seven modes of Western music (https://en.wikipedia.org/wiki/Mode_(music)).

Each mode is a diatonic scale (https://en.wikipedia.org/wiki/Diatonic_scale). Each mode has a particular combination of whole steps and half steps. Each mode has a "natural" key which can be represented in modern staff notation by all white keys.

In Gregorian chant, there are rarely any accidentals. Even by the Baroque era, while there are more accidentals, I would say the music is still very diatonic in nature.

Early music was more oriented towards just intonation (the whole integer ratio harmony mentioned in the article, which is what I would consider the more "natural" way of harmony). With just intonation, however, you can't just shift to any random key on the fly. Some keys sound nice and related. Some keys sound awful and horrible.

The article author made a statement: "If your music mostly relies on the seven notes from a particular scale, then it’s more compact to only have room for seven notes in your sheet music, and adjust the meaning of those notes when necessary… right?" I think that's an absolutely a correct way of framing early Western classical music, yes.

What makes staff notation harder probably is the corresponding rise in chromatic music.

The rise of 12TET instruments (equal temperament) like the piano, and the corresponding development of chromatic instruments (compare: the natural horn used in the Baroque era vs. the modern valved horn) allows for this sort of modulation at the cost of some chords being slightly out of tune. Modulating key signature all over the place is now possible. Yes, the author should realize that some composers do change the key in the middle of a song to change the mood. (For a nice pop example, here's the Temptations' "My Girl", which changes keys midway through -- https://www.youtube.com/watch?v=6IUG-9jZD-g)

Incidentally, the diatonic nature of pre-19th century classical music is the answer to the author's sharp / flat question as well. (http://jtauber.com/blog/2006/11/17/why_a-sharp_is_not_b-flat...)

This shift to chromaticism really isn't reflected in staff notation. In fact, I'm aware that some 20th century composers abandoned the use of key notation, ledger lines, etc. altogether, perhaps in part for this sort of reason.

Re:Music theory for nerds by mkd1964 on Sunday September 25, 2016 @08:26PM (#12578291)
Yes, I almost mentioned this point about A# and Bb on his blog but didn't. He gives an example of an A# major scale and it becomes immediately obvious that something's wrong. In order to write such a scale you either have to skip named notes (A#, C, D.. what happened to B?) or have a key signature that contains double sharps. That would be the "theoretically correct" way to do it but there are no key signatures with double sharps. So the correct name for the scale is B flat, which follows the diatonic major scale pattern of "wwhwwwh" and does not skip named notes.

But from his point of view (as any beginner) this is very confusing. They sound the same and they use the same physical keys on the keyboard, so what's the difference? There is no good answer to that except it satisfies the theory (the musical "rules") of western music.

Re:Music theory for nerds by theseoafs on Monday September 19, 2016 @04:12AM (#12529756)
I'm working on a blog post now which I hope will answer that question (at least, in very general terms).
Re:Music theory for nerds by ksml on Monday September 19, 2016 @01:47AM (#12529230)
I don't think the author was necessarily proclaiming that it's absurd, only that it seems absurd from his/her beginner perspective. He/she was very up front about not having much experience, so I think this is totally reasonable (and expected)
Re:Music theory for nerds by blake8086 on Monday September 19, 2016 @02:49AM (#12529467)
If a beginner can't immediately grasp musical notation, isn't that evidence that it is, in fact, absurd?
Re:Music theory for nerds by theseoafs on Monday September 19, 2016 @03:18AM (#12529563)
A beginner can grasp musical notation; its rules are simple and consistent, and the conventions are well-documented and reasonably straightforward. This blog post should be evidence of that: the beginner who wrote it clearly has the basics of notation down, and there are no inaccuracies at least with regard to the notation.

A beginner can't grasp the motivations behind the design of musical notation, and I don't expect a beginner to grasp the motivations behind the design of any complex system. That does not make the system absurd.

Re:Music theory for nerds by lmm on Monday September 19, 2016 @04:23AM (#12529793)
Maybe the notation is optimized for efficiency for experts, at the cost of beginner-friendliness. Maybe it's representing something genuinely hard. Absurdity is possible but not the only possible reason.
Re:Music theory for nerds by bitwize on Monday September 19, 2016 @12:06PM (#12532454)
Ah, the hipster programmer attitude to learning, based on the idea that because something is:

a) hard (it takes more than a day to understand the complexities)

b) incredibly old

the community should declare it obsolete and immediately begin work on a replacement (preferably based on JavaScript).

Re:Music theory for nerds by mkd1964 on Sunday September 25, 2016 @09:16PM (#12578516)
HA! This made my day.
Re:Music theory for nerds by Sharlin on Monday September 19, 2016 @07:27AM (#12530462)
If a beginner can't immediately grasp mathematical notation, or a programming language - or a native language for that matter - is that evidence that it is, in fact, absurd? The musical notation has evolved (toward some local optimum) to be useful for practicing musicians and composers, at the expense of having a learning curve.
Re:Music theory for nerds by asmdb on Monday September 19, 2016 @02:58AM (#12529505)
I'm curious, did you immediately grasp the syntax of every programming language you've ever learned?
Re:Music theory for nerds by dahart on Monday September 19, 2016 @09:57AM (#12531473)
Programming languages are a lot easier to grasp. ;)

The oldest programming languages are only 50 years old, whereas the oldest music notation is at least 4000 years old.

Most programming lanuguages haven't crossed any spoken languages, but modern music notation & terminology has been heavily developed by countries all over Asia and Europe.

This is a big reason why musical notation seems so weird at first, especially to engineers, because it is a legacy that comes from a different time, a different context, in a different language. The people who developed musical notation had different math, different logic and different musical motivations than we have now.

Think about this for a while and it starts to feel like a miracle that musical notation works at all, not to mention how well it works.

Programming languages were developed by people nearer to us in every way, and made to be logical and simple, so it makes sense that they're easier to grasp quickly.

Re:Music theory for nerds by pwdisswordfish on Monday September 19, 2016 @04:24AM (#12529798)
Can't speak for the parent, but as far as I can recall, I did. Well, maybe not literally immediately, but to me, the syntax was generally the easiest part of learning a programming language. (It probably helps that they are often very similar to each other.)

The only things that were hard were forgetting to write semicolons after statements in C (I have previously mostly written Pascal), and C declarators — but even the latter were easy after I learned that "declaration reflects use".

Re:Music theory for nerds by zhemao on Monday September 19, 2016 @01:40PM (#12533168)
Yes, but did you learn your first programming language immediately? Because that's closer to the author's situation.
Re:Music theory for nerds by UweSchmidt on Monday September 19, 2016 @03:28AM (#12529593)
Well, in our programming world new languages seem to come out every week, trying to find better ways to write programs. By this standard a new way to encode music is long overdue.
Re:Music theory for nerds by fenomas on Monday September 19, 2016 @04:31AM (#12529832)
In that metaphor, coming up with a new way to encode music is like releasing a new programming language and then asking everyone to write their own compiler for it. Not impossible, but it would have to be a hell of an encoding!
Re:Music theory for nerds by shiro on Monday September 19, 2016 @09:03AM (#12531085)
Maybe not as many as programming languages, but new notations do appear time to time. It's just that none has ever got as popular as the traditional notation, I guess.
Re:Music theory for nerds by rodgerd on Monday September 19, 2016 @05:43AM (#12530093)
So if you can't read Italian after a half-arsed effort to learn it, is this proof Italian is broken?
Re:Music theory for nerds by technomancy on Monday September 19, 2016 @09:19AM (#12531187)
Not as badly as English is broken.

I mean, it's generally agreed that English as a language has accrued so much historical baggage that it's shed any elegance or coherence it may or may not have once had. It would honestly be surprising to me if the same thing didn't happen to musical language.

Re:Music theory for nerds by rodgerd on Tuesday September 20, 2016 @06:23PM (#12543893)
> it's generally agreed

Buy people who know nothing about how languages and linguistics work, I can only assume.

Re:Music theory for nerds by rtpg on Monday September 19, 2016 @07:45AM (#12530565)
well a beginner can't really grasp shorthand or kanji either, right? A beginner not being able to get things means that the learning curve is higher.

Most musical notation is meant for non-beginners, right? And a lot of the beginner confusion is from features that are useful for advanced users. So there's a tradeoff.

There might, of course, be changes to be had. But a lot of beginner confusion is because the higher-level abstractions are needed.

A good example in mathematical notation is order of operations. Why not just do left to right? Or just going with Polish Notation?

Standard order of operations work well for people working with large formula, because they allow you to write many common things without many parentheses. But mandatory parentheses + left-to-right only would be easier for beginners.

Re:Music theory for nerds by crottypeter on Monday September 19, 2016 @04:57AM (#12529922)
If you are mathematically literate but a beginner in music most texts on music won't tell you the simple stuff in here. And most music students can't tell you what an octave means (i.e. frequency doubles) besides something wooly like "(a C an octave up from another C) is the same note but a different pitch".

This text is what it claims to be: music theory for nerds (just not necessarily music nerds!)

Re:Music theory for nerds by coreyp_1 on Monday September 19, 2016 @02:38AM (#12529426)
Yes, it's like some of my students who wonder why I won't let them use a GOTO in their programming assignments.

I tell them that, if they are using assembly, then it is fair game.

Re:Music theory for nerds by mjevans on Monday September 19, 2016 @03:06AM (#12529522)
It can also be worth it, in very specific limited circumstances, when you're emulating constructs not present in the target language.

Emulating a multi-level break statement and error handlers come to mind as examples.

Re:Music theory for nerds by acjohnson55 on Monday September 19, 2016 @01:29AM (#12529168)
Not to mention that A minor is generally considered to contain two additional notes compared to the A natural minor scale (AKA the A Aeolian mode).
Re:Music theory for nerds by autarch on Monday September 19, 2016 @01:34AM (#12529186)
Well, two _or_ one. The melodic (two) and harmonic (one) minor scales.
Re:Music theory for nerds by acjohnson55 on Monday September 19, 2016 @09:55AM (#12531460)
Sort of. They are separate scales, but if you compose (classical-style) music in a minor key, you don't typically pick one of those scales. The chords that appear might include any of those notes, even within individual phrases.

In my totally non-expert observation, contemporary music often is more modal, in the sense that it probably would just pick one of those scales (particularly natural minor) and stick to it.

Re:Music theory for nerds by hamiltonkibbe on Monday September 19, 2016 @07:38AM (#12530526)
In jazz A minor generally implies A Dorian
Re:Music theory for nerds by acjohnson55 on Monday September 19, 2016 @09:59AM (#12531482)
Yeah, in my reading, it never seems that there was a compelling reason to chose Aeolian vs. Dorian as the definitive "minor". I think it's largely because common practice evolved to much more frequently approach the tonic from below instead of above. That would favor harmonic minor over Dorian. I suspect that this is because it allows for very similar cadences as major keys.
Re:Music theory for nerds by hamiltonkibbe on Monday September 19, 2016 @04:49PM (#12534567)
I think a lot of the time (in a jazz context) the chords are approached as almost individual elements or as part of a small "local" progression instead of in the context of the global key of the song, since the key could be changing as often as every couple bars. In the case of a common minor progression: B-E7alt-Am7 the major third of the dominant chord is the same note as the major 7 in the harmonic minor scale of the target minor chord, which would be one option for playing straight through that progression, but you'll often find that players will use either A harmonic minor, diminished, E altered, G# whole tone, etc. over the V7 and resolve to dorian or aeolian or something with a b7. It doesn't make much sense to analyze that progression in a classical context since those chords aren't entirely contained within any single key, and you end up something that looks like a key change, or has B as a secondary dominant implying a key change to the E7, where a jazz player would immediately recognize it as a minor 2-5-1
Re:Music theory for nerds by acjohnson55 on Monday September 19, 2016 @10:53PM (#12536658)
That's wild. Jazz blows my mind!

I've heard it said that it's fundamentally actually very tonal, in the sense that the underlying progressions are typically 2-5-1. Which has always been hard for me to imagine :), but I guess it simply dispenses with the slavish dedication to a particular scale of the tonic. "A Geometry of Music", which I've linked to elsewhere in this thread, digs into jazz practice a lot.

Re:Music theory for nerds by jahnu on Monday September 19, 2016 @04:18AM (#12529776)
> we say that a piece is in the key of C major when it resolves to the a C major chord at the end

Can you ELI5 that for me, please? I'm very interested to have a better understanding of that concept.

Re:Music theory for nerds by jsackmann on Monday September 19, 2016 @04:27AM (#12529815)
Broadly speaking, major chords sound bright and happy. Minor chords sound dark and sad.

The C major scale consists of C-D-E-F-G-A-B-C. The A-minor scale consists of A-B-C-D-E-F-G-A. Those are the same notes, but if you play each of those patterns on a keyboard, the first one sounds happy, the second one sounds sad.

A C-major chord (technically, triad) is made up of C-E-G, the first, third, and fifth notes of the scale. Again, sounds happy. The A-minor triad is A-C-E ... sad.

But if you play a melody -- that is, one note at at a time -- it isn't always clear whether it's happy or sad. In most western music, though (including virtually all pre-1900 classical music and the vast majority of modern pop), the piece will end ("resolve") with a clearer "happy" or "sad" type of chord. That final chord is what determines the key.

(In a huge amount of classical and popular music, the final chord is the same as the opening chord, but not always. When they're different, the final chord tells you the key.)

Re:Music theory for nerds by nicksellen on Monday September 19, 2016 @09:21AM (#12531202)
> the final chord tells you the key

That makes it sound like a definitive rule, but it's just a common convention.

Re:Music theory for nerds by mkd1964 on Sunday September 25, 2016 @09:44PM (#12578656)
It is just a convention, not a rule. It is very common in classical music for a piece in a minor key to end on a major chord (called a Picardy 3rd) or in some cases to end on the dominate 5th - which is a major chord. The latter though, isn't usually the absolute end of a piece because it leaves you hanging (rather like ending "Happy Birthday" on the word "to" - and leaving off the "you").
Re:Music theory for nerds by fenomas on Monday September 19, 2016 @04:46AM (#12529879)
Resolving to a chord just means that the music sounds "complete" when it hits that chord. In other words, it wouldn't sound weird if the song ended right there.

For example, if you hear "Happy Birthday" played in C, the final chord is C major, and the song sounds done. If you heard it with the final chord changed to something else, it would sound like it was leading somewhere, and you'd expect another verse or a bridge or something to follow.

Re:Music theory for nerds by MereKatMoves on Monday September 19, 2016 @09:20AM (#12531193)
Just as it can be said that music requires at least 3 consecutive notes or beats to have a tempo and a rhythm, it can also be said that it requires a "cadence" which at bare minimum is two consecutive pitched notes but usually at least three.

C-G-C is a simple 'harmonic' cadence. It is, for example, the basis of oom-pah music (think military marches which repeat C-G in the bass with a melody on top, and end on C when the melody is done).

There is a form of musical analysis (Schenkerian) that can be used to show that nearly all music has the basic form C-G-C, which is usually expressed as I-V-I (chord I is C major and chord V is the 5th chord of C major, which is G major). It is of course nowhere near as simple as I've expressed here!

So resolution is basically the cadence of the piece's harmony, much like a story has beginning, middle and end, so does harmony.

The reason chord V and chord I are so powerfully related is that the 3rd note of V is the leading note of chord I and the 7th note of V is the 4th of chord I. This is actually significant to understand because it is how one can see the purest relationship between harmony and melody. In early music (eg medieval plainsong) the fundamentals of more complex harmony were first developed from melody.

In the case of C major with two voices, the notes would provide resolution from notes F and B to notes E and C. The FB is a tritone, which is dissonant and wants to be resolved in the human ear. The EC is the major triad of C major, which is harmonious and consonant and resolves the dissonance of FB.