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?

2 views (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 Measurements and Spatial Audio 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!