import yue
intro = [ (1,3,3), (1,3,7), (1,3,10), (6,4,2),
(1,3,1),
(1,3,5),
(1,3,8),
(3,4,0),
(1,2,11),
(1,3,3),
(1,3,6),
(3,3,10),
(1,2,8),
(1,3,0),
(1,3,3),
(8,3,7),
]
melody = [ (1,3,3), (1,3,7), (1,3,10), (1,4,2), (1,4,3), (1,4,7), (2,4,8),
(1,3,1),
(1,3,5),
(1,3,8),
(1,4,0),
(1,4,1),
(1,4,5),
(2,4,8),
(1,3,3),
(1,3,7),
(1,3,10),
(1,4,2),
(1,4,3),
(1,4,10),
(2,4,3),
(1,3,1),
(1,3,5),
(1,3,8),
(1,4,0),
(1,4,10),
(1,4,8),
(2,4,10),
(1,3,3),
(1,3,7),
(1,3,10),
(1,4,2),
(1,4,3),
(1,4,7),
(2,4,8),
(1,3,1),
(1,3,5),
(1,3,8),
(1,4,0),
(1,4,1),
(1,4,5),
(2,4,1),
(1,3,3),
(1,3,7),
(1,3,10),
(1,4,2),
(1,4,3),
(1,4,10),
(1,4,8),
(1,4,7),
(1,3,1),
(1,3,5),
(1,3,8),
(1,4,0),
(1,4,10),
(1,4,8),
(2,4,10),
]
bass = [ (1,1,3), (1,1,10), (1,1,1), (1,1,8), (1,1,3), (1,2,3), (1,1,1), (1,1,10), ]
melody2 = [ (1,0,0), (1,5,10), (1,5,8), (1,5,7), (1,5,8), (3,5,7,2),
(1,5,3),
(1,4,10),
(6,5,1,2),
(1/2,5,0,2),
(1/2,5,1,2),
(3,5,3,2),
(1/2,5,10,2),
(7/2,5,3,2),
(8,0,0),
(1,0,0),
(1,5,3),
(1,5,10),
(1,5,10),
(4/3,5,10),
(4/3,5,8),
(4/3,5,7),
(1,0,0),
(1,5,1),
(1,5,8),
(1,5,8),
(4/3,5,8),
(4/3,5,8),
(4/3,5,10),
(8,0,0),
(1,0,0),
(5,5,3,2),
(2,5,10,2),
]
melody3 = [ (1,0,0), (1,5,10), (1/2,5,8,2/3), (1/2,5,7,2/3), (1/4,5,8,1/2), (1/4,5,7,1/2), (1/4,5,8,1/2), (1/4,5,7,1/2), (1,5,8), (3,5,7,2),
(1,5,3),
(1,4,10),
(1,5,1),
(5,5,7,2),
(1/2,5,7),
(1/2,5,10),
(1/4,5,7),
(1/4,5,10),
(1/4,5,7),
(1/4,5,10),
(1,6,3),
(2,5,3,2),
(1/2,6,3),
(5/2,5,3,2),
(1/2,5,10),
(1/2,5,8),
(1/2,5,7),
(1/2,5,8),
(1/2,5,7),
(1/2,5,3),
(1/2,4,10),
(1/2,5,1),
(1/2,5,0),
(1/2,4,10),
(1/2,4,8),
(1/2,4,10),
(1/2,5,3),
(1/2,5,7),
(1/2,5,3),
(1/2,5,10),
(4/3,5,7),
(4/3,6,3),
(4/3,6,3),
(4/3,6,2),
(4/3,5,10),
(4/3,5,7),
(3,5,5),
(2,5,7),
(2,5,8),
(1,6,1),
(1,5,3),
(1,5,5),
(2,5,7),
(1,5,3),
(1,5,8),
(2,5,10),
(3/2,6,0),
(3/2,6,1),
(5,6,3,2),
]
outro = [ (1,3,3), (1,3,7), (1,3,10), (1,4,2), (1,4,3), (1,4,7), (2,4,8),
(1,3,1),
(1,3,5),
(1,3,8),
(1,4,0),
(1,4,1),
(1,4,5),
(2,4,8),
(1,2,11),
(1,3,3),
(1,3,6),
(1,3,10),
(1.5,3,11),
(1.5,4,3),
(3,4,8),
(1.5,2,8),
(1.5,3,0),
(2,3,3),
(16,3,7,2),
]
yue.process(intro, 0, 4, blend=1) yue.process(melody, 8, 4, blend=1) yue.process(melody, 24, 4, blend=1) yue.process(bass, 24, gain=1.5, blend=1) yue.process(bass, 32, gain=1.5, blend=1) yue.process(melody, 40, 4, blend=1) yue.process(melody2, 40, 4, blend=1, waveform=yue.seething) yue.process(bass, 40, gain=1.5, blend=1) yue.process(bass, 48, gain=1.5, blend=1) yue.process(melody, 56, 4, blend=1) yue.process(melody3, 56, 4, blend=1, waveform=yue.seething) yue.process(bass, 56, gain=1.5, blend=1) yue.process(bass, 64, gain=1.5, blend=1) yue.process(outro, 72, 4, blend=1) yue.play(0, 84)