What is the role of frequency in music?

  • I
  • Thread starter Pattern-chaser
  • Start date
  • Tags
    Frequency
In summary: Audacity has a function called "Plot Spectrum" which can be very useful in this regard.In summary, "frequency" in the context of real-world sound (such as music) is not always definable or measurable, and may depend on the particular context.
  • #1
Pattern-chaser
9
7
Setting aside pure sine waves, and looking instead at real-world sound, such as music, I wonder what "frequency" is? Fourier's Theorem seems to be aimed specifically at PERIODIC waveforms, but music (as just one example of real-world sound) is not periodic, as far as I can see. So it is not clear to me that Fourier's Theorem applies to music, even though we have achieved many working applications using it.

So, in the context of music, what is "frequency"?
 
  • Skeptical
Likes davenn
Physics news on Phys.org
  • #2
Music is not periodic? I can't imagine what would make you think that.
 
  • Like
Likes nasu and Pattern-chaser
  • #3
russ_watters said:
Music is not periodic? I can't imagine what would make you think that.
Looking at a music waveform on a 'scope offers a simple and real-world illustration. "Periodic", as applied to waveforms, means that the waveform repeats cyclically, and music does not do this. ... Unless you consider an entire symphony (for example) as a single cycle of a waveform that could (theoretically) repeat over and over, except that it doesn't.
 
  • Skeptical
Likes davenn and PeroK
  • #4
Pattern-chaser said:
Looking at a music waveform on a 'scope offers a simple and real-world illustration.
You wouldn't be able to view it on the scope if it wasn't periodic.
Pattern-chaser said:
"Periodic", as applied to waveforms, means that the waveform repeats cyclically, and music does not do this. ... Unless you consider an entire symphony (for example) as a single cycle of a waveform that could (theoretically) repeat over and over, except that it doesn't.
Of course music repeats cyclically! Middle C is 264 Hz, so a quarter note at 120 beats per min is 132 cycles.
 
  • Like
Likes Pattern-chaser
  • #5
russ_watters said:
You wouldn't be able to view it on the scope if it wasn't periodic

Of course music repeats cyclical! Middle C is 264 Hz, so a quarter note at 120 beats per min is 132 cycles.
But you *can't* view it on a 'scope unless you do a single-scan. On continuous scan, the scope can't sync, possibly because the music waveform isn't periodic? :wink:

Also, middle C is indeed 264 Hz, but no instrument (excluding electronic ones) produces a 264 Hz sine-wave when middle C is played on it. Instead, we see a complex waveform which does not appear to be periodic. [And this complexity is not just 'harmonics', but also includes all sorts of instrument-dependent components, and maybe ambient noise, etc, too.]
 
  • Skeptical
Likes davenn
  • #6
Pattern-chaser said:
Looking at a music waveform on a 'scope offers a simple and real-world illustration. "Periodic", as applied to waveforms, means that the waveform repeats cyclically, and music does not do this
Music is a (mixed) sum of various waveforms (some longer, some shorter) with different frequencies and different timbre. In the previous description I exclude some effects which complicates matters further, like reverbs and delays, which adds modified time delayed copies of sounds to the original sounds.

Edit:

And that's why the final waveform of a musical piece looks quite chaotic when you look at it. But of course there are frequencies present in the waveform, they're just heavily mixed together. For instance, you can analyze the piece with a spectrum analyzer (FFT) to see which frequencies are more prominent than others.

Also, there is almost always some kind of tempo involved, and that is also a sort of a overall, general frequency of the piece, so to say.
 
Last edited:
  • Like
Likes PeroK and Pattern-chaser
  • #7
DennisN said:
But of course there are frequencies present in the waveform, they're just heavily mixed together. For instance, you can analyze the piece with a spectrum analyzer (FFT) to see which frequencies are more prominent than others.
Ah, but can you? Fourier's Theorem applies only to periodic waveforms, which brings us back to my original question. In the context of non-periodic real-world sound, e.g. music, what is "frequency"?
 
  • #8
Pattern-chaser said:
Ah, but can you?
Yes, a BIG yes. I've done it hundreds of times (probably well over a thousand). :biggrin:
It's essential when producing music (e.g. in the mastering process).
Here's one spectrum analyzer, for instance.

Edit: You can also do it in the free software Audacity. Try it, you might like it. :smile:
The function is called "Plot Spectrum" in Audacity.
 
  • Like
Likes Pattern-chaser
  • #9
DennisN said:
Yes, a BIG yes. I've done it hundreds of times (probably well over a thousand). :biggrin:
It's essential when producing music (e.g. in the mastering process).
Here's one spectrum analyzer, for instance.

Edit: You can also do it in the free software Audacity. Try it, you might like it. :smile:
My fault. I should've written "Ah, but is it VALID to apply Fourier's Theorem, when music is non-periodic, and that theorem applies only to periodic waveforms?" I'm not saying it doesn't work; it does. But is it valid physics?

Edit: I've used Audacity a few times - a very handy utility! :smile:
 
  • Like
Likes DennisN
  • #10
You can extend the "simple" definition of frequency from Fourier analysis to non-periodic signals.
One way of doing it is to look at the instantaneous frequency (the derivative of the phase); another way of doing it is to simply divide the time series into "chunks" of data before calculating the spectra; this it often how DSP is done.
Time series analysis (and estimates of Periodograms) is a HUGE field and the standard Fourier analysis is just the start, there many, many other methods that all use the concept of changes/s (=Frequency)

That said, it is of course not the only way; e.g. wavelets are also very popular.
You can of course also look at coherence, auto-correlation etc instead of frequency if you so choose.
 
  • #11
I believe you're looking for Time-Frequency Analysis.
To quote the wiki article:
The practical motivation for time–frequency analysis is that classical Fourier analysis assumes that signals are infinite in time or periodic, while many signals in practice are of short duration, and change substantially over their duration. For example, traditional musical instruments do not produce infinite duration sinusoids, but instead begin with an attack, then gradually decay. This is poorly represented by traditional methods, which motivates time–frequency analysis.
 
  • Like
  • Love
Likes berkeman and Pattern-chaser
  • #12
Drakkith said:
I believe you're looking for Time-Frequency Analysis.
To quote the wiki article:
The practical motivation for time–frequency analysis is that classical Fourier analysis assumes that signals are infinite in time or periodic, while many signals in practice are of short duration, and change substantially over their duration. For example, traditional musical instruments do not produce infinite duration sinusoids, but instead begin with an attack, then gradually decay. This is poorly represented by traditional methods, which motivates time–frequency analysis.
Oo, yes! That sounds a lot like what I'm looking for. Thanks, I'm off to read the full entry now. :smile:👍
 
  • Like
Likes berkeman
  • #13
This might help too:

 
  • Like
Likes Drakkith

FAQ: What is the role of frequency in music?

What is frequency in music?

Frequency in music refers to the number of cycles per second that a sound wave produces. It is measured in Hertz (Hz) and determines the pitch or tone of a musical note.

How does frequency affect music?

The frequency of a sound wave directly affects the pitch of a musical note. Higher frequencies produce higher pitches, while lower frequencies produce lower pitches. This is why different musical instruments have different ranges of frequencies they can produce.

What is the relationship between frequency and wavelength in music?

The frequency and wavelength of a sound wave are inversely related. This means that as the frequency increases, the wavelength decreases, and vice versa. In music, this is why higher pitched notes have shorter wavelengths and lower pitched notes have longer wavelengths.

How does frequency relate to the human perception of sound?

Humans can hear frequencies ranging from 20 Hz to 20,000 Hz. The frequency of a sound wave determines the pitch that we perceive. Higher frequencies are perceived as higher pitches, while lower frequencies are perceived as lower pitches.

Can frequency be manipulated in music?

Yes, frequency can be manipulated in music through various techniques such as changing the tension or length of a string on a musical instrument, using filters or equalizers in electronic music, or adjusting the speed of a tape in analog recordings. These manipulations can alter the pitch and tone of a musical note.

Similar threads

Back
Top