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 commentaire

Fareed Jamali
Fareed Jamali le 3 Avr 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.

Connectez-vous pour commenter.

Réponses (1)

Meg Noah
Meg Noah le 3 Avr 2021

0 votes

istfit then wavwrite?

1 commentaire

Fareed Jamali
Fareed Jamali le 3 Avr 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.

Connectez-vous pour commenter.

Catégories

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by