visakh7843's picture
n-grams markov implementation with conversion script and files
1d4f575
raw
history blame
4.11 kB
X: 1
T: from /home/visakh7843/SMG/data/borodin/bor_ps1.mid
M: 4/4
L: 1/8
Q:1/4=73
K:E % 4 sharps
V:1
%%MIDI program 0
[g'd'f=C]z6z| \
[e'aeC]z6z| \
[bfAD]z6z| \
[gcGE]z6z|
[gdF]z6z| \
[eAE]z6z| \
[BFA,]z6z| \
[GCG,]z6z|
[F=DA,]z6z| \
z8| \
[DA,F,]z6z| \
z8|
[CG,]z6z| \
[B,F,]z6z| \
[CG,]z6z| \
[B,F,]z6z|
[CG,]z6z| \
z8| \
z6 G2| \
c2 d2 e2 dc|
B2 G2 A2 B2| \
c8| \
g8| \
[fA-]2 [gA-]2 [aA]4|
[gB-]2 [fB-]2 [eB-]2 [gB]2| \
[f=c-]2 [gc-]2 [fc-]2 [ec-]2| \
[d=c]2 ^c2 [d=c-]2 [ec]2| \
c8-|
c2 c2 [d=c-]2 [ec]2| \
c8-| \
c4 =c4| \
B4 A4|
[GD]8| \
[CC,]8| \
[GG,]8| \
[AA,]8|
[eGE]8| \
[dcFD]8| \
[gcG]8| \
[afcA]4 [c'afc]2 [d'c'fd]2|
[e'c'ge]4 [g'c'g]4| \
[a'e'a]2 [g'e'g]2 [f'e'f]2 [e'e][f'f]| \
[g'e'g]4 [c'gc]4| \
[f'c'f]2 [e'c'e]2 [d'c'd]2 [e'=c'e]2|
[c'ac]8| \
[b=f-B]2 [c'fc]2 [=d'g-f-d]2 [c'g-f-c][bgfB]| \
[af-c-A]2 [f-fc-F]2 [gf-c-G]2 [afcA]2| \
[fd-A-F]2 [gd-A-G]2 [ad-A-A]2 [gd-A-G][fdAF]|
[ec-G-E]2 [c-cG-C]2 [dc-G-D]2 [ecGE]2| \
[ec^AE]4 [dD]2 [cC]2| \
[cG-D-]2 [=cG-D-][^AGD] [cG-D-]3[^cGD]| \
[cGC]4 z2 G2|
c2 d2 e2 dc| \
B2 G2 A2 B2| \
c8| \
g8|
[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