What is the role of frequency in music?

  • Context: Undergrad 
  • Thread starter Thread starter Pattern-chaser
  • Start date Start date
  • Tags Tags
    Frequency
Click For Summary

Discussion Overview

The discussion centers around the concept of frequency in music, particularly in relation to Fourier's Theorem and its applicability to non-periodic waveforms. Participants explore the nature of music as a complex sound composed of various frequencies and how this complexity challenges traditional interpretations of frequency analysis.

Discussion Character

  • Exploratory
  • Debate/contested
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • Some participants question whether music can be considered periodic, suggesting that it does not repeat cyclically in the same way as pure sine waves.
  • Others argue that music does exhibit periodicity, citing specific frequencies like Middle C and the cyclical nature of musical notes.
  • A participant highlights that while music is a mix of various waveforms, the complexity of these waveforms makes them appear non-periodic when viewed on an oscilloscope.
  • There is a discussion about the validity of applying Fourier's Theorem to non-periodic music, with some participants asserting that it can still be useful despite its theoretical limitations.
  • Some suggest alternative methods for analyzing frequency in non-periodic signals, such as time-frequency analysis and wavelets, which may better represent the characteristics of musical sounds.
  • Participants mention practical tools like spectrum analyzers and software such as Audacity for analyzing frequencies in music production.

Areas of Agreement / Disagreement

Participants express differing views on the periodicity of music and the applicability of Fourier's Theorem, indicating that multiple competing perspectives remain unresolved throughout the discussion.

Contextual Notes

Some participants note that traditional Fourier analysis assumes signals are infinite or periodic, which may not accurately represent the transient nature of musical sounds. This leads to discussions about alternative analysis methods that could address these limitations.

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   Reactions: davenn
Physics news on Phys.org
Music is not periodic? I can't imagine what would make you think that.
 
  • Like
Likes   Reactions: 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   Reactions: 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   Reactions: 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   Reactions: 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   Reactions: 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   Reactions: 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   Reactions: 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   Reactions: 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   Reactions: berkeman
  • #13
This might help too:

 
  • Like
Likes   Reactions: Drakkith

Similar threads

  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 47 ·
2
Replies
47
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
6K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 31 ·
2
Replies
31
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
4
Views
1K
Replies
4
Views
3K