visakh7843's picture
n-grams markov implementation with conversion script and files
1d4f575
raw
history blame
6.99 kB
X: 1
T: from /home/visakh7843/SMG/data/borodin/bor_ps3.mid
M: 3/4
L: 1/8
Q:1/4=169
K:C % 0 sharps
V:1
%%MIDI program 0
K:D % 698 sharps
z2 G4| \
z2 G4| \
z2 G4| \
G4 G2-|
G2 [eB-=F-]3[dB-F-]| \
[e-=cB=FE-]/2[eE]/2z/2B/2 [cE]z/2d/2 [eE]2| \
[e=c-]c/2f/2 [gc]/2z3/2 [ac]/2z3/2| \
[b-gB-]/2[b-B-]3[bB]/2 [gB]2|
[a-=f]/2a/2b [=c'f-]/2[d'f-]/2f/2-[c'f-]/2 [bf-][af]| \
[ge]3/2[ge]/2 [=fd]2 [e=c]2| \
[dB]3/2[dB]/2 g2- [ge=cA]2| \
[=cA]3/2[cA]/2 g2- [gdB]2|
z2 [eB-=F-]3[dB-F-]| \
[e-=cB=FE-]/2[eE]/2z/2B/2 [cE]z/2d/2 [eE]2| \
[e=c-]c/2f/2 [gc]/2z3/2 [ac]/2z3/2| \
[b-gB-]/2[b-B-]3[bB]/2 [gB]2|
[a-=f]/2a/2b [=c'f-]/2[d'f-]/2f/2-[c'f-]/2 [bf-][af]| \
[ge]3/2[ge]/2 [=fd]2 [e=c]2| \
[dB]3/2[dB]/2 g2- [ge=cA]2| \
[dB-=F-]2 [eB-F-][dBF] [=cE]2|
zG [GB,-G,-][B,G,] [G=CA,]2| \
zG [GB,-G,-][B,G,] [G=CA,]2| \
z2 [G-=CA,][GE] [G-D][GC]| \
[G-B,][G=C] B,^A, =A,^G,|
zg [gB-G-][BG] [g=cA]2| \
zg [gB-G-][BG] [g=cA]2| \
z2 [g-=cA][ge] [g-d][gc]| \
[g-B][g=c] B^A =A^G|
zG [GB,-G,-][B,G,] [G=CA,]2| \
zG [GB,-G,-][B,G,] [G=CA,]2| \
z2 [G-=CA,][GE] [G-D][GC]| \
[G-B,][G=C] B,^A, =A,^G,|
zg [gB-G-][BG] [g=cA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