summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKermalis <29823718+Kermalis@users.noreply.github.com>2019-03-24 16:41:54 -0400
committerhuderlem <huderlem@gmail.com>2019-03-24 16:37:27 -0500
commitd3899c508722378de2de1ce0d54e866304632820 (patch)
tree7d9d4a46714c66a99b446596e67d898c9b4c6e31
parent9d803b24a6845e359f8a567a8eaec8c0974595c1 (diff)
Match se_w004.mid
-rw-r--r--ld_script.txt2
-rw-r--r--songs.mk3
-rw-r--r--sound/songs/midi/se_w004.midbin0 -> 172 bytes
-rw-r--r--sound/songs/se_w004.s75
4 files changed, 4 insertions, 76 deletions
diff --git a/ld_script.txt b/ld_script.txt
index 5703e4585..b6d2b9f6e 100644
--- a/ld_script.txt
+++ b/ld_script.txt
@@ -773,7 +773,7 @@ SECTIONS {
sound/songs/se_w013.o(.rodata);
sound/songs/se_w196.o(.rodata);
sound/songs/se_w086.o(.rodata);
- sound/songs/se_w004.o(.rodata);
+ sound/songs/midi/se_w004.o(.rodata);
sound/songs/se_w025.o(.rodata);
sound/songs/se_w025b.o(.rodata);
sound/songs/se_w152.o(.rodata);
diff --git a/songs.mk b/songs.mk
index da7a1020b..0c4890e7a 100644
--- a/songs.mk
+++ b/songs.mk
@@ -1191,5 +1191,8 @@ $(MID_SUBDIR)/se_ussoki.s: %.s: %.mid
$(MID_SUBDIR)/se_w003.s: %.s: %.mid
$(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4
+$(MID_SUBDIR)/se_w004.s: %.s: %.mid
+ $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V120 -P4
+
$(MID_SUBDIR)/se_z_search.s: %.s: %.mid
$(MID) $< $@ -E -R$(STD_REVERB) -G127 -P5
diff --git a/sound/songs/midi/se_w004.mid b/sound/songs/midi/se_w004.mid
new file mode 100644
index 000000000..a27538d81
--- /dev/null
+++ b/sound/songs/midi/se_w004.mid
Binary files differ
diff --git a/sound/songs/se_w004.s b/sound/songs/se_w004.s
deleted file mode 100644
index c78a30d12..000000000
--- a/sound/songs/se_w004.s
+++ /dev/null
@@ -1,75 +0,0 @@
- .include "MPlayDef.s"
-
- .equ se_w004_grp, voicegroup128
- .equ se_w004_pri, 4
- .equ se_w004_rev, reverb_set+50
- .equ se_w004_mvl, 127
- .equ se_w004_key, 0
- .equ se_w004_tbs, 1
- .equ se_w004_exg, 0
- .equ se_w004_cmp, 1
-
- .section .rodata
- .global se_w004
- .align 2
-
-@********************** Track 1 **********************@
-
-se_w004_1:
- .byte KEYSH , se_w004_key+0
- .byte TEMPO , 150*se_w004_tbs/2
- .byte VOICE , 6
- .byte VOL , 120*se_w004_mvl/mxv
- .byte BENDR , 12
- .byte PAN , c_v+0
- .byte BEND , c_v+0
- .byte N03 , Cn3 , v127
- .byte W01
- .byte PAN , c_v-10
- .byte BEND , c_v-27
- .byte W01
- .byte PAN , c_v+8
- .byte BEND , c_v-47
- .byte W01
- .byte c_v-64
- .byte W01
- .byte PAN , c_v+0
- .byte BEND , c_v+1
- .byte N02 , Dn3 , v084
- .byte W02
- .byte BEND , c_v-32
- .byte W18
- .byte FINE
-
-@********************** Track 2 **********************@
-
-se_w004_2:
- .byte KEYSH , se_w004_key+0
- .byte VOICE , 5
- .byte XCMD , xIECV , 10
- .byte xIECL , 8
- .byte VOL , 120*se_w004_mvl/mxv
- .byte PAN , c_v+9
- .byte N03 , An2 , v052
- .byte W04
- .byte N02
- .byte W02
- .byte PAN , c_v-8
- .byte W18
- .byte FINE
-
-@******************************************************@
- .align 2
-
-se_w004:
- .byte 2 @ NumTrks
- .byte 0 @ NumBlks
- .byte se_w004_pri @ Priority
- .byte se_w004_rev @ Reverb.
-
- .word se_w004_grp
-
- .word se_w004_1
- .word se_w004_2
-
- .end