Understanding MIT's applet on sound with Fourier coefficients

Click For Summary

Homework Help Overview

The discussion revolves around understanding an applet related to sound and Fourier coefficients, focusing on how sound can be represented mathematically using trigonometric functions and complex coefficients. Participants explore the relationship between sound frequency, amplitude, and the effects of higher harmonics on perceived sound quality.

Discussion Character

  • Exploratory, Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants discuss the mathematical representation of sound using Fourier series and question the implications of amplitude and frequency in the context of harmonics. There is confusion regarding the relationship between the amplitudes of higher harmonics and the fundamental frequency, as well as the interpretation of coefficients in the applet.

Discussion Status

Some participants have offered insights into the definitions of amplitude and frequency, while others are seeking clarification on specific terms and concepts. The conversation is ongoing, with multiple interpretations being explored regarding the effects of harmonic amplitudes on sound perception.

Contextual Notes

Participants are working within the constraints of the applet, which allows for specific ranges of frequency and amplitude values. There is an emphasis on understanding the mathematical relationships and assumptions underlying the applet's functionality.

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:
  • Like
Likes   Reactions: WWGD
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.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
17
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 16 ·
Replies
16
Views
2K
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K