Fourier Transform on a .wav File
Show older comments
Hi,
I have a .wav file. When you play this now, you will only hear noise. But there is a hidden message in it. To hear what the message is, I will have to perform a Fourier Transformation. I tried a lot of things, but nothing works and I really don't know why.
[y,Fs] = audioread('Audiofile.wav')
x = fft(y)
audiowrite('Fourier.wav',x,Fs)
This is what I have right now, but still I only hear noise... When I plot the data, nothing appears, just an empty plot... I would be really happy if someone could help me with this problem!
Accepted Answer
More Answers (1)
Image Analyst
on 14 Dec 2017
0 votes
You could try spectrogram(). But probably, you'll need to know how the secret message was encoded. It's doubtful that the FT itself is the message. If you just recorded a message and inverse FT'ed it and played it as an audio file, the audio file would not sound like anything normal, like music or whatever - it would just sound like noise or gibberish. So if they did something like took a song and Fourier transformed it and then somehow embedded the message into it, you'd need to know the algorithm for decodeing/extracting the message from the FT.
5 Comments
Annika Brenkman
on 14 Dec 2017
Image Analyst
on 14 Dec 2017
Perhaps by looking at the spectrogram you will find an unusual amount of energy at in some wavelength range. Like it was recorded with very high sampling rate, far above what we can hear, and you notice there is some strange signal above 20 kHz or below 30 Hz or somewhere. Did you run spectrogram()? Or even plot the fft? If not why not?
Annika Brenkman
on 14 Dec 2017
Edited: Annika Brenkman
on 14 Dec 2017
Image Analyst
on 14 Dec 2017
You keep forgetting to attach the wave file. It looks pretty much like white noise, with some kind of change after 33,000 and 54,000 samples. What does it sound like?
Annika Brenkman
on 14 Dec 2017
Categories
Find more on Signal Processing Toolbox 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!
