-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathexample.m
More file actions
48 lines (41 loc) · 859 Bytes
/
example.m
File metadata and controls
48 lines (41 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
nmat=readmidi('K49.mid');
"Bisect unbalance:"
biUnbalance(nmat)
"Center of mass offset"
comOffset(nmat)
"Event heterogeneity"
eventHeterogeneity(nmat,'2',0.5)
"Average absolute interval"
avAbsInterval(nmat)
"Melodic abruptness"
melAbruptness(nmat)
"Durational abruptness"
durAbruptness(nmat)
"Rhythmic abruptness"
rythmAbruptness(nmat)
"Total asymmetry"
asymTotal(nmat);
"Asymmetry index"
asymIndex(nmat);
"Event density"
eventDensity(nmat)
"Average local pitch entropy"
avLocalp1entropy(nmat)
"Pitch entropy"
p1entropy(nmat)
"2-tuple pitch entropy"
p2entropy(nmat)
"3-tuple pitch entropy"
p3entropy(nmat)
"Interval entropy"
i1entropy(nmat)
"2-tuple interval entropy"
i2entropy(nmat)
"Duration entropy"
d1entropy(nmat)
"2-tuple duration entropy"
d2entropy(nmat)
"3-tuple duration entropy"
d3entropy(nmat)
"Weighted permutation entropy"
wpEntropy(nmat)