Mercurial > hg > camir-ismir2012
annotate toolboxes/MIRtoolbox1.3.2/MIRToolboxDemos/demo2timbre.m @ 0:cc4b1211e677 tip
initial commit to HG from
Changeset:
646 (e263d8a21543) added further path and more save "camirversion.m"
author | Daniel Wolff |
---|---|
date | Fri, 19 Aug 2016 13:07:06 +0200 |
parents | |
children |
rev | line source |
---|---|
Daniel@0 | 1 function demo2timbre |
Daniel@0 | 2 |
Daniel@0 | 3 try |
Daniel@0 | 4 cd('train_set') |
Daniel@0 | 5 catch |
Daniel@0 | 6 end |
Daniel@0 | 7 |
Daniel@0 | 8 a = miraudio('Folder'); |
Daniel@0 | 9 |
Daniel@0 | 10 z = mirzerocross(a) |
Daniel@0 | 11 disp('Ascending order of zero crossing...') |
Daniel@0 | 12 mirplay(a,'Increasing',z,'Every',5) |
Daniel@0 | 13 |
Daniel@0 | 14 l = mirlowenergy(a) |
Daniel@0 | 15 disp('Ascending order of low energy rate...') |
Daniel@0 | 16 mirplay(a,'Increasing',l,'Every',5) |
Daniel@0 | 17 |
Daniel@0 | 18 c = mircentroid(a) |
Daniel@0 | 19 disp('Ascending order of spectral centroid...') |
Daniel@0 | 20 mirplay(a,'Increasing',c,'Every',5) |
Daniel@0 | 21 |
Daniel@0 | 22 r = mirrolloff(a) |
Daniel@0 | 23 disp('Ascending order of spectral roll-off...') |
Daniel@0 | 24 mirplay(a,'Increasing',r,'Every',5) |
Daniel@0 | 25 |
Daniel@0 | 26 i = mirregularity(a) |
Daniel@0 | 27 disp('Ascending order of spectral irregularity...') |
Daniel@0 | 28 mirplay(a,'Increasing',i,'Every',5) |
Daniel@0 | 29 |
Daniel@0 | 30 e = mirentropy(a) |
Daniel@0 | 31 disp('Ascending order of spectral entropy...') |
Daniel@0 | 32 mirplay(a,'Increasing',e,'Every',5) |