Convert fft to .wav file
17 views (last 30 days)
Show older comments
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 Comments
Mathieu NOE
on 8 Dec 2020
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.
Answers (0)
See Also
Categories
Find more on Audio I/O and Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!