News for hackers. Stuff that matters.
Re:Music theory for nerds by lmm on Monday September 19, 2016 @04:29AM (#12529821)
As a computery person, what bothers me the most is the 1-based indexing of intervals. I get that music theory predates zero, but it makes it incredibly frustrating to work with (e.g. add a third to a fourth and you get a... sixth).
Re:Music theory for nerds by SwellJoe on Monday September 19, 2016 @10:40AM (#12531761)
When do you need to do math like that with intervals?

As a computer nerd myself, I can understand the argument for 0-based indexing in this case, but I don't recall ever being stumped by it being 1-based. When would you need to add a 3rd and a 4th to get a 6th? Harmonic theory doesn't use addition like that. e.g., playing a 6th is not the same as playing a third and a fourth. So, why do that kind of math with intervals?

Re:Music theory for nerds by lmm on Monday September 19, 2016 @10:54AM (#12531869)
Whenever you play three notes in sequence, no? I'll read a passage and think "tonic, up a third, up a fifth so that puts me up to the tonic again... nope."
Re:Music theory for nerds by SwellJoe on Monday September 19, 2016 @11:18AM (#12532073)
Huh. That's interesting. In a "people's brains think surprisingly differently sometimes and we rarely think about those differences when the resulting behaviors look the same" kinda way.

I mean, I guess that's not so foreign...But, I tend to think of it as pulling out the notes I need from the scale, and not actually counting up to them. e.g. in my brain I'm grabbing the third and the octave (well 7th, if you've got a third and then the fifth of that third, which I guess is why you're preferring 0-based) that are already there...not climbing up them to find there's the tonic there. I mean, I can see that it's a fifth interval if I go from E to B (in C), but unless I'm building a chord on E, I don't care..it's either the 7 in C, and I'm not so much thinking of its relation to E as I play it, and it's a phrase in C, with maybe an Em chord (either implicit or explicit) underneath; or I'm playing jazz, or some other very chord-based music, and I want my phrase to be relative to the chord we're currently playing (so we're inside that Em, and the key is less relevant).

Sight reading is different, as well, in my brain, but, I think it even bypasses the intervals to some degree and is just distances and shapes and an awareness of the key I'm in. I don't read much these days, but I recall it working best (or at least fastest and most accurately) when most of the theory was turned off in my brain and I just let the shape of the notes (their distance from each other) guide me. But, I feel like it's only in improvising and composition where one would be doing any sort of interval math. But, maybe I'm wrong.

When are you doing this kind of math? When reading, improvising, playing memorized pieces, or composing?

Re:Music theory for nerds by lmm on Monday September 19, 2016 @12:42PM (#12532747)
The main context I was thinking of was learning a new piece, particularly the initial read-through of something I haven't heard - I sometimes try to think what it "should" sound like ahead of playing it.
Re:Music theory for nerds by jacobolus on Monday September 19, 2016 @07:02AM (#12530369)
> (e.g. add a third to a fourth and you get a... sixth)

Better:

In equal temperament, log base two: add 4/12 to 5/12 and you get 9/12.

In ratios (depending on tuning, these could be loose approximations): multiply 5/4 by 4/3 and you get 5/3.

Re:Music theory for nerds by lmm on Monday September 19, 2016 @08:30AM (#12530866)
Yes, I know. But having the log base 2^(1/7)-ish built in is useful. If we could just subtract 1 from all the numbers (i.e. what we call a fifth should be 4) then we would have a measure that actually made sense.
Re:Music theory for nerds by jacobolus on Monday September 19, 2016 @03:27PM (#12534011)
Eh. Calling it a “fifth” is making it clear that the label is an ordinal number: first second third fourth fifth ...

You need to think of it as “if the bottom note was the first note of a scale, where in the scale would the top note be?”

As with many questions of indexing, off by one errors are tricky.

It’s a system that confuses names for notes in a scale with names for intervals between notes. You’d rather they called them by cardinal numbers representing some kind of “distance”, instead of a count starting at one.

But that would be applying a later mathematical understanding on the earlier system. If that’s what you want, you should just use a log scale and count twelfth roots of two.

Ideally we’d switch all our indexing to start at zero, and use half-open intervals everywhere. Start at 0 AD, call the ground floor of a building “0”, start spreadsheets with row 0, switch Matlab to index from 0, et cetera. This is pretty unlikely to happen though.

Re:Music theory for nerds by lmm on Monday September 19, 2016 @03:39PM (#12534093)
> If that’s what you want, you should just use a log scale and count twelfth roots of two.

I don't want to count in twelfths, I want to count up the scale.

> call the ground floor of a building “0”

I'm a Brit, we do that here already.

Re:Music theory for nerds by jacobolus on Monday September 19, 2016 @04:35PM (#12534482)
The intervals in a 7-note scale inherently don’t add up like that, because they’re not based on even divisions. So regardless we need to have 12 different named intervals for various numbers of semitones:

For instance, “minor second”, “major second”, “minor third”, “major third”, “perfect fourth”, “augmented fourth”, “perfect fifth”, “minor sixth”, “major sixth”, “minor seventh”, “major seventh”, “octave”.

Reducing all those ordinal numbers by one really doesn’t help all that much. You still have to remember how the “minor” and “major” labels interact for every interval in the scale, and remember that sometimes the interval between the same two notes is given multiple names depending on the key, etc., which is all horribly confusing mess.

Re:Music theory for nerds by lmm on Monday September 19, 2016 @04:45PM (#12534536)
> Reducing all those ordinal numbers by one really doesn’t help all that much. You still have to remember how the “minor” and “major” labels interact for every interval in the scale, which is a horribly confusing mess.

Those interactions are pretty intuitive. Where defined, major + minor = perfect (considering an octave as perfect), perfect + major/minor = major/minor. As long as you remember which notes exist, you can't get it wrong, so you'll never get confused by a piece of arithmetic in an actual piece.

Re:Music theory for nerds by jacobolus on Monday September 19, 2016 @06:05PM (#12535158)
They’re not remotely “intuitive”. They only make sense to someone with years of training.

If instead you used digits from –5 to 6, using arithmetic mod 12, it becomes obvious that e.g.:

  -2 + -3 = -5
  4 + 3 = -5
  5 + 5 = -2
  -5 + -1 = 6
  4 + -3 = 1
  etc.
The “perfect” intervals are just ±5 (ratios very close to 3:2 and 4:3). The “major” intervals are –3, –1, 2, 4 (approx. ratios of 5:3, 15:8, 9:8, 5:4). The “minor” intervals are –4, –2, 1, 3 (approx. ratios of 8:5, 16:9, 16:15, 6:5).

Then it’s easy to see that your “major + minor = perfect” formula only works for some intervals, Etc. Overall the simple heuristics are more obfuscatory than helpful IMO.

Re:Music theory for nerds by lmm on Tuesday September 20, 2016 @04:43AM (#12538029)
> Then it’s easy to see that your “major + minor = perfect” formula only works for some intervals, Etc.

Where does it go wrong? Do those cases come up in practice?

Counting up and down the scale is a core use case for a notation for intervals. It absolutely needs to be well-supported. A 12-semitone approach is never going to match the usability of even the existing system.

Re:Music theory for nerds by komponisto on Tuesday September 20, 2016 @05:05AM (#12538116)
>A 12-semitone approach is never going to match the usability of even the existing system

I am obliged to point out that a 12-semitone approach is in fact part of the "existing system" (see: pitch-class set theory).

(Mind you, I of course think its usefulness is overrated, because I think the "atonal" repertory is tonal.)