Understanding MIT's applet on sound with Fourier coefficients

AI Thread Summary
The discussion focuses on an applet that demonstrates sound through Fourier coefficients, allowing users to manipulate sound waves by adjusting coefficients and frequencies. It explains that sound is modeled using periodic functions, where the amplitude relates to loudness and frequency to pitch. Users can toggle settings to make the function real-valued and explore how different harmonics affect sound quality. A key point of confusion arises around the relationship between amplitude and frequency, particularly regarding how higher harmonics can be perceived as separate notes when their amplitudes approach that of the fundamental frequency. The conversation clarifies that amplitude comparisons are made relative to the fundamental frequency's amplitude, not its numerical value.
zenterix
Messages
774
Reaction score
84
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:
Physics news on Phys.org
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?
 
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).
 
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.
 
Kindly see the attached pdf. My attempt to solve it, is in it. I'm wondering if my solution is right. My idea is this: At any point of time, the ball may be assumed to be at an incline which is at an angle of θ(kindly see both the pics in the pdf file). The value of θ will continuously change and so will the value of friction. I'm not able to figure out, why my solution is wrong, if it is wrong .
Thread 'Correct statement about a reservoir with an outlet pipe'
The answer to this question is statements (ii) and (iv) are correct. (i) This is FALSE because the speed of water in the tap is greater than speed at the water surface (ii) I don't even understand this statement. What does the "seal" part have to do with water flowing out? Won't the water still flow out through the tap until the tank is empty whether the reservoir is sealed or not? (iii) In my opinion, this statement would be correct. Increasing the gravitational potential energy of the...
Thread 'A bead-mass oscillatory system problem'
I can't figure out how to find the velocity of the particle at 37 degrees. Basically the bead moves with velocity towards right let's call it v1. The particle moves with some velocity v2. In frame of the bead, the particle is performing circular motion. So v of particle wrt bead would be perpendicular to the string. But how would I find the velocity of particle in ground frame? I tried using vectors to figure it out and the angle is coming out to be extremely long. One equation is by work...
Back
Top