Mercurial > hg > camir-aes2014
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toolboxes/MIRtoolbox1.3.2/MIRToolboxDemos/demo2timbre.m Tue Feb 10 15:05:51 2015 +0000 @@ -0,0 +1,32 @@ +function demo2timbre + +try + cd('train_set') +catch +end + +a = miraudio('Folder'); + +z = mirzerocross(a) +disp('Ascending order of zero crossing...') +mirplay(a,'Increasing',z,'Every',5) + +l = mirlowenergy(a) +disp('Ascending order of low energy rate...') +mirplay(a,'Increasing',l,'Every',5) + +c = mircentroid(a) +disp('Ascending order of spectral centroid...') +mirplay(a,'Increasing',c,'Every',5) + +r = mirrolloff(a) +disp('Ascending order of spectral roll-off...') +mirplay(a,'Increasing',r,'Every',5) + +i = mirregularity(a) +disp('Ascending order of spectral irregularity...') +mirplay(a,'Increasing',i,'Every',5) + +e = mirentropy(a) +disp('Ascending order of spectral entropy...') +mirplay(a,'Increasing',e,'Every',5) \ No newline at end of file