Mercurial > hg > camir-aes2014
comparison toolboxes/MIRtoolbox1.3.2/MIRToolboxDemos/demo2timbre.m @ 0:e9a9cd732c1e tip
first hg version after svn
author | wolffd |
---|---|
date | Tue, 10 Feb 2015 15:05:51 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e9a9cd732c1e |
---|---|
1 function demo2timbre | |
2 | |
3 try | |
4 cd('train_set') | |
5 catch | |
6 end | |
7 | |
8 a = miraudio('Folder'); | |
9 | |
10 z = mirzerocross(a) | |
11 disp('Ascending order of zero crossing...') | |
12 mirplay(a,'Increasing',z,'Every',5) | |
13 | |
14 l = mirlowenergy(a) | |
15 disp('Ascending order of low energy rate...') | |
16 mirplay(a,'Increasing',l,'Every',5) | |
17 | |
18 c = mircentroid(a) | |
19 disp('Ascending order of spectral centroid...') | |
20 mirplay(a,'Increasing',c,'Every',5) | |
21 | |
22 r = mirrolloff(a) | |
23 disp('Ascending order of spectral roll-off...') | |
24 mirplay(a,'Increasing',r,'Every',5) | |
25 | |
26 i = mirregularity(a) | |
27 disp('Ascending order of spectral irregularity...') | |
28 mirplay(a,'Increasing',i,'Every',5) | |
29 | |
30 e = mirentropy(a) | |
31 disp('Ascending order of spectral entropy...') | |
32 mirplay(a,'Increasing',e,'Every',5) |