visakh7843's picture
n-grams markov implementation with conversion script and files
1d4f575
raw
history blame
9.15 kB
X: 1
T: from /home/visakh7843/SMG/data/albeniz/alb_se4.mid
M: 3/4
L: 1/8
Q:1/4=97
K:Db % 5 flats
V:1
%%MIDI program 0
K:A % 874 sharps
z (3^G/2F/2^C/2 G,/2z/2[GFCG,]2[GF=B,G,]| \
z (3^G/2^F/2C/2 G,/2z/2[GFCG,]2[G=EG,]| \
z (3^G/2F/2^C/2 G,/2z/2[GFCG,]2[GF=B,G,]| \
z (3^G/2^F/2C/2 G,/2z/2[GFCG,]2[G=EG,]|
[fF]z [fF]3[fF]| \
[fF]3/2[^gG]/2 [gG]4| \
z[^fF] [^gG][aA] [^c'c][=c'c]| \
[d'd][aA] [^gG]4|
[fF]z [fF]3[fF]| \
[fF]3/2[^gG]/2 [gG]4| \
z[^fF] [^gG][aA] [^c'c][=c'c]| \
[^f'f][aA] [^gG]4|
[^c'c]z [c'c]3[=c'c]| \
[c'c]2 [aA][fF] [^gG][aA]| \
[^gG]2 [^fF][=d=B] [fB-][=f-B-B]/2[fB]/2| \
[f^F-]2 [dF-]4|
[^c-G-^F=F-]/2[cGF]/2[=cGD] [cG^C]2 [AGC][dGC-]| \
[^G-D-^C]/2[GD]/2[AF] [cG][=c=G] [d^G-][c-G=G-]/2[cG]/2| \
[^cGC-]2 [c-G-F-C]/2[cGF]3/2 [=cG^C]2| \
[^GD][AF] [c^F][fc] [=fc][=ec]|
[fF]z [fF]3[fF]| \
[fF]3/2[^gG]/2 [gG]4| \
z[^fF] [^gG][aA] [^c'c][=c'c]| \
[d'd][aA] [^gG]4|
[fF]z [fF]3[fF]| \
[fF]3/2[^gG]/2 [gG]4| \
z[^fF] [^gG][aA] [^c'c][=c'c]| \
[^f'f][aA] [^gG]2 [gd=A]=g|
[^gG]z [gG]3[gG]| \
[=bB][=aA] [^c'c][d'd] [^g'g][^f'f]| \
[^gG]z [gG]3[gG]| \
[=bB][=aA] [^c'c][d'd] [^g'g-][^f'-g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