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 comentario

Fareed Jamali
Fareed Jamali el 3 de Abr. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Meg Noah
Meg Noah el 3 de Abr. de 2021

0 votos

istfit then wavwrite?

1 comentario

Fareed Jamali
Fareed Jamali el 3 de Abr. de 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.

Iniciar sesión para comentar.

Categorías

Productos

Preguntada:

el 3 de Abr. de 2021

Comentada:

el 3 de Abr. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by