Understanding MIT's applet on sound with Fourier coefficients

  • #1
zenterix
480
70
Homework Statement
Below are links to an applet that allows one to tinker with sounds and their mathematical representation, and a document explaining how to use the applet.
Relevant Equations
My question will be about a specific snippet in the document that relates "higher harmonic" amplitude (which I think means a higher angular frequency pure tone with some amplitude) with fundamental frequency.
Here is an applet for playing around with Fourier coefficients and sounds.

Here is a document explaining a bit about the applet.

I did not quite understand everything.

Let me go through it.

Sound as perceived by humans is the physical phenomenon of variations in air pressure near the ear.

Audible sounds have variations starting at around ##0.2\cdot 10^4\text{Pa}## and go up to tens of thousands of ##\text{Pa}## of variation.

The size of the oscillations is related to the loudness of the sound.

The frequency of the oscillations is related to the pitch of the sound. Humans only perceive sounds within a certain frequency range.

Sound can be modeled by mathematical functions, in particular trigonometric functions.

A periodic function such as ##\sin{(2\pi\mathcal{v}t)}## represents a pure tone with frequency ##\mathcal{v}##.

The applet constructs a function

$$f(t)=\sum\limits_{n=0}^9 c_ne^{i(n\omega t+\phi)}\tag{1}$$

where the coefficients ##c_n## are complex.

There is a button that allows us to "toggle the restriction on the values of the coefficients making ##f(t)## real valued for ##n>0##" and when we select this option then "##c_{-n}## is reset to equal the complex conjugate of ##c_n##". This is because actually, (1) is

$$f(t)=\sum\limits_{n=-9}^9 c_ne^{i(n\omega t+\phi)}\tag{1b}$$

I'm not sure about what the negative subscript coefficients are at this point.

The document says the sound played corresponds to the function

$$\text{Re}(e^{i\phi}f(t))\tag{2}$$

But the help in the applet itself says the function is

$$\text{Re}(e^{-i\phi}f(t))\tag{3}$$

The applet allows us to change each of the first nine ##c_n## by selecting a magnitude and an argument.

We can also change ##\phi##.

We can also change the base frequency ##\mathcal{v}## (the selector is in ##kHz##. The resulting angular frequency is ##\omega = 2\pi\mathcal{v}\cdot 10^3##.

The aforementioned document contains the following snippet

If the higher harmonics have much lower amplitudes than the fundamental frequency, then the fundamental pitch will stay the same but the quality of the sound will change. If the amplitude of a higher harmonic approaches that of the fundamental you may begin to hear it as a separate note.

I don't quite understand this.

For example, suppose we choose ##\mathcal{v}=0.44\text{kHz}## and we are only taking the real part of (1) so that our sound becomes

$$2\cos{(440\pi t)}+\cos{(2\pi\cdot 440\cdot 8t)}$$

That is, we have a pure tone of 440Hz with coefficient ##c_1=2## and then we have coefficient ##c_8=1## which multiplies ##\cos{(16\cdot 440\pi t)}##.

If I understand correctly, both cosines have the same base frequency ##\mathcal{v}=440Hz##, but the cosine for ##c_8## has a much higher angular frequency. It is thus a "higher harmonic". The amplitude of the latter is ##c_8=1##.

How do we make it so that this higher harmonic has "much lower amplitude than the fundamental frequency"?

Here is the setup I have in the applet

1709779780679.png
 
Last edited:
  • Like
Likes WWGD
Physics news on Phys.org
  • #2
zenterix said:
How do we make it so that this higher harmonic has "much lower amplitude than the fundamental frequency"?
By choosing a smaller value for ##c_8##, surely?
 
  • #3
haruspex said:
By choosing a smaller value for ##c_8##, surely?
But what does it even mean to compare an amplitude to a frequency?

The smallest base frequency possible in the applet is 0.01kHz = 10 Hz.

The amplitude in the applet can go from 0 to 4.

Thus, in the applet the amplitude of any of the terms will always be smaller than the frequency. Yet, in the example I gave (where the frequency used is 440Hz and the amplitude is 1) we always hear two separate notes (something the notes say happens when the amplitude approaches the frequency).
 
  • #4
zenterix said:
what does it even mean to compare an amplitude to a frequency?
It doesn’t. Where do you see that happening?
The ##c_n## values are the amplitudes of the pure tone constituent frequencies.
zenterix said:
The amplitude in the applet can go from 0 to 4.
As integer values only?
zenterix said:
something the notes say happens when the amplitude approaches the frequency
Are you perhaps misinterpreting "If the higher harmonics have much lower amplitudes than the fundamental frequency"? It means "If the higher harmonics have much lower amplitudes than the fundamental frequency (has)". I.e. If the higher harmonics have much lower amplitudes than (the amplitude of) the fundamental frequency.
 

Similar threads

  • Introductory Physics Homework Help
Replies
3
Views
151
  • Introductory Physics Homework Help
Replies
1
Views
133
  • Introductory Physics Homework Help
Replies
17
Views
379
Replies
4
Views
369
  • Calculus and Beyond Homework Help
Replies
2
Views
373
  • Introductory Physics Homework Help
Replies
12
Views
736
  • Calculus and Beyond Homework Help
Replies
16
Views
566
Replies
4
Views
296
  • Calculus and Beyond Homework Help
Replies
1
Views
537
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top