pokecrystal-board/audio/music/mobileadapter.asm

662 lines
7.7 KiB
NASM
Raw Permalink Normal View History

2018-06-24 07:09:41 -07:00
Music_MobileAdapter:
channel_count 4
channel 1, Music_MobileAdapter_Ch1
channel 2, Music_MobileAdapter_Ch2
channel 3, Music_MobileAdapter_Ch3
channel 4, Music_MobileAdapter_Ch4
2012-11-30 02:52:23 -08:00
2018-06-24 07:09:41 -07:00
Music_MobileAdapter_Ch1:
2013-11-06 22:18:50 -08:00
tempo 132
volume 7, 7
pitch_offset 1
stereo_panning FALSE, TRUE
duty_cycle 2
note_type 12, 8, 4
rest 2
rest 6
2013-11-06 22:18:50 -08:00
octave 3
note G_, 1
2013-11-06 22:18:50 -08:00
octave 4
note D_, 1
note E_, 1
rest 1
note D_, 1
rest 1
note C#, 4
.mainloop:
sound_call .sub1
2013-11-06 22:18:50 -08:00
note D_, 1
note C#, 1
note D_, 2
2013-11-06 22:18:50 -08:00
octave 3
note A_, 1
note G_, 1
note A_, 2
2013-11-06 22:18:50 -08:00
note F#, 1
note E_, 1
note F#, 2
2013-11-06 22:18:50 -08:00
note D_, 1
note C#, 1
note D_, 2
sound_call .sub1
note D_, 1
note C#, 1
2013-11-06 22:18:50 -08:00
octave 3
note B_, 1
2013-11-06 22:18:50 -08:00
octave 4
note D_, 1
note F#, 1
note E_, 1
note D_, 1
note C#, 1
volume_envelope 9, 4
note D_, 2
2013-11-06 22:18:50 -08:00
octave 3
note A_, 2
2013-11-06 22:18:50 -08:00
octave 4
note D_, 4
2013-11-06 22:18:50 -08:00
octave 5
note C#, 1
rest 1
note C#, 1
rest 1
note C#, 1
rest 1
octave 4
note C#, 8
volume_envelope 9, 2
note F#, 1
note G_, 1
note A_, 2
note G#, 2
2013-11-06 22:18:50 -08:00
note A_, 2
volume_envelope 9, 4
2013-11-06 22:18:50 -08:00
note E_, 3
octave 3
note A_, 3
note E_, 4
2013-11-06 22:18:50 -08:00
octave 4
note G_, 1
rest 1
note G_, 1
rest 1
note G_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note B_, 8
volume_envelope 9, 2
2013-11-06 22:18:50 -08:00
octave 4
note B_, 1
octave 5
note C_, 1
2013-11-06 22:18:50 -08:00
note C#, 2
octave 4
note B_, 2
note A_, 2
octave 5
note C#, 3
volume_envelope 9, 4
2013-11-06 22:18:50 -08:00
octave 4
note C#, 3
2013-11-06 22:18:50 -08:00
octave 3
note A_, 4
2013-11-06 22:18:50 -08:00
octave 4
note F#, 1
rest 1
note F#, 1
rest 1
note F#, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note F#, 10
2013-11-06 22:18:50 -08:00
octave 4
note D_, 1
rest 1
note D_, 1
rest 1
note D_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note D_, 10
2013-11-06 22:18:50 -08:00
octave 4
note A_, 8
volume_envelope 10, 1
2013-11-06 22:18:50 -08:00
octave 3
note C#, 1
note D_, 1
note E_, 1
note F#, 1
note G_, 1
note A_, 1
note B_, 1
2013-11-06 22:18:50 -08:00
octave 4
note C#, 1
2013-11-06 22:18:50 -08:00
note D_, 1
note C#, 1
note D_, 2
2013-11-06 22:18:50 -08:00
octave 3
note A_, 1
note G_, 1
note A_, 2
volume_envelope 9, 4
note F#, 2
2013-11-06 22:18:50 -08:00
octave 2
note A_, 2
2013-11-06 22:18:50 -08:00
octave 3
note D_, 4
volume_envelope 7, 7
sound_call Music_MobileAdapter_Ch3.sub5
sound_loop 0, .mainloop
2012-11-30 02:52:23 -08:00
.sub1:
volume_envelope 9, 4
2013-11-06 22:18:50 -08:00
octave 4
note F#, 1
rest 1
note F#, 1
rest 1
note F#, 2
2013-11-06 22:18:50 -08:00
octave 3
note F#, 10
2013-11-06 22:18:50 -08:00
octave 4
note G_, 1
rest 1
note G_, 1
rest 1
note G_, 2
2013-11-06 22:18:50 -08:00
octave 3
note G_, 8
volume_envelope 10, 1
note B_, 1
octave 4
note D_, 1
note E_, 1
note D_, 1
note C#, 1
note E_, 1
note D_, 1
note C#, 1
octave 3
note B_, 1
note A_, 1
note E_, 1
note F#, 1
note G_, 1
note F#, 1
note E_, 1
note A_, 1
note B_, 1
octave 4
note C#, 1
sound_ret
2012-11-30 02:52:23 -08:00
2018-06-24 07:09:41 -07:00
Music_MobileAdapter_Ch2:
note_type 12, 12, 1
vibrato 16, 2, 3
duty_cycle 2
2013-11-06 22:18:50 -08:00
octave 3
note G_, 1
note B_, 1
2013-11-06 22:18:50 -08:00
octave 4
note D_, 1
note C#, 1
note D_, 2
2013-11-06 22:18:50 -08:00
octave 3
note B_, 1
note A#, 1
note B_, 2
2013-11-06 22:18:50 -08:00
octave 4
note C#, 2
2013-11-06 22:18:50 -08:00
octave 3
note B_, 2
note A_, 2
volume_envelope 11, 4
2013-11-06 22:18:50 -08:00
octave 4
note D_, 1
note F#, 1
.mainloop:
sound_call .sub1
note A_, 4
note G_, 4
note A_, 4
note E_, 4
note F#, 12
rest 2
note D_, 1
note F#, 1
sound_call .sub1
2013-11-06 22:18:50 -08:00
octave 5
note C#, 4
2013-11-06 22:18:50 -08:00
octave 4
note A_, 4
2013-11-06 22:18:50 -08:00
octave 5
note F#, 4
note E_, 4
note D_, 12
rest 2
note C#, 1
2013-11-06 22:18:50 -08:00
note D_, 1
note E_, 1
rest 1
note E_, 1
rest 1
note E_, 1
rest 1
note G_, 4
note F#, 2
note E_, 2
note D_, 2
note C#, 9
volume_envelope 10, 2
2013-11-06 22:18:50 -08:00
octave 3
note E_, 3
note C#, 2
volume_envelope 11, 4
2013-11-06 22:18:50 -08:00
octave 5
note D_, 1
note C#, 1
octave 4
note B_, 1
rest 1
note B_, 1
rest 1
note B_, 1
rest 1
octave 5
note C#, 4
note D_, 2
note E_, 2
note F#, 2
note E_, 9
volume_envelope 10, 2
2013-11-06 22:18:50 -08:00
octave 3
note A_, 3
note E_, 2
volume_envelope 11, 4
2013-11-06 22:18:50 -08:00
octave 5
note F#, 1
note G_, 1
note A_, 1
rest 1
note A_, 1
rest 1
note A_, 1
rest 1
note G_, 4
note F#, 2
note E_, 2
2013-11-06 22:18:50 -08:00
note D_, 1
note C#, 1
octave 4
note B_, 1
rest 1
note B_, 1
rest 1
note B_, 1
rest 1
octave 5
note G_, 4
note F#, 2
note D_, 2
2013-11-06 22:18:50 -08:00
octave 4
note A#, 1
note B_, 1
2013-11-06 22:18:50 -08:00
octave 5
note C#, 12
note E_, 4
note D_, 16
duty_cycle 1
volume_envelope 7, 1
sound_call .sub2
2013-11-06 22:18:50 -08:00
octave 4
note E_, 1
note A_, 1
2013-11-06 22:18:50 -08:00
octave 5
note C#, 1
note E_, 1
sound_call .sub2
rest 2
duty_cycle 2
volume_envelope 11, 4
2013-11-06 22:18:50 -08:00
octave 4
note D_, 1
note F#, 1
sound_loop 0, .mainloop
2013-11-06 22:18:50 -08:00
.sub1:
2013-11-06 22:18:50 -08:00
note A_, 1
rest 1
note A_, 1
rest 1
note A_, 2
2013-11-06 22:18:50 -08:00
octave 5
note D_, 4
note C#, 2
2013-11-06 22:18:50 -08:00
octave 4
note B_, 2
note G_, 1
note A_, 1
2013-11-06 22:18:50 -08:00
note B_, 1
rest 1
2013-11-06 22:18:50 -08:00
note B_, 1
rest 1
note B_, 2
2013-11-06 22:18:50 -08:00
octave 5
note E_, 4
note D_, 2
note C#, 2
2013-11-06 22:18:50 -08:00
octave 4
note B_, 2
sound_ret
2012-11-30 02:52:23 -08:00
.sub2:
2013-11-06 22:18:50 -08:00
octave 5
note F#, 1
note D_, 1
2013-11-06 22:18:50 -08:00
octave 4
note A_, 1
note F#, 1
2013-11-06 22:18:50 -08:00
octave 5
note F#, 1
note D_, 1
2013-11-06 22:18:50 -08:00
octave 4
note A_, 1
note F#, 1
2013-11-06 22:18:50 -08:00
octave 5
note F#, 1
note D_, 1
2013-11-06 22:18:50 -08:00
octave 4
note A#, 1
note F#, 1
2013-11-06 22:18:50 -08:00
octave 5
note F#, 1
note D_, 1
2013-11-06 22:18:50 -08:00
octave 4
note A#, 1
note F#, 1
2013-11-06 22:18:50 -08:00
octave 5
note G_, 1
note D_, 1
2013-11-06 22:18:50 -08:00
octave 4
note B_, 1
note G_, 1
2013-11-06 22:18:50 -08:00
octave 5
note G_, 1
note D_, 1
2013-11-06 22:18:50 -08:00
octave 4
note B_, 1
note G_, 1
2013-11-06 22:18:50 -08:00
octave 5
note C#, 4
sound_ret
2012-11-30 02:52:23 -08:00
2018-06-24 07:09:41 -07:00
Music_MobileAdapter_Ch3:
note_type 12, 1, 4
rest 2
2013-11-06 22:18:50 -08:00
octave 3
note G_, 1
rest 1
note B_, 1
rest 1
note G_, 1
rest 1
note B_, 1
note G_, 1
note A_, 1
rest 1
note E_, 1
rest 1
note A_, 4
.mainloop:
sound_call .sub1
sound_call .sub2
sound_call .sub3
note D_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 2
note A_, 1
rest 1
note B_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note C#, 1
rest 1
sound_call .sub1
sound_call .sub2
sound_call .sub3
note D_, 2
2013-11-06 22:18:50 -08:00
octave 2
note A_, 2
2013-11-06 22:18:50 -08:00
octave 3
note D_, 4
sound_call .sub2
sound_call .sub4
note B_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note G_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 2
note B_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note D_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 2
note G_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note D_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 2
note G_, 1
rest 1
note B_, 1
rest 1
sound_call .sub4
2013-11-06 22:18:50 -08:00
octave 3
note D_, 1
rest 1
note A_, 1
rest 1
note D_, 1
rest 1
note A_, 1
rest 1
note C#, 1
rest 1
note A_, 1
rest 1
note C#, 1
rest 1
note A_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 2
note B_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note G_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 2
note B_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note G_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 2
note A#, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note G_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 2
note A#, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note G_, 1
rest 1
sound_call .sub2
note D_, 1
rest 1
note A_, 1
rest 1
note D_, 1
rest 1
2013-11-06 22:18:50 -08:00
note A_, 1
rest 1
note F#, 2
octave 2
note A_, 2
2013-11-06 22:18:50 -08:00
octave 3
note D_, 4
sound_call .sub5
sound_loop 0, .mainloop
2012-11-30 02:52:23 -08:00
.sub1:
.sub1loop1:
2013-11-06 22:18:50 -08:00
octave 3
note D_, 1
rest 1
note A_, 1
rest 1
sound_loop 4, .sub1loop1
.sub1loop2:
2013-11-06 22:18:50 -08:00
octave 2
note G_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note D_, 1
rest 1
sound_loop 4, .sub1loop2
sound_ret
2012-11-30 02:52:23 -08:00
.sub2:
.sub2loop1:
2013-11-06 22:18:50 -08:00
octave 2
note A_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note E_, 1
rest 1
sound_loop 4, .sub2loop1
sound_ret
2012-11-30 02:52:23 -08:00
.sub3:
note D_, 1
rest 1
note A_, 1
rest 1
note D_, 1
rest 1
note A_, 1
rest 1
sound_ret
2012-11-30 02:52:23 -08:00
.sub4:
2013-11-06 22:18:50 -08:00
octave 2
note A_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note C#, 1
rest 1
2013-11-06 22:18:50 -08:00
note E_, 1
rest 1
note C#, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 2
note A_, 1
octave 3
note E_, 2
rest 1
octave 2
note A_, 4
sound_ret
2012-11-30 02:52:23 -08:00
.sub5:
.sub5loop1:
2013-11-06 22:18:50 -08:00
octave 2
note A_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note D_, 2
octave 2
note A_, 1
2013-11-06 22:18:50 -08:00
octave 3
note D_, 3
2013-11-06 22:18:50 -08:00
octave 2
note A#, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note D_, 2
octave 2
note A#, 1
2013-11-06 22:18:50 -08:00
octave 3
note D_, 3
2013-11-06 22:18:50 -08:00
octave 2
note B_, 1
rest 1
2013-11-06 22:18:50 -08:00
octave 3
note D_, 2
octave 2
note B_, 1
octave 3
note D_, 3
octave 2
note A_, 2
rest 6
sound_loop 2, .sub5loop1
sound_ret
2013-11-06 22:18:50 -08:00
2018-06-24 07:09:41 -07:00
Music_MobileAdapter_Ch4:
toggle_noise 3
stereo_panning TRUE, FALSE
drum_speed 12
rest 2
rest 10
drum_note 3, 2
drum_note 3, 2
drum_note 3, 1
drum_note 3, 1
.mainloop:
sound_call .sub1
sound_call .sub1
.loop1:
rest 4
drum_note 3, 8
drum_note 3, 8
drum_note 3, 4
drum_note 3, 1
drum_note 3, 3
drum_note 3, 4
sound_loop 2, .loop1
.loop2:
rest 4
drum_note 3, 4
sound_loop 11, .loop2
rest 2
drum_note 3, 2
drum_note 3, 2
drum_note 3, 1
drum_note 3, 1
rest 4
drum_note 3, 8
drum_note 3, 8
drum_note 3, 6
drum_note 3, 2
drum_note 3, 2
drum_note 3, 1
drum_note 3, 1
sound_loop 0, .mainloop
2012-11-30 02:52:23 -08:00
.sub1:
.sub1loop1:
rest 4
drum_note 3, 4
sound_loop 7, .sub1loop1
rest 2
drum_note 3, 2
drum_note 3, 2
drum_note 3, 1
drum_note 3, 1
sound_ret