Music by the numbers
The following table summarizes the basic mathematical relationships for the C-major scale, beginning with middle C:
Cents in 12edo temperament | Note | Interval | Just intonation ratio | Frequency |
---|---|---|---|---|
0 | C | unison | 1/1 | 264 |
200 | D | M2 | 9/8 | 297 |
400 | E | M3 | 5/4 | 330 |
500 | F | P4 | 4/3 | 352 |
700 | G | P5 | 3/2 | 396 |
900 | A | M6 | 5/3 | 440 |
1100 | B | M7 | 15/8 | 495 |
1200 | C | octave | 2/1 | 528 |
Each cent represents 1200th of the interval within an octave. Since doubling the frequency of a note generates the octave above it, each cent represents 21/1200, or 1/17.3 percent.
If you know the frequencies a and b of two notes, the following formula yields the number of cents measuring the interval between them:
n = 1200 log2 (a/b)Similarly, if you know the frequency of note b and the number of n cents marking the interval to note a, you can compute the frequency of note a with this formula:
a = b · 2n/1200The colors in the chart listing notes, lintervals, just intonation ratios, and frequencies represent an effort to unify the mathematic models of music and of color. Hue represents tone; value represents pitch. Though unimplemented here, saturation can represent the intensity or volume of a note. Dividing an octave into 12edo allows us to place the principal notes of the C-major scale — C through F, plus C#, D#, F#, G#, and A# — at evenly spaced 30 degree increments around the 360 degrees of the hue circle. Dividing the HSV colorspace's representation of value between two octaves generates an increase of 128 decimal or 80 hexadecimal units of value for each doubling of frequency.
The two rows representing C illustrate this color model of music most vividly. The first row, depicting middle C, is rendered with a background color of #880000: pure red at 100 percent saturation and 50 percent value. The final row, depicting C one octave higher, is rendered with a background color of #ff0000. It retains a pure red hue and remains at 100 percent saturation, since by stipulation this model did not alter the volume or intensity of the music being represented. But value has now reached 100 percent — 255 in decimal terms or FF in hexadecimal terms.
This model enables the rendering of simple tunes in two-dimensional color maps. It differs in operational detail, if not in spirit, from this effort to harmonize light and sound as harmonic phenomena. In future posts, perhaps, I will illustrate what I mean by plotting familiar melodies onto this synesthetic model of music.
0 Comments:
Post a Comment
<< Home