Circle of fifths and roots of two
johndcook.com
johndcook.com
Otherwise, you'll run into phenomena where an instrument will sound totally awesome if played in one key, but really awful if they try to play the same tune transposed to a different key.
This is also why those with sensitive ears are frustrated by their inability to make a guitar sound in tune for both G major and E major chords.
It's usually easy to get a decent compromise. But when a guitar is really consonant in E, it sounds like a train wreck in G.
[1] http://www.truetemperament.com/site/index.php?go=2&sgo=3
Basically, while studying temperament is interesting, the reality is it rarely causes practical issues. Most pianos are tuned with equal temperament, which is good enough and almost every other western instrument has enough flexibility to adjust "on the fly."
More info here: http://www.truetemperament.com/site/index.php?go=4#A1
Python 2.5 (r25:51918, Sep 19 2006, 08:49:13)
[GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> A = 440
>>> def alterBySemitones(basenote, semitones):
... return basenote * (2 ** (semitones/12.0))
...
>>> equal_B = alterBySemitones(A, 2)
>>> equal_G = alterBySemitones(A, -2)
>>> equal_E = alterBySemitones(A, -5)
>>> major_third_ratio = 5.0/4
>>> perfect_fifth_ratio = 3.0/2
>>> equal_G * major_third_ratio # B as third of G major chord
489.9942949771866
>>> equal_E * perfect_fifth_ratio # B as fifth of E chord
494.44133536930485
>>> equal_B # Equal tempered B
493.88330125612413
There's about a 4.5 Hz difference between just-tuned Bs in those two chords. For reference, the distance between that B and the Bb below it is about 27.72Hz. If your fret spacing is introducing that much error, it's going to be tough to tune the instrument for more than maybe one chord at a time.Still, your claim doesn't seem right to me. A perfect tuned guitar with perfect intonation in equal temperament will play the same frequencies as a perfectly tuned piano. Yet, when I play G and E chords on a piano, I don't notice the same tuning issues as I often do on guitar. That's why I assumed the bigger issue on guitars is intonation.
The thing is, tunesmith wasn't talking about a perfectly tuned equal temperament guitar. We're talking about tuning a guitar by ear so that one chord is sounds perfectly in tune (i.e., is in just temperament), then trying to play a different chord. It's going to sound off for the same reasons a just-tempered keyboard would. And as someone who constantly has to resist the urge to tune his B string too high in G major, I can tell you this isn't just a theoretical assertion.
That said, I have played on guitars (especially electric ones) that seem to resist sounding in tune even when the open strings are tuned "perfectly." Maybe that's a fret spacing defect in action. But it doesn't make the tuning-by-ear error negligible.
When I reread your comment, I realized that this is what you were talking about. In that case, you're absolutely right. Although it is a pretty bad idea to tune a guitar by ear by playing a single chord. Not only will other chords sound out of tune, but even slightly different voicings of the same chord. A guitar that's designed for equal temperament really needs to be tuned as such. Correct me if I'm wrong, but I think the standard ear tuning technique (where you match the 5th or 4th fret of one string with the open string under it) will give much better equal temperament results.
The deflection of the third string at the first fret G# pulls the string a bit sharp relative to the open G on the third string.
There is a specialized guitar nut called the Earvana that has additional material to shorten the open G string a wee bit to compensate for this.
In real life, getting any (non-keyboard) instrument to actually play in tune is the hardest part.
In addition to being tempered, the entire scale of a piano from bottom to top is "stretched" slightly by a mainstream technician.
Also as I understand it, harpsichords tend to use historical tuning methods. One possible reason is that the musician had to tun the instrument quite frequently, as opposed to the much more mechanically stable piano.
Students who study string instruments (as I did) are taught that intonation is somewhat malleable for expressive purposes. The strings are tuned in beat-free intervals to maximize resonance when playing in particular keys. And wind instruments are all over the place, with ongoing efforts to improve their intonation.
My intuition about which intervals are major / minor and which are diminished comes from the intervals that create the differences between the major and minor scales. The major scale uses all major intervals; natural minor uses minor 3rd, 6th and 7th; Dorian minor has a major 6th, and harmonic minor a major 7th. That still doesn't account for why the 2nd is called major / minor -- you could argue that you use it in Phrygian mode, but then you'd have to acknowledge that you use the diminished 5th in Locrian mode, so why not call that the major / minor 5th? (But almost no music is written in the Locrian mode).
Another intuition is that the fourth and fifth are the most consonant intervals (because the ratio of their frequencies is simplest) and so an adjustment of a half step is more of an increase in dissonance than a similar adjustment on another interval.
Finally, non-perfect 4th and 5th intervals are simply encountered much less frequently than other intervals (with the exception of the tritone between the 3rth and 7th of a dominant V chord, the characteristic dissonance that sets up the V-I authentic cadence).
The other intervals weren't considered consonant until much later (the middle ages), and didn't get their "major/minor" names until a bit later, in the Renaissance. Before this, they were known by their Latin names (M3 = ditone, m3 = semiditone, and so on). The m2 was found in (at least) two forms until the advent of equal temperament, usually known as the major and minor semitones.
The "major" intervals are those found in the major scale (M2, M3, M6, M7). The minor intervals aren't named in relation to the minor scale, but rather in relation to their major equivalents (a minor second is lower than a major second). "Minor" comes from "molle," which is "soft": the major third is "softened" to become the minor third, and so on.
Perfect unison inverts to unison. Perfect octave inverts to an octave.
Perfect 4th (C to F) inverts to a perfect 5th! And vice-versa.
Contrast to a major third, or major second, which, when inverted, becomes a minor 6th (or minor seventh.) That is, the interval quality of perfects remains the same, where as major/minor/augmented/diminished intervals change qualities.
* If you read Schoenberg's Harmonielehre, he has some pretty idiosyncratic but somewhat plausible theories about why the 6/4 chord is dissonant, involving the overtones of the bass being diatonic (say we're talking about C 6/4 and the relevant overtones being B and D) but also dissonant with regards to the nominal root of C. That the 6/3 chord is relatively consonant is explained by the fact that the overtones of the bass in that arrangement suggest a sufficiently distant key so as not to plausibly oppose the sounding fundamentals. I think the more likely explanation is the historical one, which treats the 6/4 as the reification of the frequently used motif of a suspension from the pre-dominant harmony over the dominant bass that then passes downward to the goal tones (in C major, the archetypal lines would be A -> G -> F -> E and F -> E -> D -> C over a bassline like F (or D) -> G -> G -> C). The 6/4 chord's dissonance, then, is merely a result of the fact that its appearance came to unequivocally imply a certain resolution.
This is not even dimensionally correct. The frequency is proportional to the square root of the tension.
Later: "The ratio of 3/2 is called a “perfect” fifth to distinguish it from the ratio 1.498."
I don't think so. The interval is called a "perfect" fifth to distinguish it from the "diminished" or "augmented" fifth. Nothing to do with tuning.
I also found this short essay on Bach and tuning informative: http://historicaltuning.com/Overview.html
† Annoyingly, the tonic (tonal center) of the diatonic scale is the second note in the sequence of fifths (e.g. C in FCGDAEB). I believe this is so you depart the tonic by a fifth in either direction, since fifths sound so good.
Instead, the standard of modifying the 11 notes after the first in various ways to make instruments sound good in more keys proved to be more worthwhile.
She asked why there was such a price difference between models, based on the number of keys (unfortunately I don't remember the numbers anymore, but basically some of the models had shorter keyboards).
The response was that, for models with a smaller number of keys, they could just sample one octave of the original instrument, and scale the frequencies electronically. However, once you go beyond a certain range, straight scaling didn't work anymore, so they had to sample the whole range of a traditional piano-- hence more electronics needed in the electric piano.
More likely the reason is that keyboard size is used as a proxy to discriminate between amateurs (who can play most anything they care to on, say, a 61-key keyboard) and professionals (who would look like fools trying to fit certain pieces into 61 keys when they are meant for the full 88).
Also, most electric pianos support transposing the whole keyboard, which means that even when you just have four or five physical octaves, you can play notes lower than or higher than that. So that explanation for the price difference is not very realistic.
That said, it had nothing to do with being even tempered or not, it had to do with cost. But as Yamaha and others also point out, the harmonics on every key of a piano are slightly different because the keyboard is constructed with all those hammers and strings, one for each key.
That's not the case. It's trivially easy and cheap to sample the full scale or close to it. No manufacturer I know uses just one octave (or even just 2 or 3). And beyond 1 octave of stretching this would sound attrocious anyway.
Probably a misinformed salesman. Back in the day (eighties, early nineties) people would do something like that, but mostly for digital samples of things like a bass, flute, etc, to conserve space in the, then, limited storage of samplers.
The price difference in digital pianos has to do with brand name, mechanical and build quality (e.g key mechanism, speakers, D/A converters etc), and extra capabilities (sequencer, etc).
Piano sample sets can now run into the gigs of memory - a now-defunct product that pioneered this was actually called Gigasampler.
For a file format that describes how samples relate to MIDI notes, google for "SFZ files".
Sit down with this 63 part series and you'll have a very good understanding of the mathematics and physics behind sound: http://www.soundonsound.com/sos/may99/articles/synthsec.htm. You'd probably come to a lot of those realizations just working with computer audio software.
Tons of papers out there on the maths behind, say, phase-vocoder techniques (same maths behind autotune): http://www.ee.columbia.edu/~dpwe/papers/LaroD99-pvoc.pdf
The average music student is more interested in the music than what's behind it. Not at all a knock on them, just how it is.
So E-flat leaves, and C and G have an open fifth between them. After a few drinks, the fifth is diminished, and G is out flat.
F comes in and tries to augment the situation, but is not sharp enough. D comes in and heads for the bathroom, saying, "Excuse me; I'll just be a second." Then A comes in, but the bartender is not convinced that this relative of C is not a minor.
Then the bartender notices B-flat hiding at the end of the bar and says, "Get out! You're the seventh minor I've found in this bar tonight."
E-flat comes back the next night in a three-piece suit with nicely shined shoes. The bartender says, "You're looking sharp tonight. Come on in, this could be a major development." Sure enough, E-flat soon takes off his suit and everything else, and is au natural.
Eventually C sobers up and realizes in horror that he's under a rest. C is brought to trial, found guilty of contributing to the diminution of a minor, and is sentenced to 10 years of D.S. without Coda at an upscale correctional facility.
http://www.slate.com/articles/arts/music_box/2010/04/the_wol...
Probably the easiest way is to go to a piano and play a fifth with the base note at middle C. The sound noticeably changes after a couple of seconds. That's because the ratio isn't exactly 3:2 and the frequencies of the pure notes start to get out of alignment (the same phenomenon causes 'beats' when two similar but not exactly equal frequencies are played together).
It's even more pronounced when you play a C major chord (C-E-G) because the major third (C-E) isn't exactly 5:4 and the minor third (E-G) isn't exactly 6:5 either.
http://christianjaeger.ch/scratch/octave/ (The code is written in Scheme with some libraries that I haven't published so far.)
[1] http://www.amazon.com/Musical-Applications-Microprocessors-H...
Getting a steel to "do" ET is actually an achievable engineering problem, but players may prefer the sound of something more akin to Just intonation and older guitars may not be able to be in ET. Guitars with all the parts to achieve ET are relatively obscure.
For each n, find the closest interval to a perfect fifth (3/2 ratio), and write down the error in octaves. Graph error as a function of n, and you will see certain values of n with low error. On the same graph, do the 4/3 ratio, and so forth, for a small handful of small-numbered ratios.
Somehow 19 springs to mind as having reasonably consonant intervals, but I don't remember for sure.
12 is the smallest, and is also an auspicious number in ancient cultures.
I'm using "minimum number of beats" as the definition of "consonant".
CDEFG -> CG is a fifth