view 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
line wrap: on
line source
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)