Derivative of a Song: Finding a Connection in Music & Calculus

  • Context: Undergrad 
  • Thread starter Thread starter DirtyBurge33
  • Start date Start date
  • Tags Tags
    Derivative
Click For Summary

Discussion Overview

The discussion explores the concept of graphing a piece of music and finding its derivative, examining potential connections between music and calculus. Participants consider theoretical implications, mathematical representations, and the auditory outcomes of such operations.

Discussion Character

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

Main Points Raised

  • One participant questions what would happen if a piece of music were graphed and its derivative taken, suggesting a possible connection between music and calculus.
  • Another participant humorously compares the operation to taking the integral of an apple, implying skepticism about the exercise's validity.
  • A participant proposes defining a function for pitch over time, suggesting that the derivative would represent the instantaneous rate of change of pitch, leading to high or low pitches based on the original song's tempo.
  • It is suggested that taking the Fourier Transform might yield more interesting results than simply finding the derivative.
  • One participant discusses the implications of taking derivatives of wave packets, noting that the first derivative could change the symmetry of the wave function and affect its frequency and phase.
  • Another participant asserts that a derivative acts as a high pass filter, with gain increasing with frequency, and provides a link for further reading.
  • A participant speculates that higher frequencies would become louder while lower frequencies would quiet down, suggesting that the overall song would remain recognizable but altered in character.
  • Concerns are raised about the feasibility of applying derivatives to musical functions, particularly regarding discontinuities and the limitations of certain instruments.
  • One participant emphasizes the relationship between high frequency and high rate of change, suggesting that a high frequency component is necessary to capture quick changes in musical value.

Areas of Agreement / Disagreement

Participants express a range of views on the implications and feasibility of deriving music, with no consensus reached on the validity or outcomes of the proposed operations. Disagreements exist regarding the nature of the functions being analyzed and the effects of derivatives on musical sound.

Contextual Notes

Participants note potential limitations in defining musical functions, such as discontinuities and the necessity of a high sampling rate to approximate derivatives accurately. The discussion also reflects varying interpretations of how derivatives relate to musical characteristics.

DirtyBurge33
Messages
1
Reaction score
0
Does anyone have any ideas of what would happen if you somehow graphed a piece of music and found its derivative? Would it sound like anything? And how would you do this? This is something I have been mulling over for a while now after learning about derivatives in Calculus. I wouldn't be surprised to see a connection of some sort. Any thoughts?
 
Physics news on Phys.org
the same thing that would happen if you took the integral of an apple.
 
Maybe it would sound http://strangemaps.files.wordpress.com/2008/02/world-beat-music6.jpeg".
 
Last edited by a moderator:
Lets say you define the function f(t)=pitch at time t

Then the derivative of this function with respect to time would be the "instantaneous rate of change of the pitch" at each point. So when the pitch is changing quickly, like when you have a lot of fast notes at different pitches you'll have a high rate of change. When you have a slow song where the pitch changes more slowly you'll have a lower rate of change.

So, if you then identify rate of change with pitch and play the "derivative song" you'll get something high pitched if the original song was fast and something low pitched if the original song was slow.

A more interesting operation would be to take the Fourier Transform...
 
Well if you express any wavepacket as a function where its just a sum of sine's, the second derivative would just be its negative times two frequency.

But a single derivative, its equivalent to flipping its symmetry from symetric to anti, or anti to symmetric (sin->cos, cos->sin). Which is equal to:

Music' = (Music - pi/2 phase change)*frequency

So its distribution would stretch and it would get higher frequency, and would be phase shifted.

Right?
 
K.J.Healey said:
Well if you express any wavepacket as a function where its just a sum of sine's, the second derivative would just be its negative times two frequency.

But a single derivative, its equivalent to flipping its symmetry from symetric to anti, or anti to symmetric (sin->cos, cos->sin). Which is equal to:

Music' = (Music - pi/2 phase change)*frequency

So its distribution would stretch and it would get higher frequency, and would be phase shifted.

Right?

wave packet of what? only cincinnatus has stated what we're plotting here as a function of time and it wouldn't work anyway because I'm sure his function would have discontinuities everywhere.
 
I think someone mentioned the answer above. A derivative is a high pass filter where the gain increases linearly with frequency. The following link may help the reader better understand the concept:

http://en.wikipedia.org/wiki/Bode_plot
 
My guess is that higher frequencies get louder, and lower frequencies more quiet, and that the song itself would remain the same but sounds would get different.

Different Fourier modes get phase shifted by different amounts, but since the frequencies are quite high anyway compared to the speed of music, I don't think the phase shiftings would affect the song much. It's just that the sounds probably get absurd, and different instruments probably are left unrecognizable.
 
Last edited:
ice109 said:
only cincinnatus has stated what we're plotting here as a function of time and it wouldn't work anyway because I'm sure his function would have discontinuities everywhere.

If you are playing a violin it is certainly possible to "slide" from one note to another, playing all the pitches in between.

However, it is true that for many instruments (like the piano) this isn't possible. You still take something like the derivative though. You just need to set a sampling rate and draw secant lines between sampled points. If the sampling rate is high then this is effectively the same as the derivative which corresponds to doing this with an infinite sampling rate. This is the only way to really calculate derivatives of time series data like this anyway.

Some of the other responders are speaking in terms of frequency. I'd like to point out that high frequency is the same as high rate of change. If you are approximating a function by some sinusoid (linear combination of sines and cosines) then it takes a high frequency component to follow a quick change in value.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 42 ·
2
Replies
42
Views
5K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 24 ·
Replies
24
Views
7K