2015-12-07 23:33:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
; pitch
|
|
|
|
const_def
|
|
|
|
const __
|
|
|
|
const C_
|
|
|
|
const C#
|
|
|
|
const D_
|
|
|
|
const D#
|
|
|
|
const E_
|
|
|
|
const F_
|
|
|
|
const F#
|
|
|
|
const G_
|
|
|
|
const G#
|
|
|
|
const A_
|
|
|
|
const A#
|
|
|
|
const B_
|
2016-07-29 14:40:54 +00:00
|
|
|
const CC ; used for pitchoffset
|
2015-12-07 23:33:04 +00:00
|
|
|
|
|
|
|
; channel
|
|
|
|
const_def
|
|
|
|
const CHAN1
|
|
|
|
const CHAN2
|
|
|
|
const CHAN3
|
|
|
|
const CHAN4
|
|
|
|
NUM_MUSIC_CHANS EQU const_value
|
|
|
|
NUM_NOISE_CHANS EQU const_value
|
|
|
|
const CHAN5
|
|
|
|
const CHAN6
|
|
|
|
const CHAN7
|
|
|
|
const CHAN8
|
|
|
|
NUM_CHANNELS EQU const_value
|
|
|
|
|
|
|
|
; Flags1
|
|
|
|
SOUND_CHANNEL_ON EQU 0
|
|
|
|
SOUND_SUBROUTINE EQU 1
|
|
|
|
SOUND_LOOPING EQU 2
|
|
|
|
SOUND_SFX EQU 3
|
|
|
|
SOUND_NOISE EQU 4
|
|
|
|
SOUND_REST EQU 5
|
|
|
|
|
|
|
|
; Flags2
|
|
|
|
|
|
|
|
SOUND_VIBRATO EQU 0
|
2016-05-10 18:33:24 +00:00
|
|
|
SOUND_PITCH_WHEEL EQU 1
|
2015-12-07 23:33:04 +00:00
|
|
|
SOUND_DUTY EQU 2
|
|
|
|
SOUND_UNKN_0B EQU 3
|
|
|
|
SOUND_CRY_PITCH EQU 4
|
|
|
|
SOUND_UNKN_0D EQU 5
|
|
|
|
SOUND_UNKN_0E EQU 6
|
|
|
|
SOUND_UNKN_0F EQU 7
|
|
|
|
|
|
|
|
; Flags3
|
|
|
|
SOUND_VIBRATO_DIR EQU 0
|
2016-05-10 18:33:24 +00:00
|
|
|
SOUND_PITCH_WHEEL_DIR EQU 1
|
2015-12-07 23:33:04 +00:00
|
|
|
|
|
|
|
; NoteFlags
|
2016-09-27 13:37:10 +00:00
|
|
|
NOTE_DUTY_OVERRIDE EQU 0
|
|
|
|
NOTE_FREQ_OVERRIDE EQU 1
|
2015-12-07 23:33:04 +00:00
|
|
|
NOTE_UNKN_3 EQU 3
|
2016-09-27 13:37:10 +00:00
|
|
|
NOTE_NOISE_SAMPLING EQU 4
|
2015-12-07 23:33:04 +00:00
|
|
|
NOTE_REST EQU 5
|
2016-09-27 13:37:10 +00:00
|
|
|
NOTE_VIBRATO_OVERRIDE EQU 6
|