DEV Community

Discussion on: Nov. 24, 2019: What did you learn this week?

Collapse
 
highcenburg profile image
Vicente G. Reyes

Is this somewhat related to the circle of fifths?

Collapse
 
marcellothearcane profile image
marcellothearcane

Not exactly - the circle of fifths is to do with chords, rather than individual pitches.

If you add a fifth to a given chord, you get the next key signature, so

C (0 #) --> G(1 #) --> A (2 #) etc
Collapse
 
deciduously profile image
Ben Lovy • Edited

Totally related - the circle of fifths relates intervals to key signatures. A fifth is an interval with a 3:2 ratio, which is also 7 semitones. An octave has 12 semitones, so 12 keys in a given octave. Octaves start at C, so that's kinda like 0, and has no sharps or flat in the key signature. To get the next key in the circle, which has one sharp, you increase a 5th, or 7 semitones, which by counting on a piano gets you to G. To get through all the key signatures incrementally, one accidental at a time, you keep going up by perfect fifths. Once you come all the way back to C, you'll have hit all 12 keys, encompassing all possible key signatures.

circle

That's to go clockwise - to go counter-clockwise, go up by a perfect fourth every time, which is 5 semitones.

Thread Thread
 
marcellothearcane profile image
marcellothearcane

Fun fact: a cello is tuned to C, G, D, and A, which is the first four parts of the circle of fifths.

Violins are tuned a fifth higher (G, D, A, & E), so you can count the string you are on for an easy way to tell how many sharps are in the key signature - A = third string = three sharps.

Thread Thread
 
deciduously profile image
Ben Lovy

Hah, awesome! I actually played cello for a few years in elementary school, and I guess at that age they don't really go heavy on the theory. I never put this together even after learning all this stuff in high school.