Kettledrums (a.k.a. tympani) produce a definite pitch, but in theory they should not. At least the simplest mathematical model of a kettledrum would not have a definite pitch. Of course there are more accurate theories that align with reality.

**Unlike many things that work in theory but not in practice, kettledrums work in practice but not in theory**.

A musical sound has a definite pitch when the first several Fourier components are small integer multiples of the lowest component, the fundamental. A pitch we hear at 100 Hz would have a first overtone at 200 Hz, the second at 300 Hz, etc. It’s the relative strengths of these components give each instrument its characteristic sound.

An ideal string would make a definite pitch when you pluck it. The features of a real string discarded for the theoretical simplicity, such as stiffness, don’t make a huge difference to the tonality of the string.

An ideal circular membrane would vibrate at frequencies that are much closer together than consecutive integer multiples of the fundamental. The first few frequencies would be at 1.594, 2.136, 2.296, 2.653, and 2.918 times the fundamental. Here’s what that would sound like:

(download)

I chose amplitudes of 1, 1/2, 1/3, 1/4, 1/5, and 1/6. This was somewhat arbitrary, but not unrealistic. Including more than the first six Fourier components would make the sound even more muddled.

By comparison, here’s what it would sound like with the components at 2x up to 6x the fundamental, using the same amplitudes.

(download)

This isn’t an accurate simulation of tympani sounds, just something simple but more realistic than the vibrations of an idea membrane.

The real world complications of a kettledrum spread out its Fourier components to make it have a more definite pitch. These include the weight of air on top of the drum, the stiffness of the drum head, the air trapped in the body of the drum, etc.

If you’d like to read more about how kettle drums work, you might start with The Physics of Kettledrums by Thomas Rossing in Scientific American, November 1982.

]]>In an earlier post I wrote about how beats come up in vibrating systems, such as a mass and spring combination or an electric circuit. Here I look at examples from music and radio.

When two musical instruments play nearly the same note, they produce beats. The number of beats per second is the difference in the two frequencies. So if two flutes are playing an A, one playing at 440 Hz and one at 442 Hz, you’ll hear a pitch at 441 Hz that beats two times a second. Here’s a wave file of two pure sine waves at 440 Hz and 442 Hz.

As the players come closer to being in tune, the beats slow down. Sometimes you don’t have two instruments but two strings on the same instrument. Guitarists listen for beats to tell when two strings are playing the same note with the same pitch.

The same principle applies to AM radio. A message is transmitted by multiplying a carrier signal by the content you want to broadcast. The beats are the content. As we’ll see below, in some ways the musical example and the AM radio example are opposites. With tuning, we start with two sources and create beats. With AM radio, we start by creating beats, then see that we’ve created two sources, the sidebands of the signal.

Both examples above relate to the following trig identity:

cos(*a*–*b*) + cos(*a*+*b*) = 2 cos *a* cos *b*

And because we’re looking at time-varying signals, slip in a factor of 2π*t*:

cos(2π(*a*–*b*)*t*) + cos(2π(*a*+*b*)*t*) = 2 cos 2π*at* cos 2π*bt*

In the case of two pure tones, slightly out of tune, let *a* = 441 and *b* = 1. Playing an A 440 and an A 442 at the same time results in an A 441, twice as loud, with the amplitude going up and down like cos 2π*t*, i.e. oscillating two times a second. (Why two times and not just once? One beat for the maximum and and one for the minimum of cos 2π*t*.)

It may be hard to hear beats because of complications we’ve glossed over. Musical instruments are never perfectly in phase, but more importantly they’re not pure tones. An oboe, for example, has strong components above the fundamental frequency. I used a flute in this example because although its tone is not simply a sine wave, it’s closer to a sine wave than other instruments, especially when playing higher notes. Also, guitarists often compare the *harmonics* of two strings. These are purer tones and so it’s easier to hear beats between them.

For the case of AM radio, read the equation above from right to left. Let *a* be the frequency of the carrier wave. For example if you’re broadcasting on AM station 700, this means 700 kHz, so *a* = 700,000. If this station were broadcasting a pure tone at 440 Hz, *b* would be 440. This would produce sidebands at 700,440 Hz and 699,560 Hz.

In practice, however, the carrier is not multiplied by a signal like cos 2π*bt* but by 1 + *m* cos* 2πbt* where |*m*| < 1 to avoid *over-modulation*. Without this extra factor of 1 the signal would be 100% modulated; the envelope of the signal would pinch all the way down to zero. By including the factor of 1 and using a modulation index *m* less than 1, the signal looks more like the image above, with the envelope not pinching all the way down. (Over-modulation occurs when *m* > 1. Instead of the envelope pinching to zero, the upper and lower parts of the envelop cross.)

**Related posts**:

When you press the octave key on the back of a saxophone with your left thumb, the pitch goes up an octave. Sometimes this causes a key on the neck to open up and sometimes it doesn’t [2]. I knew that much.

I thought that when this key didn’t open, the octaves work like they do on a flute: no mechanical change to the instrument, but a change in the way you play. And to some extent this is right: You can make the pitch go up an octave without using the octave key. However, when the octave key is pressed there is a second hole that opens up when the more visible one on the neck closes.

According to the podcast, the first saxophones had two octave keys to operate with your thumb. You had to choose the correct octave key for the note you’re playing. Modern saxophones work the same as early saxophones except there is only one octave key controlling two octave holes.

* * *

[1] Musical Acoustics from The University of Edinburgh, iTunes U.

[2] On the notes written middle C up to A flat, the octave key raises the little hole I wasn’t aware of. For higher notes the octave key raises the octave hole on the neck.

]]>

In **scientific pitch notation**, the C near the threshold of hearing, around 16 Hz, is called C0. The C an octave higher is C1, the next C2, etc. Octaves begin with C; other notes use the octave number of the closest C below.

The lowest note on a piano is A0, a major sixth up from C0. Middle C is C4 because it’s 4 octaves above C0. The highest note on a piano is C8.

A4, the A above middle C, has a frequency of 440 Hz. This is nine half steps above C4, so the pitch of C4 is 440*2^{-9/12}. C0 is four octaves lower, so it’s 2^{-4} = 1/16 of the pitch of C4. (Details for this calculation and the one below are given in here.)

For a pitch P, the number of half steps from C0 to P is

*h* = 12 log_{2}(*P* / C0).

The Python code below calculates the number of half steps *h* from C0 up to a pitch, then computes the corresponding pitch notation.

from math import log2, pow A4 = 440 C0 = A4*pow(2, -4.75) name = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"] def pitch(freq): h = round(12*log2(freq/C0)) octave = h // 12 n = h % 12 return name[n] + str(octave)

The pitch for A4 is its own variable in case you’d like to modify the code for a different tuning. While 440 is common, it used to be lower in the past, and you’ll sometimes see higher values like 444 today.

If you’d like to port this code to a language that doesn’t have a `log2`

function, you can use `log(x)/log(2)`

for `log2(x)`

.

When scientific pitch notation was first introduced, C0 was defined to be exactly 16 Hz, whereas now it works out to around 16.35. The advantage of the original system is that all C’s have frequency a power of 2, i.e. C*n* has frequency 2^{n+4} Hz. The formula above for the number of half steps a pitch is above C0 simplifies to

*h* = 12 log_{2}*P* – 48.

If C0 has frequency 16 Hz, the A above middle C has frequency 2^{8.75} = 430.54, a little flat compared to A 440. But using the A 440 standard, C0 = 16 Hz is a convenient and fairly accurate approximation.

This decomposition is unique if you impose the extra requirement that consecutive Fibonacci numbers are not allowed. [1] It’s easy to see that the rule against consecutive Fibonacci numbers is necessary for uniqueness. It’s not as easy to see that the rule is sufficient.

Every Fibonacci number is itself the sum of two consecutive Fibonacci numbers—that’s how they’re defined—so clearly there are at least two ways to write a Fibonacci number as the sum of Fibonacci numbers, either just itself or its two predecessors. In the example above, 8 = 5 + 3 and so you could write 10 as 5 + 3 + 2.

The *n*th Fibonacci number is approximately φ^{n}/√5 where φ = 1.618… is the golden ratio. So you could think of a Fibonacci sum representation for *x* as roughly a base φ representation for √5*x*.

You can find the Fibonacci representation of a number *x* using a greedy algorithm: Subtract the largest Fibonacci number from *x* that you can, then subtract the largest Fibonacci number you can from the remainder, etc.

Programming exercise: How would you implement a function that finds the largest Fibonacci number less than or equal to its input? Once you have this it’s easy to write a program to find Fibonacci representations.

* * *

[1] This is known as Zeckendorf’s theorem, published by E. Zeckendorf in 1972. However, C. G. Lekkerkerker had published the same result 20 years earlier.

]]>The screen shot above comes from a tuner app taken when I was around some electrical equipment. The pitch sometimes registered at A# and sometimes as B, and for good reason. In a previous post I derived the formula for converting frequencies to musical pitches:

*h* = 12 log(*P* / *C*) / log 2.

Here *C* is the pitch of middle C, 261.626 Hz, *P* is the frequency of your tone, and *h* is the number of half steps your tone is above middle C. When we stick P = 60 Hz into this formula, we get *h* = -25.49, so our electrical hum is half way between 25 and 26 half-steps below middle C. So that’s between a A# and a B two octaves below middle C.

For 50 Hz hum, *h* = -28.65. That would be between a G and a G#, a little closer to G.

**Update**: So why would the frequency of the sound match the frequency of the electricity? The magnetic fields generated by the current would push and pull parts, driving mechanical vibrations at the same frequency.

When you go up a fifth (seven half steps) you add a sharp. For example, the key of C has no sharps or flats, G has one sharp, D has two, etc. Starting from C and adding 30 sharps means going up 30*7 half-steps. Musical notes operate modulo 12 since there are 12 half-steps in an octave. 30*7 is congruent to 6 modulo 12, and six half-steps up from C is F#. So the key with 30 sharps would be the same pitches as F#.

But the key wouldn’t be called F#. It would be D quadruple sharp! I’ll explain below.

Sharps are added in the order F, C, G, D, A, E, B, and the name of key is a half step higher than the last sharp. For example, the key with three sharps is A, and the notes that are sharp are F#, C#, and G#.

In the key of C#, all seven notes are sharp. Now what happens if we add one more sharp? We start over and start adding more sharps in the same order. F was already sharp, and now it would be double sharp. So the key with eight sharps is G#. Everything is sharp except F, which is double sharp.

In a key with 28 sharps, we’ve cycled through F, C, G, D, A, E, and B four times. Everything is quadruple sharp. To add two more sharps, we sharpen F and C one more time, making them quintuple sharp. The note one half-step higher than C quintuple sharp is D quadruple sharp, which is enharmonic with F#.

You could repeat this exercise with flats. Going up a forth (five half-steps) adds a flat. Or you could think of a flat as a negative sharp.

**Related posts**:

Let *P* be the frequency of some pitch you’re interested in and let *C* = 261.626 be the frequency of middle C. If *h* is the number of half steps from *C* to *P* then

*P* / *C* = 2^{h/12}.

Taking logs,

*h* = 12 log(*P* / *C*) / log 2.

If *P* = 85, then *h* = -19.46. That is, James Earl Jones’ voice is about 19 half-steps below middle C, around the F an octave and a half below middle C.

More details on the derivation above here.

]]>

DSP_fact is for DSP, digital signal processing: filters, Fourier analysis, convolution, sampling, wavelets, etc.

MusicTheoryTip is for basic music theory with a little bias toward jazz. It’ll tweet about harmony, scales, tuning, notation, etc.

Here’s a full list of my 15 daily tip twitter accounts.

If you’re interested in one of these accounts but don’t use Twitter, you can subscribe to a Twitter account via RSS just as you’d subscribe to a blog.

If you’re using Google Reader to subscribe to RSS feeds, you’ll need to switch to something else by July 1. Here are 18 alternatives.

]]>Source: Radiolab

Before the play started, someone told me that the phrase “bidi-bidi-bum” in “If I Were a Rich Man” is a Yiddish term for prayer. I thought “All day long I’d bidi-bidi-bum” was a way of saying “All day long I’d piddle around.” That completely changes the meaning of that part of the song.

When I got home I did a quick search to see whether what I’d heard was correct. According to Wikipedia,

A repeated phrase throughout the song, “all day long I’d bidi-bidi-bum,” is often misunderstood to refer to Tevye’s desire not to have to work. However, the phrase “bidi-bidi-bum” is a reference to the practice of Jewish prayer, in particular davening.

Unfortunately, Wikipedia adds a footnote saying “citation needed,” so I still have some doubt whether this explanation is correct. I searched a little more, but haven’t found anything more authoritative.

Now I wonder whether there’s any significance to other parts of the song that I thought were just a form of Klezmer scat singing, e.g. “yubba dibby dibby dibby dibby dibby dibby dum.” I assumed those were nonsense syllables, but is there some significance to them?

**Update**: At Jason Fruit’s suggestion in the comments, I asked about this on judaism.stackexchange.com. Isaac Moses replied that the answer is somewhere in between. The specific syllables are not meaningful, but they are intended to be reminiscent of the kind of improvisation a cantor might do in singing a prayer.

2012 is also prime as a base-five number.

Update: Here’s some Mathematica code to find other bases where 2012 is prime.

f[n_] := 2 n^3 + n + 2 For[n = 3, n < 100, n++, If[PrimeQ[f[n]], Print[n]]]

**Related posts**:

Kenny G’s philosophy is as shallow as his music.

I just play for myself, the way I want to play, and it comes out sounding like me.

Coltrane’s philosophy, like his music, is more ambitious.

Overall, I think the main thing a musician would like to do is give a picture to the listener of the many wonderful things he knows and senses in the universe. That’s what music is to me — it’s just another way of saying this is a big, wonderful universe we live in, that’s been given to us, and here’s an example of just how magnificent and encompassing it is. That’s what I would like to do. I think that’s one of the greatest things you can do in life, and we all try to do it in some way. The musician’s is through his music.

As Groothuis comments, Kenny G only spoke of expressing *himself*, while Coltrane “expressed a yearning to represent objective realities musically.”

After one utterly extraordinary rendition of “A Love Supreme,” Coltrane stepped off the stage, put down his saxophone, and said simply “

Nunc dimittis.” … Coltrane felt he could never play the piece more perfectly. If his whole life had been lived for that passionate thirty-two minute jazz prayer, it would have been worth it. He was ready to go.

*Nunc dimittis* is Latin for “Now dismiss.” These are the opening words of the Vulgate translation of the Song of Simeon, Luke 2:29–32. Simeon says he is ready to die because he has seen what he was waiting for, the promised Messiah.

Lord, now lettest thou thy servant depart in peace, according to thy word:

For mine eyes have seen thy salvation,

Which thou hast prepared before the face of all people;

A light to lighten the Gentiles, and the glory of thy people Israel.

Coltrane’s story brings several things to mind. First, it is awe-inspiring to imagine an accomplishment so fulfilling that you would say “That was it. I’m ready to die.”

Next, it’s interesting to ponder Coltrane’s eclectic spirituality. I knew Christianity was part of his spiritual gumbo, but I was surprised to hear that he made a spontaneous reference to Latin liturgy.

Coltrane was canonized by the African Orthodox Church in 1982. Truth is stranger than fiction.

Finally, I was interested in the name *Nunc dimittis* itself. I hadn’t heard it before. (I’ve only been part of non-liturgical churches.) I thought the name might only be familiar to Catholics, being a Latin term. But an Episcopalian friend informed me that the Anglican mass preserves many Latin titles even though the liturgy itself is in English. I suppose Coltrane encountered this Anglican name via the Episcopalian influence on the African Methodist Episcopalian Zion Church.

**Closely related post**:

**Less related posts**:

Software sins of omission (Software and the Book of Common Prayer)

Doing good work with bad tools (Charlie Parker story)

Dave Brubeck mass (Mass composed by a jazz icon)

See also March in 7/4 time and Blue Rondo à la Turk.

]]>However, Sivers didn’t go through his entire education this way. He finished his degree in 2.5 years, but at the rate he started he could have finished in under a semester. Obviously he wasn’t able to blow through everything as fast as music theory.

Some classes compress better than others. Theoretical classes condense better than others. A highly motivated student could learn a semester of music theory or physics in a short amount of time. But it would take longer to learn a semester of French or biology no matter how motivated you are because these courses can’t be summarized by a small number of general principles. And while Sivers learned basic music theory in three hours, he says it took him 15 years to learn how to sing.

Did Sivers’ mentor expose him to everything students taking music theory classes are exposed to? Probably not. But apparently Sivers did learn the most important material, both in the opinion of his mentor and in the opinion of the people who created the placement exams. His mentor not only taught him a lot of ideas in a short amount of time, he also told him when it was time to move on to something else.

It’s hard to say when you’ve learned something. Any subject can be explored in infinite detail. But there comes a point when you’ve learned a subject well enough. Maybe you’ve learned it to your personal satisfaction or you’ve learned it well enough for an exam. Maybe you’ve reached diminishing return on your efforts or you’ve learned as much as you need to for now.

One way to greatly speed up learning is to realize when you’ve learned enough. A mentor can say something like “You don’t know everything, but you’ve learned about as much as you’re going to until you get more experience.”

Occasionally I’ll go from feeling I don’t understand something to feeling I do understand it in a moment, and not because I’ve learned anything new. I just realize that maybe I *do *understand it after all. It’s a feeling like eating a meal quickly and stopping before you feel full. A few minutes later you feel full, not because you’ve eaten any more, but only because your body realizes you’re full.

**Related posts**:

**Odd meters**

Music in 5/4 time

Blue Rondo à la Turk

March in 7/4 time

**Music and computers**

Typesetting music in LaTeX with LilyPond

Windows XP and Ubuntu start-up music

**Music and math**

Opening chord of “A Hard Days Night”

Circle of fifths and number theory

Circle of fifths and roots of two

Logarithms, music, and arsenic

Calendars, Connections, and Cats

Music and silence — how I detest them both! … no square inch of infernal space and no moment of infernal time has been surrendered to either of those abominable forces, but all has been occupied by Noise — Noise, the grand dynamism, the audible expression of all that is exultant, ruthless, and virile … We will make the whole universe a noise in the end. We have already made great strides in that direction as regards the Earth. The melodies and silences of Heaven will be shouted down in the end. But I admit we are not yet loud enough, or anything like it. Research is in progress.

**Related posts**:

The Ubuntu music style is African, like the word *ubuntu*. It was influenced by Windows, like the Ubuntu user interface, but it’s a new composition.

I’ve been running Ubuntu on a virtual machine. The sound quality was so bad that I never clearly heard Ubuntu start up. But I recently installed Ubuntu on a physical machine and heard the start-up music clearly for the first time.

]]>I had a Connections-like moment when a calendar led to some physics, which then lead to Andrew Lloyd Webber’s musical Cats.

A few days ago I stumbled on Ron Doerfler’s graphical computing calendar and commented on the calendar here. When I discovered Ron Doerfler’s blog, I bookmarked his article on Oliver Heaviside to read later. (Heaviside was a pioneer in what was later called distribution theory, a way of justifying such mathematical mischief as differentiating non-differentiable functions.) As I was reading the article on Heaviside, I came to this line:

At one time the ionosphere was called the Heaviside layer …

Immediately the lyrics “Up, up, up to the Heaviside layer …” started going through my head. These words come from the song “The Journey to the Heaviside Layer” from Cats. I had never thought about “Heaviside” in that song as being related to Mr. Heaviside. I’ve never seen the lyrics in print, so I thought the words were “heavy side” and didn’t stop to think what they meant.

Andrew Lloyd Webber based Cats on Old Possum’s Book of Practical Cats by T. S. Eliot. The song “The Journey to the Heaviside Layer” in particular is based on the poem Old Deuteronomy from Eliot’s book. Webber used the Heaviside layer as a symbol for heaven, based on an allusion in one of T. S. Eliot’s letters. The symbolism is obvious in the musical, but I hadn’t thought about “Heaviside layer” as meaning “the heavens” (i.e. the upper atmosphere) as well as heaven in the theological sense.

]]>Jason Brown has digitally analyzed the chord using Fourier analysis and determined that there must have been a piano in the recording studio playing along with the guitars. Brown has determined what notes each member of the Beatles were playing.

I heard Jason Brown’s story on the Mathematical Moments podcast. In addition to the chord discussed above, Brown talks about other things he has discovered about the Beatles and about the relationship between music and math in general. Unfortunately, Mathematical Moments does not make it easy to link to individual episodes. Here is a link to a PDF file of show notes with the audio embedded. The file is slow to download, and your PDF viewer may not support it. Here’s a link directly to just the MP3 audio file.

The Mathematical Moments podcast also does not make it obvious that you can subscribe to the podcast; they only provide links to individual episodes with fat PDF files. However, you can subscribe by using the URL http://www.ams.org/rss/mathmoments.rss.

]]>If you start at on any note and go up by fifths, you’ll cycle through the entire chromatic scale. For example: C, G, D, A, E, B, F#, C#, G#, D#, A#, F, C. If you go up by fourths, you’ll get the same sequences of notes but in the reverse order. So there’s a cycle of fifths and a cycle of fourths, but there are no other ways to cycle through the chromatic scale other than the chromatic scale itself.

If you start at C and go up by minor thirds, for example, you’ll only hit four distinct notes before returning to where you started: C, D#, F#, A, C. You don’t cycle through all 12 notes, only four of them. Instead of filling out a chromatic scale, you fill out a diminished chord. You could fill out two other diminished chords by starting on C# or on D. Going up by major sixths produces the same sequence of notes as going down by minor thirds.

What’s special about fourths and fifths that their cycles cover the chromatic scale while cycles of other intervals partition the chromatic scale into smaller groups of notes? A fourth is 5 chromatic steps and a fifth is 7 chromatic steps. The numbers 5 and 7 are relatively prime to 12, that is, they share no factors with 12 (other than 1, which doesn’t count).

The numbers less than 12 and relatively prime to 12 are 1, 5, 7, and 11. These intervals correspond to the ascending chromatic scale, the circle of fourths, the circle of fifths, and the descending chromatic scale.

The numbers less than 12 and not relatively prime to 12 are 2, 3, 4, 6, 8, 9, and 10. Going up by 2 chromatic steps produces a whole-tone scale. Going up by 10 steps produces the same sequence of notes but in the opposite order. Going up by 3 or 9 steps produces a diminished chord. Going up by 4 or 8 steps produces an augmented chord. Going up by 6 steps produces a tritone pair. (I’m used to jazz terminology which uses the term “tritone.” Classical musicians would more likely say “augmented fourth” or “diminished fifth.”)

Now imagine a non-traditional scale that divided the octave into some number of parts other than 12. Suppose this new scale has *n* notes. Cycling in steps of size *m* will cover all *n* notes if and only if *m* and *n* are relatively prime. For example, if we divide the scale into 15 parts, we could cover all 15 pitches if we went up 4 steps at a time. We could play notes 1, 5, 9, 13, 2, 6, 10, 14, 3, 7, 11, 15.

If *m* and *n* are *not* relatively prime, let *d* be their greatest common divisor, the largest number that divides both *m* and *n*. Then going up *d* parts at a time will cycle through *m*/*d* notes and there will be *d* distinct cycles. For example, if there were 15 notes in our scale and we went up in intervals of 10 notes, we would cover 3 distinct notes, and we could make 5 different such three-note chords. For example, one such chord would be notes 1, 11, and 6, and another would be notes 2, 12, and 7.

If a scale had a prime number of notes, then *every* interval (other than an octave) would cycle through all notes.

Why is the 12-note scale so common? There have been other systems, but these are mostly subsets (at least approximately) of the 12-note scale. The answer seems to have something to do with the fact that intervals in the 12-tone scale have simple frequency ratios. For example, a fifth is a ratio 3:2 and a forth is a ratio 3:4. (More on that here.) These intervals are pleasant to our ears. There was a prehistoric flute in the news a few weeks ago and it appears to have been based on the same musical intervals common in modern music.

**Related post**: Circle of fifths and roots of two

An octave is a ratio of 2 to 1. Suppose a string of a certain tension and length produces an A when plucked. If you make the string twice as tight, or keep the same tension and cut the string in half, the string will sound the A an octave higher. The new sound will vibrate the air twice as many times per second.

A fifth is a ratio of 3 to 2 in the same way that an octave is a ratio of 2 to 1. So if we start with an A 440 (a pitch that vibrates at 440 Hz, 440 vibrations per second) then the E a fifth above the A vibrates at 660 Hz.

We can go up by fifths and down by octaves to produce every note in the chromatic scale. For example, if we go up another fifth from the E 660 we get a B 990. Then if we go down an octave to B 495 we have the B one step above the A 440. This says that a “second,” such as the interval from A to B, is a ratio of 9 to 8. Next we could produce the F# by going up a fifth from B, etc. This progression of notes is called the circle of fifths.

Next we take a different approach. Every time we go up by a half-step in the chromatic scale, we increase the pitch by a ratio *r*. When we do this 12 times we go up an octave, so *r*^{12} must be 2. This says *r* is the 12th root of 2. If we start with an A 440, the pitch *n* half steps higher must be 2^{n/12} times 440.

Now we have two ways of going up a fifth. The first approach says a fifth is a ratio of 3 to 2. Since a fifth is seven half-steps, the second approach says that a fifth is a ratio of 2^{7/12} to 1. If these are equal, then we’ve proven that 2^{7/12} equals 3/2. Unfortunately, that’s not exactly true, though it is a good approximation because 2^{7/12} = 1.498. The ratio of 3/2 is called a “perfect” fifth to distinguish it from the ratio 1.498. The difference between perfect fifths and ordinary fifths is small, but it compounds when you use perfect fifths to construct every pitch.

The approach making every note via perfect fifths and octaves is known as Pythagorean tuning. The approach using the 12th root of 2 is known as equal temperament. Since 1.498 is not the same as 1.5, the two approaches produce different tuning systems. There are various compromises that try to preserve aspects of both systems. Each set of compromises produces a different tuning system. And in fact, the Pythagorean tuning system is a little more complicated than described above because it too involves some compromise.

**Related post**: Circle of fifths and number theory

I was totally broke. I was living on beans and I know thousands of bean recipes. It’s scary at any age, but it’s particularly scary in your fifties when all my friends are retiring and my goal is to save up for an avocado.

The quote comes from the BrightSideBroadcast podcast featuring her music.

]]>

**JC: Your .NET Rocks podcast goes back further than podcasting. Did the show start on radio or was it always online?**

**CF**: It was always online. Although I was inspired by public radio programs like *Car Talk* and *Whad’Ya Know*, I always thought the audience was too narrow for general radio. That, and I had web resources readily available.

**JC: So the show was a set of downloadable MP3 files before RSS feeds came along to organize the files into a podcast?**

**CF**: Exactly. We had a site more or less like it is now, with links to and info about the current show on the front page, and an archives page. We also had a newsletter we used to notify people of new shows.

**JC: Could you say something about your podcasts, ones you host, produce, etc.?**

**CF**: Well, .NET Rocks is a twice-weekly interview show for .NET devs. I am the host and Richard Campbell is the co-host. It’s an hour long, more or less. Topics range from low-level techie stuff to new technologies and methodologies to speculation about the future.

We also produce a weekly video screencast/interview show also about an hour long called dnrTV. Topics are hands-on practical. It’s recorded at 1024×768 so it will fit most projectors.

Hanselminutes is a 30-50 minute podcast with Scott Hanselman covering a wide variety of developer and technology topics. Also weekly.

RunAs Radio is a 30-50 minute weekly interview show on Microsoft-centric IT topics with Richard Campbell and Greg Hughes.

We also do an adult comedy podcast called Mondays. Richard Campbell and I basically spend an hour or so laughing at the stories and wit of Mark Miller and Karen Mangiacotti. NSFW but hilarious.

**JC: On .NET Rocks, you’re the alpha geek programmer, but sometimes you mention your life as a musician and entrepreneur. Were you a musician first?**

**CF**: Yes. I was singing in the Westerly Chorus from age 8. Piano since age 4. Guitar since age 10. Trumpet since age 10. Bass and drums came later. Programming didn’t come around till I was 17. I went to Berklee School of Music in 85-86 and Full Sail School of Recording Arts 86-87. Learned computers on my own. I was lucky to have many smart programmer friends who were willing to share their knowledge. That experience has shaped everything I have done since.

**JC: How did you get started as a programmer?**

**CF**: My dad bought a TRS-80 model 4 when I was a kid to do taxes and bills. I think VisiCalc was the only program he used. It had a guide to BASIC programming that I started reading. Between that and the TRSDOS manual I started writing some cool programs. Then I got a modem and was introduced to the BBS world. That was it. I was hooked on writing serial communications programs.

**JC: You’ve mentioned Franklins.Net and Pwop productions on .NET Rocks. Could you describe these businesses and how you got started?**

**CF**: Franklins.Net was started in 1999 as a training company. I taught VB6 and then VB.NET for several years. Pwop was started as a media production company to support the podcasts. Now Franklins.Net is the .NET education brand and Pwop is all about audio/video/music production.

**JC: Do you have any other businesses?**

**CF**: No.

**JC: Let’s go back to your music. Who are some musicians that influenced you? Who do you like to listen to now?**

**CF**: I was brought up on good old classic rock. On acoustic guitar I was influenced by John Fahey, Leo Kottke, Jorma Kaukonen, and the like. On electric guitar: Jeff Beck, Brian May, Peter Frampton, Eagles, Skynyrd, Duane Allman, Jerry Garcia, and more recently John Scofield, John Pisano, Lee Rittenour, and Pat Martino. Nowadays I’m on a New Orleans kick, hanging out with The Meters and Professor Longhair.

**JC: Sounds like you’re active as a performer and a producer.**

**CF**: Yes. I’ve produced music for a handful of artists and I play in local venues regularly.

**JC: Your web site says recorded a CD with your brother Jay a few years ago. Where can we find it?**

**CF**: We will announce a website soon with our new album, and free links to our old album.

**JC: Tell me about the new CD you’re working on.**

**CF**: It’s all original but you’ll be able to hear and identify our influences easily.

**JC: Anything else you want to talk about?**

**CF**: Sounds good to me! Thanks!!!

**Related post**:

Best podcast intro music (Includes a couple links to Carl’s music.)

]]>Apparently he only recently started recording with his own group, the Brian Lopes Trio. According to the podcast, Brian Lopes has played with Chick Corea, Frank Sinatra, Aretha Franklin, Ray Charles, and other well known musicians. Finding his music is difficult, but you can buy his first CD at Blue Canoe Records. (Apparently you can’t actually buy a physical CD, but you can buy the MP3 files, sans DRM, that make up the CD.)

Image credit: Eclectic Mix podcast

**Related posts**: