MATLAB Answers

Convert fft to .wav file

158 ビュー (過去 30 日間)
Tim Garrett
Tim Garrett 2020 年 12 月 6 日
コメント済み: Mathieu NOE 2020 年 12 月 8 日
I want to convert a fft of a geophysical signal to an audible signal or .wav file. The fft has frequency amplitude and phase, all the needed ingredients it seems for a sound. What is the code for the conversion? (I can deal with the frequency shift to an audible frequency range). Thanks.
  5 件のコメント
Mathieu NOE
Mathieu NOE 2020 年 12 月 8 日
an audio signal can be evrything from a fixed frequency sinus to purely random noise (or colored noise if we add some filtering). the sound of the ocean is closer to a random noise than a tone for example.
if you look at the frequency content of a music file , it changes all the time, there is not much periodicity there - unless you listen to some very specific electronic music (with a looper)
audiowrite is just a way to save your time data (your music, your voice ) into a specific format (wav is just one of them)
it does not do anything in terms of fft or ifft - again this is a completely separate topic.


回答 (0 件)


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by