summaryrefslogtreecommitdiff
path: root/audio/music/dragonsden.asm
blob: e2f1607de454be661a2b183ace7ffe12568eb766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
Music_DragonsDen:
	musicheader 4, 1, Music_DragonsDen_Ch1
	musicheader 1, 2, Music_DragonsDen_Ch2
	musicheader 1, 3, Music_DragonsDen_Ch3
	musicheader 1, 4, Music_DragonsDen_Ch4

Music_DragonsDen_Ch1:
	tempo 144
	volume $77
	dutycycle $0
	tone $0004
	stereopanning $f0
	notetype $c, $80
.mainloop:
	callchannel .sub1
	note __, 16
	callchannel .sub2
	note __, 2
	callchannel .sub2
	note __, 2
	callchannel .sub2
	note __, 2
	callchannel .sub2
	note __, 10
	notetype $c, $b7
	loopchannel 0, .mainloop

.sub1:
	octave 3
	note A#, 12
	note A_, 4
	note A#, 12
	note A_, 4
	note A#, 6
	octave 4
	note C_, 4
	note C#, 6
	note E_, 16
	note D#, 12
	note D_, 4
	octave 3
	note G#, 16
	endchannel

.sub2:
	intensity $b1
	note __, 2
	octave 4
	note C#, 3
	note C#, 3
	note C#, 3
	note C#, 3
	note C#, 4
	note C#, 3
	note C#, 3
	note C#, 4
	note C#, 2
	note C#, 2
	endchannel

Music_DragonsDen_Ch2:
	dutycycle $0
	tone $0004
	stereopanning $f
	notetype $c, $90
.mainloop:
	callchannel .sub1
	note __, 16
	callchannel .sub2
	callchannel .sub2
	callchannel .sub2
	callchannel .sub2
	note __, 16
	notetype $c, $c7
	loopchannel 0, .mainloop

.sub1:
	octave 4
	note D#, 12
	note D_, 4
	note D#, 12
	note D_, 4
	note D#, 6
	note F_, 4
	note F#, 6
	note A_, 16
	note G#, 12
	note G_, 4
	note C#, 16
	endchannel

.sub2:
	intensity $c1
.sub2loop1:
	octave 5
	note C#, 4
	octave 4
	note G#, 4
	note G#, 4
	note G#, 4
	loopchannel 2, .sub2loop1
	endchannel

Music_DragonsDen_Ch3:
.mainloop:
.loop1:
	notetype $c, $14
	octave 4
	note C#, 2
	octave 3
	note G#, 1
	octave 4
	note C#, 1
	octave 3
	note G#, 2
	octave 4
	note C#, 2
	octave 3
	note G#, 1
	octave 4
	note C#, 1
	octave 3
	note G#, 2
	octave 4
	note C#, 2
	octave 3
	note G#, 1
	octave 4
	note C#, 1
	loopchannel 15, .loop1
	note __, 16
	notetype $6, $27
.loop2:
	octave 3
	note C#, 4
	octave 2
	note G#, 2
	octave 3
	note C#, 2
	octave 2
	note G#, 4
	octave 3
	note C#, 4
	octave 2
	note G#, 2
	octave 3
	note C#, 2
	octave 2
	note G#, 4
	octave 3
	note C#, 4
	octave 2
	note G#, 2
	octave 3
	note C#, 2
	loopchannel 16, .loop2
	loopchannel 0, .mainloop

Music_DragonsDen_Ch4:
	togglenoise $0
	notetype $c
	note __, 16
	note __, 16
.mainloop:
	stereopanning $f0
	note F_, 4
	stereopanning $f
	note F#, 4
	note F#, 4
	stereopanning $f0
	note F#, 4
	loopchannel 0, .mainloop