Last change
on this file since 52 was
52,
checked in by dtax, 12 years ago
|
Can we show something on the bird spectrograms?
|
File size:
349 bytes
|
Line | |
---|
1 | % directory where the WAV-files of the birds are stored: |
---|
2 | dpath = fullfile(mildatapath,'birds'); |
---|
3 | |
---|
4 | fname = 'PC13_20090531_050000_0.wav'; |
---|
5 | %fname = 'PC8_20090531_050000_99.wav'; |
---|
6 | [signal,fs] = wavread(fullfile(dpath,'wavs',fname)); |
---|
7 | |
---|
8 | [S,f,t] = spectrogram(signal,512,256,[],fs); |
---|
9 | |
---|
10 | figure(2); clf; showspec(S,f,t); |
---|
11 | |
---|
12 | figure(3); clf; showspec(imag(S), f,t); |
---|
13 | |
---|
Note: See
TracBrowser
for help on using the repository browser.