pokecrystal-board/constants/audio_constants.asm

64 lines
917 B
NASM
Raw Normal View History

2015-12-07 15:33:04 -08: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_
const CC ; used for pitchoffset
2015-12-07 15:33:04 -08: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 11:33:24 -07:00
SOUND_PITCH_WHEEL EQU 1
2015-12-07 15:33:04 -08: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 11:33:24 -07:00
SOUND_PITCH_WHEEL_DIR EQU 1
2015-12-07 15:33:04 -08:00
; NoteFlags
NOTE_DUTY_OVERRIDE EQU 0
NOTE_FREQ_OVERRIDE EQU 1
2015-12-07 15:33:04 -08:00
NOTE_UNKN_3 EQU 3
NOTE_NOISE_SAMPLING EQU 4
2015-12-07 15:33:04 -08:00
NOTE_REST EQU 5
NOTE_VIBRATO_OVERRIDE EQU 6