Understanding the Fourier Transform for Sound Resynthesis

Click For Summary

Discussion Overview

The discussion revolves around the application of the Fourier Transform to audio resynthesis, specifically how to extract relative amplitude information from the FFT output to control sine wave oscillators for sound reproduction. The scope includes technical explanations and practical applications related to audio processing.

Discussion Character

  • Technical explanation
  • Exploratory
  • Debate/contested

Main Points Raised

  • One participant inquires whether the raw output of the FFT can provide the relative amplitude information needed for sound resynthesis by plotting the real parts against a frequency axis.
  • Another participant suggests that while the FFT bins relate to the amplitude of sinusoidal components, windowing effects may cause inaccuracies, and they propose that under certain assumptions, relative amplitudes can be read from the spectrum peaks.
  • There is a mention of alternative resources, such as the comp.dsp USENET group and the music-dsp mailing list, for further exploration of the topic.
  • A participant shares their experiences with discussions on the periodic nature of the Discrete Fourier Transform and issues related to MATLAB indexing, indicating ongoing debates in the community.

Areas of Agreement / Disagreement

Participants express varying degrees of certainty regarding the accuracy of amplitude readings from the FFT output, with some suggesting that assumptions about spectral smearing may affect the results. The discussion does not reach a consensus on the best approach to obtain relative amplitude information.

Contextual Notes

Limitations include potential inaccuracies due to windowing effects and the dependence on assumptions about spectral smearing. The discussion also touches on broader debates within the field regarding the properties of the Discrete Fourier Transform.

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:

Similar threads

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