Reconstructing an Audio Signal from Spectrogram Image
7 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Time-Frequency Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!