visakh7843 commited on
Commit
8f37861
1 Parent(s): eada2cd

Song playback feature added

Browse files
Files changed (28) hide show
  1. n-grams/gen_songs_abc/song_140329/gen_song_140329-page1.png +0 -0
  2. n-grams/gen_songs_abc/song_140329/gen_song_140329-page2.png +0 -0
  3. n-grams/gen_songs_abc/song_140329/gen_song_140329.abc +42 -0
  4. n-grams/gen_songs_abc/song_140329/gen_song_140329.ly +83 -0
  5. n-grams/gen_songs_abc/song_140329/gen_song_140329.midi +0 -0
  6. n-grams/gen_songs_abc/song_140329/gen_song_140329.wav +3 -0
  7. n-grams/gen_songs_abc/song_140401/gen_song_140401-page1.png +0 -0
  8. n-grams/gen_songs_abc/song_140401/gen_song_140401-page2.png +0 -0
  9. n-grams/gen_songs_abc/song_140401/gen_song_140401.abc +42 -0
  10. n-grams/gen_songs_abc/song_140401/gen_song_140401.ly +84 -0
  11. n-grams/gen_songs_abc/song_140401/gen_song_140401.midi +0 -0
  12. n-grams/gen_songs_abc/song_140401/gen_song_140401.wav +3 -0
  13. n-grams/gen_songs_abc/song_140404/gen_song_140404.abc +26 -0
  14. n-grams/gen_songs_abc/song_140404/gen_song_140404.ly +48 -0
  15. n-grams/gen_songs_abc/song_140404/gen_song_140404.midi +0 -0
  16. n-grams/gen_songs_abc/song_140404/gen_song_140404.png +0 -0
  17. n-grams/gen_songs_abc/song_140404/gen_song_140404.wav +3 -0
  18. n-grams/gen_songs_abc/song_140550/gen_song_140550.abc +34 -0
  19. n-grams/gen_songs_abc/song_140550/gen_song_140550.ly +65 -0
  20. n-grams/gen_songs_abc/song_140550/gen_song_140550.midi +0 -0
  21. n-grams/gen_songs_abc/song_140550/gen_song_140550.png +0 -0
  22. n-grams/gen_songs_abc/song_140550/gen_song_140550.wav +3 -0
  23. n-grams/gen_songs_abc/song_140803/gen_song_140803.abc +26 -0
  24. n-grams/gen_songs_abc/song_140803/gen_song_140803.ly +37 -0
  25. n-grams/gen_songs_abc/song_140803/gen_song_140803.midi +0 -0
  26. n-grams/gen_songs_abc/song_140803/gen_song_140803.png +0 -0
  27. n-grams/gen_songs_abc/song_140803/gen_song_140803.wav +3 -0
  28. n-grams/music.py +3 -3
n-grams/gen_songs_abc/song_140329/gen_song_140329-page1.png ADDED
n-grams/gen_songs_abc/song_140329/gen_song_140329-page2.png ADDED
n-grams/gen_songs_abc/song_140329/gen_song_140329.abc ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ X:1
2
+ T:Markov Song 140329
3
+ R:song
4
+ C:Visakh Ajith
5
+ Z:id:hn-song-111
6
+ M:3/4
7
+ L:1/8
8
+ Q:1/4=120
9
+ K:G
10
+ fed2dB | fed2dB | A2F2FA
11
+ fed2dB | A2F2FA | A2F2FA
12
+ A2F2FA | A2F2FA | GFGABG
13
+ A2F2FA | GFGABG | GFGABG
14
+ GFGABG | GFGABG | AFD2E2
15
+ GFGABG | AFD2E2 | AFD2E2
16
+ AFD2E2 | AFD2E2 | FEF2G2
17
+ AFD2E2 | FEF2G2 | FEF2G2
18
+ FEF2G2 | FEF2G2 | ABc2A2
19
+ FEF2G2 | ABc2A2 | ABc2A2
20
+ ABc2A2 | ABc2A2 | d2f2fg
21
+ ABc2A2 | d2f2fg | d2f2fg
22
+ d2f2fg | d2f2fg | fed2dB
23
+ d2f2fg | fed2dB | fed2dB
24
+ fed2dB | fed2dB | A2F2FA
25
+ fed2dB | A2F2FA | A2F2FA
26
+ A2F2FA | A2F2FA | GFGABG
27
+ A2F2FA | GFGABG | GFGABG
28
+ GFGABG | GFGABG | AFD2E2
29
+ GFGABG | AFD2E2 | AFD2E2
30
+ AFD2E2 | AFD2E2 | FEF2G2
31
+ AFD2E2 | FEF2G2 | FEF2G2
32
+ FEF2G2 | FEF2G2 | ABc2A2
33
+ FEF2G2 | ABc2A2 | ABc2A2
34
+ ABc2A2 | ABc2A2 | d2f2fg
35
+ ABc2A2 | d2f2fg | d2f2fg
36
+ d2f2fg | d2f2fg | fed2dB
37
+ d2f2fg | fed2dB | fed2dB
38
+ fed2dB | fed2dB | A2F2FA
39
+ fed2dB | A2F2FA | A2F2FA
40
+ A2F2FA | A2F2FA | GFGABG
41
+ A2F2FA | GFGABG | GFGABG
42
+ GFGABG
n-grams/gen_songs_abc/song_140329/gen_song_140329.ly ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ \version "2.7.40"
2
+ \header {
3
+ composer = "Visakh Ajith"
4
+ crossRefNumber = "1"
5
+ footnotes = ""
6
+ meter = "song"
7
+ tagline = "Lily was here 2.20.0 -- automatically converted from ABC"
8
+ title = "Markov Song 140329"
9
+ transcription = "id:hn-song-111"
10
+ }
11
+ voicedefault = {
12
+ \set Score.defaultBarType = ""
13
+
14
+ \time 3/4 \tempo 4=120
15
+ \key g \major fis''8 e''8 d''4 d''8 b'8 \bar "|" fis''8
16
+ e''8 d''4 d''8 b'8 \bar "|" a'4 fis'4 fis'8 a'8
17
+ fis''8 e''8 d''4 d''8 b'8 \bar "|" a'4 fis'4 fis'8
18
+ a'8 \bar "|" a'4 fis'4 fis'8 a'8 a'4 fis'4 fis'8
19
+ a'8 \bar "|" a'4 fis'4 fis'8 a'8 \bar "|" g'8 fis'8
20
+ g'8 a'8 b'8 g'8 a'4 fis'4 fis'8 a'8 \bar "|" g'8
21
+ fis'8 g'8 a'8 b'8 g'8 \bar "|" g'8 fis'8 g'8 a'8
22
+ b'8 g'8 g'8 fis'8 g'8 a'8 b'8 g'8 \bar "|" g'8
23
+ fis'8 g'8 a'8 b'8 g'8 \bar "|" a'8 fis'8 d'4 e'4
24
+ g'8 fis'8 g'8 a'8 b'8 g'8 \bar "|" a'8 fis'8 d'4
25
+ e'4 \bar "|" a'8 fis'8 d'4 e'4 a'8 fis'8 d'4 e'4
26
+ \bar "|" a'8 fis'8 d'4 e'4 \bar "|" fis'8 e'8 fis'4
27
+ g'4 a'8 fis'8 d'4 e'4 \bar "|" fis'8 e'8 fis'4 g'4
28
+ \bar "|" fis'8 e'8 fis'4 g'4 fis'8 e'8 fis'4 g'4
29
+ \bar "|" fis'8 e'8 fis'4 g'4 \bar "|" a'8 b'8 c''4 a'4
30
+ fis'8 e'8 fis'4 g'4 \bar "|" a'8 b'8 c''4 a'4
31
+ \bar "|" a'8 b'8 c''4 a'4 a'8 b'8 c''4 a'4 \bar "|"
32
+ a'8 b'8 c''4 a'4 \bar "|" d''4 fis''4 fis''8 g''8
33
+ a'8 b'8 c''4 a'4 \bar "|" d''4 fis''4 fis''8 g''8
34
+ \bar "|" d''4 fis''4 fis''8 g''8 d''4 fis''4 fis''8
35
+ g''8 \bar "|" d''4 fis''4 fis''8 g''8 \bar "|" fis''8
36
+ e''8 d''4 d''8 b'8 d''4 fis''4 fis''8 g''8 \bar "|"
37
+ fis''8 e''8 d''4 d''8 b'8 \bar "|" fis''8 e''8 d''4
38
+ d''8 b'8 fis''8 e''8 d''4 d''8 b'8 \bar "|" fis''8
39
+ e''8 d''4 d''8 b'8 \bar "|" a'4 fis'4 fis'8 a'8
40
+ fis''8 e''8 d''4 d''8 b'8 \bar "|" a'4 fis'4 fis'8
41
+ a'8 \bar "|" a'4 fis'4 fis'8 a'8 a'4 fis'4 fis'8
42
+ a'8 \bar "|" a'4 fis'4 fis'8 a'8 \bar "|" g'8 fis'8
43
+ g'8 a'8 b'8 g'8 a'4 fis'4 fis'8 a'8 \bar "|" g'8
44
+ fis'8 g'8 a'8 b'8 g'8 \bar "|" g'8 fis'8 g'8 a'8
45
+ b'8 g'8 g'8 fis'8 g'8 a'8 b'8 g'8 \bar "|" g'8
46
+ fis'8 g'8 a'8 b'8 g'8 \bar "|" a'8 fis'8 d'4 e'4
47
+ g'8 fis'8 g'8 a'8 b'8 g'8 \bar "|" a'8 fis'8 d'4
48
+ e'4 \bar "|" a'8 fis'8 d'4 e'4 a'8 fis'8 d'4 e'4
49
+ \bar "|" a'8 fis'8 d'4 e'4 \bar "|" fis'8 e'8 fis'4
50
+ g'4 a'8 fis'8 d'4 e'4 \bar "|" fis'8 e'8 fis'4 g'4
51
+ \bar "|" fis'8 e'8 fis'4 g'4 fis'8 e'8 fis'4 g'4
52
+ \bar "|" fis'8 e'8 fis'4 g'4 \bar "|" a'8 b'8 c''4 a'4
53
+ fis'8 e'8 fis'4 g'4 \bar "|" a'8 b'8 c''4 a'4
54
+ \bar "|" a'8 b'8 c''4 a'4 a'8 b'8 c''4 a'4 \bar "|"
55
+ a'8 b'8 c''4 a'4 \bar "|" d''4 fis''4 fis''8 g''8
56
+ a'8 b'8 c''4 a'4 \bar "|" d''4 fis''4 fis''8 g''8
57
+ \bar "|" d''4 fis''4 fis''8 g''8 d''4 fis''4 fis''8
58
+ g''8 \bar "|" d''4 fis''4 fis''8 g''8 \bar "|" fis''8
59
+ e''8 d''4 d''8 b'8 d''4 fis''4 fis''8 g''8 \bar "|"
60
+ fis''8 e''8 d''4 d''8 b'8 \bar "|" fis''8 e''8 d''4
61
+ d''8 b'8 fis''8 e''8 d''4 d''8 b'8 \bar "|" fis''8
62
+ e''8 d''4 d''8 b'8 \bar "|" a'4 fis'4 fis'8 a'8
63
+ fis''8 e''8 d''4 d''8 b'8 \bar "|" a'4 fis'4 fis'8
64
+ a'8 \bar "|" a'4 fis'4 fis'8 a'8 a'4 fis'4 fis'8
65
+ a'8 \bar "|" a'4 fis'4 fis'8 a'8 \bar "|" g'8 fis'8
66
+ g'8 a'8 b'8 g'8 a'4 fis'4 fis'8 a'8 \bar "|" g'8
67
+ fis'8 g'8 a'8 b'8 g'8 \bar "|" g'8 fis'8 g'8 a'8
68
+ b'8 g'8 g'8 fis'8 g'8 a'8 b'8 g'8
69
+ }
70
+
71
+ \score{
72
+ <<
73
+
74
+ \context Staff="default"
75
+ {
76
+ \voicedefault
77
+ }
78
+
79
+ >>
80
+ \layout {
81
+ }
82
+ \midi {}
83
+ }
n-grams/gen_songs_abc/song_140329/gen_song_140329.midi ADDED
Binary file (4.06 kB). View file
 
n-grams/gen_songs_abc/song_140329/gen_song_140329.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f728bcc0a010de1666a77596b34b1b8b9c77d38e225b86f5c77ac92bfa0ad62c
3
+ size 25666860
n-grams/gen_songs_abc/song_140401/gen_song_140401-page1.png ADDED
n-grams/gen_songs_abc/song_140401/gen_song_140401-page2.png ADDED
n-grams/gen_songs_abc/song_140401/gen_song_140401.abc ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ X:1
2
+ T:Markov Song 140401
3
+ R:song
4
+ C:Visakh Ajith
5
+ Z:id:hn-song-111
6
+ M:3/4
7
+ L:1/8
8
+ Q:1/4=120
9
+ K:G
10
+ e>d c>de>f | e>d c>de>f | g2 B2 B2
11
+ e>d c>de>f | g2 B2 B2 | g2 B2 B2
12
+ g2 B2 B2 | g2 B2 B2 | c>B A>Bc>d
13
+ g2 B2 B2 | c>B A>Bc>d | c>B A>Bc>d
14
+ c>B A>Bc>d | c>B A>Bc>d | e2 A2 G/A/B
15
+ c>B A>Bc>d | e2 A2 G/A/B | e2 A2 G/A/B
16
+ e2 A2 G/A/B | e2 A2 G/A/B | AG F>EE>F
17
+ e2 A2 G/A/B | AG F>EE>F | AG F>EE>F
18
+ AG F>EE>F | AG F>EE>F | E4 ef
19
+ AG F>EE>F | E4 ef | E4 ef
20
+ E4 ef | E4 ef | g2 g/a/b g/a/b
21
+ E4 ef | g2 g/a/b g/a/b | g2 g/a/b g/a/b
22
+ g2 g/a/b g/a/b | g2 g/a/b g/a/b | ag fe e/f/g
23
+ g2 g/a/b g/a/b | ag fe e/f/g | ag fe e/f/g
24
+ ag fe e/f/g | ag fe e/f/g | ed cB AG
25
+ ag fe e/f/g | ed cB AG | ed cB AG
26
+ ed cB AG | ed cB AG | A4 BA
27
+ ed cB AG | A4 BA | A4 BA
28
+ A4 BA | A4 BA | G4 G2
29
+ A4 BA | G4 G2 | G4 G2
30
+ G4 G2 | G4 G2 | G2 g2 a2
31
+ G4 G2 | G2 g2 a2 | G2 g2 a2
32
+ G2 g2 a2 | G2 g2 a2 | ba gf ed
33
+ G2 g2 a2 | ba gf ed | ba gf ed
34
+ ba gf ed | ba gf ed | g2 f2 g2
35
+ ba gf ed | g2 f2 g2 | g2 f2 g2
36
+ g2 f2 g2 | g2 f2 g2 | e6
37
+ g2 f2 g2 | e6 | e6
38
+ e6 | e6 | e2 f2 g2
39
+ e6 | e2 f2 g2 | e2 f2 g2
40
+ e2 f2 g2 | e2 f2 g2 | ed cB AG
41
+ e2 f2 g2 | ed cB AG | ed cB AG
42
+ ed cB AG
n-grams/gen_songs_abc/song_140401/gen_song_140401.ly ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ \version "2.7.40"
2
+ \header {
3
+ composer = "Visakh Ajith"
4
+ crossRefNumber = "1"
5
+ footnotes = ""
6
+ meter = "song"
7
+ tagline = "Lily was here 2.20.0 -- automatically converted from ABC"
8
+ title = "Markov Song 140401"
9
+ transcription = "id:hn-song-111"
10
+ }
11
+ voicedefault = {
12
+ \set Score.defaultBarType = ""
13
+
14
+ \time 3/4 \tempo 4=120
15
+ \key g \major e''8. d''16 c''8. d''16 e''8. fis''16
16
+ \bar "|" e''8. d''16 c''8. d''16 e''8. fis''16 \bar "|"
17
+ g''4 b'4 b'4 e''8. d''16 c''8. d''16 e''8. fis''16
18
+ \bar "|" g''4 b'4 b'4 \bar "|" g''4 b'4 b'4 g''4 b'4
19
+ b'4 \bar "|" g''4 b'4 b'4 \bar "|" c''8. b'16 a'8.
20
+ b'16 c''8. d''16 g''4 b'4 b'4 \bar "|" c''8. b'16
21
+ a'8. b'16 c''8. d''16 \bar "|" c''8. b'16 a'8. b'16
22
+ c''8. d''16 c''8. b'16 a'8. b'16 c''8. d''16 \bar "|"
23
+ c''8. b'16 a'8. b'16 c''8. d''16 \bar "|" e''4 a'4
24
+ g'16 a'16 b'8 c''8. b'16 a'8. b'16 c''8. d''16
25
+ \bar "|" e''4 a'4 g'16 a'16 b'8 \bar "|" e''4 a'4 g'16
26
+ a'16 b'8 e''4 a'4 g'16 a'16 b'8 \bar "|" e''4
27
+ a'4 g'16 a'16 b'8 \bar "|" a'8 g'8 fis'8. e'16 e'8.
28
+ fis'16 e''4 a'4 g'16 a'16 b'8 \bar "|" a'8 g'8
29
+ fis'8. e'16 e'8. fis'16 \bar "|" a'8 g'8 fis'8. e'16
30
+ e'8. fis'16 a'8 g'8 fis'8. e'16 e'8. fis'16 \bar "|"
31
+ a'8 g'8 fis'8. e'16 e'8. fis'16 \bar "|" e'2 e''8
32
+ fis''8 a'8 g'8 fis'8. e'16 e'8. fis'16 \bar "|" e'2
33
+ e''8 fis''8 \bar "|" e'2 e''8 fis''8 e'2 e''8 fis''8
34
+ \bar "|" e'2 e''8 fis''8 \bar "|" g''4 g''16 a''16 b''8
35
+ g''16 a''16 b''8 e'2 e''8 fis''8 \bar "|" g''4 g''16
36
+ a''16 b''8 g''16 a''16 b''8 \bar "|" g''4 g''16 a''16
37
+ b''8 g''16 a''16 b''8 g''4 g''16 a''16 b''8 g''16
38
+ a''16 b''8 \bar "|" g''4 g''16 a''16 b''8 g''16 a''16
39
+ b''8 \bar "|" a''8 g''8 fis''8 e''8 e''16 fis''16 g''8
40
+ g''4 g''16 a''16 b''8 g''16 a''16 b''8 \bar "|"
41
+ a''8 g''8 fis''8 e''8 e''16 fis''16 g''8 \bar "|" a''8
42
+ g''8 fis''8 e''8 e''16 fis''16 g''8 a''8 g''8 fis''8
43
+ e''8 e''16 fis''16 g''8 \bar "|" a''8 g''8 fis''8
44
+ e''8 e''16 fis''16 g''8 \bar "|" e''8 d''8 c''8 b'8
45
+ a'8 g'8 a''8 g''8 fis''8 e''8 e''16 fis''16 g''8
46
+ \bar "|" e''8 d''8 c''8 b'8 a'8 g'8 \bar "|" e''8 d''8
47
+ c''8 b'8 a'8 g'8 e''8 d''8 c''8 b'8 a'8 g'8
48
+ \bar "|" e''8 d''8 c''8 b'8 a'8 g'8 \bar "|" a'2 b'8
49
+ a'8 e''8 d''8 c''8 b'8 a'8 g'8 \bar "|" a'2 b'8
50
+ a'8 \bar "|" a'2 b'8 a'8 a'2 b'8 a'8 \bar "|" a'2
51
+ b'8 a'8 \bar "|" g'2 g'4 a'2 b'8 a'8 \bar "|" g'2
52
+ g'4 \bar "|" g'2 g'4 g'2 g'4 \bar "|" g'2 g'4
53
+ \bar "|" g'4 g''4 a''4 g'2 g'4 \bar "|" g'4 g''4
54
+ a''4 \bar "|" g'4 g''4 a''4 g'4 g''4 a''4 \bar "|"
55
+ g'4 g''4 a''4 \bar "|" b''8 a''8 g''8 fis''8 e''8
56
+ d''8 g'4 g''4 a''4 \bar "|" b''8 a''8 g''8 fis''8
57
+ e''8 d''8 \bar "|" b''8 a''8 g''8 fis''8 e''8 d''8
58
+ b''8 a''8 g''8 fis''8 e''8 d''8 \bar "|" b''8 a''8
59
+ g''8 fis''8 e''8 d''8 \bar "|" g''4 fis''4 g''4 b''8
60
+ a''8 g''8 fis''8 e''8 d''8 \bar "|" g''4 fis''4 g''4
61
+ \bar "|" g''4 fis''4 g''4 g''4 fis''4 g''4 \bar "|"
62
+ g''4 fis''4 g''4 \bar "|" e''2. g''4 fis''4 g''4
63
+ \bar "|" e''2. \bar "|" e''2. e''2. \bar "|" e''2. \bar "|"
64
+ e''4 fis''4 g''4 e''2. \bar "|" e''4 fis''4 g''4
65
+ \bar "|" e''4 fis''4 g''4 e''4 fis''4 g''4 \bar "|"
66
+ e''4 fis''4 g''4 \bar "|" e''8 d''8 c''8 b'8 a'8 g'8
67
+ e''4 fis''4 g''4 \bar "|" e''8 d''8 c''8 b'8 a'8
68
+ g'8 \bar "|" e''8 d''8 c''8 b'8 a'8 g'8 e''8 d''8
69
+ c''8 b'8 a'8 g'8
70
+ }
71
+
72
+ \score{
73
+ <<
74
+
75
+ \context Staff="default"
76
+ {
77
+ \voicedefault
78
+ }
79
+
80
+ >>
81
+ \layout {
82
+ }
83
+ \midi {}
84
+ }
n-grams/gen_songs_abc/song_140401/gen_song_140401.midi ADDED
Binary file (3.89 kB). View file
 
n-grams/gen_songs_abc/song_140401/gen_song_140401.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09405606bc0171a22c131bab9ede87dc2cb57f57413db4a6a410c15772ad24da
3
+ size 25666860
n-grams/gen_songs_abc/song_140404/gen_song_140404.abc ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ X:1
2
+ T:Markov Song 140404
3
+ R:song
4
+ C:Visakh Ajith
5
+ Z:id:hn-song-111
6
+ M:3/4
7
+ L:1/8
8
+ Q:1/4=120
9
+ K:G
10
+ g2 f2 e2 | g2 f2 e2 | d2 c2 B2
11
+ g2 f2 e2 | d2 c2 B2 | d2 c2 B2
12
+ d2 c2 B2 | d2 c2 B2 | A2 B>A G>d
13
+ d2 c2 B2 | A2 B>A G>d | A2 B>A G>d
14
+ A2 B>A G>d | A2 B>A G>d | B4 d2
15
+ A2 B>A G>d | B4 d2 | B4 d2
16
+ B4 d2 | B4 d2 | e2 d>e g2
17
+ B4 d2 | e2 d>e g2 | e2 d>e g2
18
+ e2 d>e g2 | e2 d>e g2 | G4 A2
19
+ e2 d>e g2 | G4 A2 | G4 A2
20
+ G4 A2 | G4 A2 | B4 A//G//F3/
21
+ G4 A2 | B4 A//G//F3/ | B4 A//G//F3/
22
+ B4 A//G//F3/ | B4 A//G//F3/ | G4 :
23
+ B4 A//G//F3/ | G4 : | G4 :
24
+ G4 : | G4 : | : d2
25
+ G4 : | : d2 | : d2
26
+ : d2 | : d2
n-grams/gen_songs_abc/song_140404/gen_song_140404.ly ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ \version "2.7.40"
2
+ \header {
3
+ composer = "Visakh Ajith"
4
+ crossRefNumber = "1"
5
+ footnotes = ""
6
+ meter = "song"
7
+ tagline = "Lily was here 2.20.0 -- automatically converted from ABC"
8
+ title = "Markov Song 140404"
9
+ transcription = "id:hn-song-111"
10
+ }
11
+ voicedefault = {
12
+ \set Score.defaultBarType = ""
13
+
14
+ \time 3/4 \tempo 4=120
15
+ \key g \major g''4 fis''4 e''4 \bar "|" g''4 fis''4 e''4
16
+ \bar "|" d''4 c''4 b'4 g''4 fis''4 e''4 \bar "|" d''4
17
+ c''4 b'4 \bar "|" d''4 c''4 b'4 d''4 c''4 b'4
18
+ \bar "|" d''4 c''4 b'4 \bar "|" a'4 b'8. a'16 g'8.
19
+ d''16 d''4 c''4 b'4 \bar "|" a'4 b'8. a'16 g'8.
20
+ d''16 \bar "|" a'4 b'8. a'16 g'8. d''16 a'4 b'8.
21
+ a'16 g'8. d''16 \bar "|" a'4 b'8. a'16 g'8. d''16
22
+ \bar "|" b'2 d''4 a'4 b'8. a'16 g'8. d''16 \bar "|"
23
+ b'2 d''4 \bar "|" b'2 d''4 b'2 d''4 \bar "|" b'2
24
+ d''4 \bar "|" e''4 d''8. e''16 g''4 b'2 d''4 \bar "|"
25
+ e''4 d''8. e''16 g''4 \bar "|" e''4 d''8. e''16 g''4
26
+ e''4 d''8. e''16 g''4 \bar "|" e''4 d''8. e''16 g''4
27
+ \bar "|" g'2 a'4 e''4 d''8. e''16 g''4 \bar "|" g'2
28
+ a'4 \bar "|" g'2 a'4 g'2 a'4 \bar "|" g'2 a'4
29
+ \bar "|" b'2 a'32 g'32 fis'8. g'2 a'4 \bar "|" b'2
30
+ a'32 g'32 fis'8. \bar "|" b'2 a'32 g'32 fis'8. b'2
31
+ a'32 g'32 fis'8. \bar "|" b'2 a'32 g'32 fis'8. \bar "|"
32
+ g'2 b'2 a'32 g'32 fis'8. \bar "|" g'2 g'2 g'2
33
+
34
+ }
35
+
36
+ \score{
37
+ <<
38
+
39
+ \context Staff="default"
40
+ {
41
+ \voicedefault
42
+ }
43
+
44
+ >>
45
+ \layout {
46
+ }
47
+ \midi {}
48
+ }
n-grams/gen_songs_abc/song_140404/gen_song_140404.midi ADDED
Binary file (1.31 kB). View file
 
n-grams/gen_songs_abc/song_140404/gen_song_140404.png ADDED
n-grams/gen_songs_abc/song_140404/gen_song_140404.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8b4bb4dc400765102ba29e596e7a7a5c32eab36a153f20136ef017999766971
3
+ size 11025708
n-grams/gen_songs_abc/song_140550/gen_song_140550.abc ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ X:1
2
+ T:Markov Song 140550
3
+ R:song
4
+ C:Visakh Ajith
5
+ Z:id:hn-song-111
6
+ M:3/4
7
+ L:1/8
8
+ Q:1/4=120
9
+ K:G
10
+ F4 g2 | F4 g2 | g2 d2 g2
11
+ F4 g2 | g2 d2 g2 | g2 d2 g2
12
+ g2 d2 g2 | g2 d2 g2 | g3 gag
13
+ g2 d2 g2 | g3 gag | g3 gag
14
+ g3 gag | g3 gag | f2 d2 e2
15
+ g3 gag | f2 d2 e2 | f2 d2 e2
16
+ f2 d2 e2 | f2 d2 e2 | f3 gaf
17
+ f2 d2 e2 | f3 gaf | f3 gaf
18
+ f3 gaf | f3 gaf | g2 d2 d2
19
+ f3 gaf | g2 d2 d2 | g2 d2 d2
20
+ g2 d2 d2 | g2 d2 d2 | d2 c2 A2
21
+ g2 d2 d2 | d2 c2 A2 | d2 c2 A2
22
+ d2 c2 A2 | d2 c2 A2 | G3 BAF
23
+ d2 c2 A2 | G3 BAF | G3 BAF
24
+ G3 BAF | G3 BAF | G3 AGF
25
+ G3 BAF | G3 AGF | G3 AGF
26
+ G3 AGF | G3 AGF | G3 AGF
27
+ G3 AGF | G3 AGF | G3 AGF
28
+ G3 AGF | G3 AGF | G3 AGF
29
+ G3 AGF | G3 AGF | G3 AGF
30
+ G3 AGF | G3 AGF | G3 AGF
31
+ G3 AGF | G3 AGF | G3 AGF
32
+ G3 AGF | G3 AGF | G3 AGF
33
+ G3 AGF | G3 AGF | G3 AGF
34
+ G3 AGF | G3 AGF | G3 AGF
n-grams/gen_songs_abc/song_140550/gen_song_140550.ly ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ \version "2.7.40"
2
+ \header {
3
+ composer = "Visakh Ajith"
4
+ crossRefNumber = "1"
5
+ footnotes = ""
6
+ meter = "song"
7
+ tagline = "Lily was here 2.20.0 -- automatically converted from ABC"
8
+ title = "Markov Song 140550"
9
+ transcription = "id:hn-song-111"
10
+ }
11
+ voicedefault = {
12
+ \set Score.defaultBarType = ""
13
+
14
+ \time 3/4 \tempo 4=120
15
+ \key g \major fis'2 g''4 \bar "|" fis'2 g''4 \bar "|" g''4
16
+ d''4 g''4 fis'2 g''4 \bar "|" g''4 d''4 g''4 \bar "|"
17
+ g''4 d''4 g''4 g''4 d''4 g''4 \bar "|" g''4 d''4
18
+ g''4 \bar "|" g''4. g''8 a''8 g''8 g''4 d''4 g''4
19
+ \bar "|" g''4. g''8 a''8 g''8 \bar "|" g''4. g''8 a''8
20
+ g''8 g''4. g''8 a''8 g''8 \bar "|" g''4. g''8 a''8
21
+ g''8 \bar "|" fis''4 d''4 e''4 g''4. g''8 a''8 g''8
22
+ \bar "|" fis''4 d''4 e''4 \bar "|" fis''4 d''4 e''4
23
+ fis''4 d''4 e''4 \bar "|" fis''4 d''4 e''4 \bar "|"
24
+ fis''4. g''8 a''8 fis''8 fis''4 d''4 e''4 \bar "|"
25
+ fis''4. g''8 a''8 fis''8 \bar "|" fis''4. g''8 a''8
26
+ fis''8 fis''4. g''8 a''8 fis''8 \bar "|" fis''4. g''8
27
+ a''8 fis''8 \bar "|" g''4 d''4 d''4 fis''4. g''8 a''8
28
+ fis''8 \bar "|" g''4 d''4 d''4 \bar "|" g''4 d''4 d''4
29
+ g''4 d''4 d''4 \bar "|" g''4 d''4 d''4 \bar "|" d''4
30
+ c''4 a'4 g''4 d''4 d''4 \bar "|" d''4 c''4 a'4
31
+ \bar "|" d''4 c''4 a'4 d''4 c''4 a'4 \bar "|" d''4
32
+ c''4 a'4 \bar "|" g'4. b'8 a'8 fis'8 d''4 c''4 a'4
33
+ \bar "|" g'4. b'8 a'8 fis'8 \bar "|" g'4. b'8 a'8
34
+ fis'8 g'4. b'8 a'8 fis'8 \bar "|" g'4. b'8 a'8
35
+ fis'8 \bar "|" g'4. a'8 g'8 fis'8 g'4. b'8 a'8
36
+ fis'8 \bar "|" g'4. a'8 g'8 fis'8 \bar "|" g'4. a'8
37
+ g'8 fis'8 g'4. a'8 g'8 fis'8 \bar "|" g'4. a'8 g'8
38
+ fis'8 \bar "|" g'4. a'8 g'8 fis'8 g'4. a'8 g'8
39
+ fis'8 \bar "|" g'4. a'8 g'8 fis'8 \bar "|" g'4. a'8
40
+ g'8 fis'8 g'4. a'8 g'8 fis'8 \bar "|" g'4. a'8 g'8
41
+ fis'8 \bar "|" g'4. a'8 g'8 fis'8 g'4. a'8 g'8
42
+ fis'8 \bar "|" g'4. a'8 g'8 fis'8 \bar "|" g'4. a'8
43
+ g'8 fis'8 g'4. a'8 g'8 fis'8 \bar "|" g'4. a'8 g'8
44
+ fis'8 \bar "|" g'4. a'8 g'8 fis'8 g'4. a'8 g'8
45
+ fis'8 \bar "|" g'4. a'8 g'8 fis'8 \bar "|" g'4. a'8
46
+ g'8 fis'8 g'4. a'8 g'8 fis'8 \bar "|" g'4. a'8 g'8
47
+ fis'8 \bar "|" g'4. a'8 g'8 fis'8 g'4. a'8 g'8
48
+ fis'8 \bar "|" g'4. a'8 g'8 fis'8 \bar "|" g'4. a'8
49
+ g'8 fis'8 g'4. a'8 g'8 fis'8 \bar "|" g'4. a'8 g'8
50
+ fis'8 \bar "|" g'4. a'8 g'8 fis'8
51
+ }
52
+
53
+ \score{
54
+ <<
55
+
56
+ \context Staff="default"
57
+ {
58
+ \voicedefault
59
+ }
60
+
61
+ >>
62
+ \layout {
63
+ }
64
+ \midi {}
65
+ }
n-grams/gen_songs_abc/song_140550/gen_song_140550.midi ADDED
Binary file (2.57 kB). View file
 
n-grams/gen_songs_abc/song_140550/gen_song_140550.png ADDED
n-grams/gen_songs_abc/song_140550/gen_song_140550.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2dbb2179bd9e43588547682d21fc7418a41e3acbbdbf01336672187a5bd0696d
3
+ size 19845676
n-grams/gen_songs_abc/song_140803/gen_song_140803.abc ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ X:1
2
+ T:Markov Song 140803
3
+ R:song
4
+ C:Visakh Ajith
5
+ Z:id:hn-song-111
6
+ M:3/4
7
+ L:1/8
8
+ Q:1/4=120
9
+ K:G
10
+ f4 fe | f4 fe | 1 d2 c2 A2
11
+ f4 fe | 1 d2 c2 A2 | 1 d2 c2 A2
12
+ 1 d2 c2 A2 | 1 d2 c2 A2 | B3 cBA:
13
+ 1 d2 c2 A2 | B3 cBA: | B3 cBA:
14
+ B3 cBA: | B3 cBA: | 2 d2 e2 f2
15
+ B3 cBA: | 2 d2 e2 f2 | 2 d2 e2 f2
16
+ 2 d2 e2 f2 | 2 d2 e2 f2 | g4
17
+ 2 d2 e2 f2 | g4 | g4
18
+ g4 | g4 | g4
19
+ g4 | g4 | g4
20
+ g4 | g4 | g4
21
+ g4 | g4 | g4
22
+ g4 | g4 | g4
23
+ g4 | g4 | g4
24
+ g4 | g4 | g4
25
+ g4 | g4 | g4
26
+ g4 | g4
n-grams/gen_songs_abc/song_140803/gen_song_140803.ly ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ \version "2.7.40"
2
+ \header {
3
+ composer = "Visakh Ajith"
4
+ crossRefNumber = "1"
5
+ footnotes = ""
6
+ meter = "song"
7
+ tagline = "Lily was here 2.20.0 -- automatically converted from ABC"
8
+ title = "Markov Song 140803"
9
+ transcription = "id:hn-song-111"
10
+ }
11
+ voicedefault = {
12
+ \set Score.defaultBarType = ""
13
+
14
+ \time 3/4 \tempo 4=120
15
+ \key g \major fis''2 fis''8 e''8 \bar "|" fis''2 fis''8
16
+ e''8 \bar "|" fis''2 fis''8 e''8 \bar "|" b'4. c''8
17
+ b'8 a'8 b'4. c''8 b'8 a'8 g''2 \bar "|" g''2
18
+ \bar "|" g''2 g''2 \bar "|" g''2 \bar "|" g''2 g''2
19
+ \bar "|" g''2 \bar "|" g''2 g''2 \bar "|" g''2 \bar "|"
20
+ g''2 g''2 \bar "|" g''2 \bar "|" g''2 g''2 \bar "|"
21
+ g''2 \bar "|" g''2 g''2 \bar "|" g''2 \bar "|" g''2
22
+ g''2 \bar "|" g''2 \bar "|" g''2 g''2 \bar "|" g''2
23
+ }
24
+
25
+ \score{
26
+ <<
27
+
28
+ \context Staff="default"
29
+ {
30
+ \voicedefault
31
+ }
32
+
33
+ >>
34
+ \layout {
35
+ }
36
+ \midi {}
37
+ }
n-grams/gen_songs_abc/song_140803/gen_song_140803.midi ADDED
Binary file (529 Bytes). View file
 
n-grams/gen_songs_abc/song_140803/gen_song_140803.png ADDED
n-grams/gen_songs_abc/song_140803/gen_song_140803.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:79c83a7dd2085898db4bba394a7c6f96f5b02bab682619e536cf841fcaf62d0d
3
+ size 5910060
n-grams/music.py CHANGED
@@ -170,12 +170,12 @@ def main(difficulty,time_Signature, Key_Signature):
170
  cmd2 = subprocess.Popen(['/usr/bin/lilypond','-fpng','-o',path,song_path+".ly"]).communicate()
171
  # cmd2.wait()
172
 
173
-
174
-
175
  # output = str(temp.communicate())
176
  #Introduces this wait time as we were returning file path even before lilypond converted the abc file
177
  # final_path = os.path.abspath(song_path+".png")
178
- return song_path+'.png',"gen_songs_abc/song_212044/output.wav"
179
 
180
 
181
  #UI SECTION : Build using Gradio.
 
170
  cmd2 = subprocess.Popen(['/usr/bin/lilypond','-fpng','-o',path,song_path+".ly"]).communicate()
171
  # cmd2.wait()
172
 
173
+ #fluidsynth() dependency
174
+ subprocess.Popen(['midi2audio',song_path+'.midi',song_path+'.wav']).communicate()
175
  # output = str(temp.communicate())
176
  #Introduces this wait time as we were returning file path even before lilypond converted the abc file
177
  # final_path = os.path.abspath(song_path+".png")
178
+ return song_path+'.png',song_path+".wav"
179
 
180
 
181
  #UI SECTION : Build using Gradio.