Reconstructing Audio from Spectrogram

18 views (last 30 days)
Fareed Jamali
Fareed Jamali on 3 Apr 2021
Commented: Fareed Jamali on 3 Apr 2021
I have followed https://la.mathworks.com/help/signal/ref/stftmag2sig.html to construct spectrogram from audio. Now I want the spectrogram to be saved, edited and then recreate the audio from it. Attaching a sample spectrogram from which I want to generate the audio signal. Any help would be apprecaited. Thank you!
  1 Comment
Fareed Jamali
Fareed Jamali on 3 Apr 2021
I have exported the above attached image as untitled.png and now I want to reconstruct audio from the image. All I know is that I have to read image through imread() but not sure how to extract useful information to reconstruct audio.

Sign in to comment.

Answers (1)

Meg Noah
Meg Noah on 3 Apr 2021
istfit then wavwrite?
  1 Comment
Fareed Jamali
Fareed Jamali on 3 Apr 2021
The image (spectrogram) needs to be imported first. Like imread('untitled.png'). There has to be something that should convert the image back to audio.

Sign in to comment.

Categories

Find more on Time-Frequency Analysis in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!