Reconstructing Audio from Spectrogram

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

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

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

Products

Asked:

on 3 Apr 2021

Commented:

on 3 Apr 2021

Community Treasure Hunt

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

Start Hunting!