Understanding the Fourier Transform for Sound Resynthesis

Click For Summary
To resynthesize sound using sine wave oscillators, the relative amplitudes of the sinusoidal components can be derived from the output of a Fourier Transform (FFT). The raw output of the FFT can provide this information, but it is crucial to plot the absolute value of the FFT's output to accurately read the relative amplitudes of the peaks. Windowing effects may cause some spectral smearing, but as long as the leakage into adjacent frequency bins is negligible, the peaks will reflect the true amplitudes. For further assistance, engaging with the comp.dsp USENET group or the music-dsp mailing list is recommended. Understanding these nuances is essential for effective sound resynthesis.
max_planck735
Messages
5
Reaction score
0
I want to take an audio recording of a sound, perform a Fourier Transform on this sound, and then use the amplitude/frequency/phase information provided by this transform to set the amplitude/frequency/phase of an set of sine wave oscillators, in order to resynthesize the sound.

I need to know the relative amplitudes of the sinusoidal components of the sound in order to set the relative amplitudes of my set of sine wave oscillators properly.

Will the raw output of the FFT provide the relative amplitude information that I'm looking for, if I plot the real number parts against an appropriate frequency axis and read the relative amplitudes of the peaks from this spectrum? If not, should I be plotting the absolute value of the FFT's output in order to obtain the relative amplitude information that I'm looking for? If not either of these, then can anyone suggest what would work?

Thanks, any help is very much appreciated
 
Last edited:
Physics news on Phys.org
max_planck735 said:
Will the raw output of the FFT provide the relative amplitude information that I'm looking for, if I plot the real number parts against an appropriate frequency axis and read the relative amplitudes of the peaks from this spectrum? If not, should I be plotting the absolute value of the FFT's output in order to obtain the relative amplitude information that I'm looking for? If not either of these, then can anyone suggest what would work?

this is good question to take to the comp.dsp USENET group and/or the music-dsp mailing list (you can go to http://shoko.calarts.edu/~glmrboy/musicdsp/music-dsp.html to subscribe).

because of windowing effects and smearing of frequency components, the FFT bins will have something to do with the amplitude of the sinusoidal components but it won't be exact. if you assume that the spectral smearing of any frequency component has only neglegibly leaked into the bins of all other frequency components, then the answer would be "yes, you can read the relative amplitudes (and frequency and phase) of the sinusoidal components from the peaks in the spectrum."
 
Last edited by a moderator:
Thanks a lot for the info, especially about the Usenet group/mailing list, that will be very helpful for me. Thanks! =)
 
max_planck735 said:
Thanks a lot for the info, especially about the Usenet group/mailing list, that will be very helpful for me. Thanks! =)

yer welcome. you might recognize me there at comp.dsp or (less often) at the music-dsp mailing list. i sometimes get in fights about the periodic or circular nature of the Discrete Fourier Transform (and where, in the signal path, any windowing happens to that gets applied to the DFT) - I'm in that fight right now. other tiffs had to do with the nature of the dirac delta "function" and the necessary scaling in the Nyquist/Shannon sampling and reconstruction theorem.

oh, and another big fight i once was in on comp.dsp and comp.soft-sys.matlab was about the horrible, awful, fixed-forever-and-can-never-change-it, indexing base in MATLAB. all array indices must start at "1" which makes things very ugly in the DSP world.i try to tread more lightly here, since i am not a physicist.
 
Last edited:
I do not have a good working knowledge of physics yet. I tried to piece this together but after researching this, I couldn’t figure out the correct laws of physics to combine to develop a formula to answer this question. Ex. 1 - A moving object impacts a static object at a constant velocity. Ex. 2 - A moving object impacts a static object at the same velocity but is accelerating at the moment of impact. Assuming the mass of the objects is the same and the velocity at the moment of impact...

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K