i have created samples of audio signal and want to generate separate spectrogram of each sample which should be automatically save to a folder . how can I do it?

1 view (last 30 days)
nfft = 1024;
hop = 256;
[y,fs] = audioread('signal.wav');
[s,f,t,p] = spectrogram(y,hanning(nfft),nfft-hop,nfft,fs);

Answers (0)

Categories

Find more on Time-Frequency Analysis in Help Center and File Exchange

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!