Reconstructing an Audio Signal from Spectrogram Image
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello everyone,
I have obtained spectrogram image from an audio using following code. Need to find the signal from the spectrogram image. Since the process is two sided, it should be possible but I am not sure how can I do that. Link for the guide: https://www.mathworks.com/help/signal/ref/stftmag2sig.html
clear all
close all
clc
[y,Fs]=audioread('audio2.wav');
sound(y,Fs) %To hear the sound
ty = (0:length(y)-1)/Fs;
wind = hamming(128);
olen = 64;
nfft = 1024;
stft(y,Fs,'Window',wind,'OverlapLength',olen,'FFTLength',nfft);
s=stft(y,Fs,'Window',wind,'OverlapLength',olen,'FFTLength',nfft);
saveas(gcf,fiugure,png);
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Time-Frequency Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!