Files
Josh 0dfec24967 Allow names for voicegroups and use a macro for use with drumsets (#2149)
mid2agb has been modified to allow more than just numbers when naming voicegroups and voicegroups have been renamed to match. A "voice_group" macro has been set up with a optional parameter for the starting note will shift the offset by the specified amount * 0xC which is the length of 1 voice in a voicegroup. All drumset voicegroups have a "starting_note" of 36.
2025-07-30 19:43:08 +01:00

68 lines
1.4 KiB
ArmAsm

.include "MPlayDef.s"
.equ se_m_flatter_grp, voicegroup_rs_sfx_2
.equ se_m_flatter_pri, 4
.equ se_m_flatter_rev, reverb_set+50
.equ se_m_flatter_mvl, 127
.equ se_m_flatter_key, 0
.equ se_m_flatter_tbs, 1
.equ se_m_flatter_exg, 0
.equ se_m_flatter_cmp, 1
.section .rodata
.global se_m_flatter
.align 2
@********************** Track 1 **********************@
se_m_flatter_1:
.byte KEYSH , se_m_flatter_key+0
.byte TEMPO , 150*se_m_flatter_tbs/2
.byte VOICE , 41
.byte VOL , 100*se_m_flatter_mvl/mxv
.byte BENDR , 12
.byte PAN , c_v+0
.byte BEND , c_v+0
.byte N01 , Dn5 , v127
.byte W01
.byte Gn4
.byte W01
.byte N09 , En5
.byte W02
.byte PAN , c_v+6
.byte W02
.byte VOL , 92*se_m_flatter_mvl/mxv
.byte PAN , c_v-8
.byte W01
.byte VOL , 83*se_m_flatter_mvl/mxv
.byte PAN , c_v+6
.byte W01
.byte VOL , 71*se_m_flatter_mvl/mxv
.byte PAN , c_v-8
.byte BEND , c_v-4
.byte W01
.byte VOL , 46*se_m_flatter_mvl/mxv
.byte PAN , c_v+11
.byte BEND , c_v-8
.byte W01
.byte VOL , 22*se_m_flatter_mvl/mxv
.byte PAN , c_v-12
.byte BEND , c_v-15
.byte W02
.byte FINE
@******************************************************@
.align 2
se_m_flatter:
.byte 1 @ NumTrks
.byte 0 @ NumBlks
.byte se_m_flatter_pri @ Priority
.byte se_m_flatter_rev @ Reverb.
.word se_m_flatter_grp
.word se_m_flatter_1
.end