I What is the role of frequency in music?

  • I
  • Thread starter Thread starter Pattern-chaser
  • Start date Start date
  • Tags Tags
    Frequency
AI Thread Summary
Frequency in music refers to the various waveforms that combine to create complex sounds, which may not be periodic in nature. While Fourier's Theorem traditionally applies to periodic waveforms, it can still be utilized in music analysis through techniques like spectrum analysis and time-frequency analysis. Music consists of a mix of frequencies, timbres, and effects, leading to a chaotic waveform appearance. The concept of tempo introduces an overarching frequency to a piece, despite the non-periodic nature of individual sounds. Understanding frequency in music requires acknowledging both its complexity and the analytical methods that can be applied to non-periodic signals.
Pattern-chaser
Messages
9
Reaction score
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
Music is not periodic? I can't imagine what would make you think that.
 
  • Like
Likes nasu and Pattern-chaser
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
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
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
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
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"?
 
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
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
Back
Top