diff options
Diffstat (limited to 'macros')
-rwxr-xr-x | macros/sound.asm | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/macros/sound.asm b/macros/sound.asm index 2f88716..35ba240 100755 --- a/macros/sound.asm +++ b/macros/sound.asm @@ -237,3 +237,20 @@ callchannel: macro endchannel: macro db $ff endm + +;format: pitch length (in 16ths) +; volume +; pitch (% of the octave. e.g. $80 would be halfway between octaves) +; octave +soundeffect_note: MACRO + db \1 + db \2 + db \3 + db \4 +ENDM + +soundeffect_percussion: MACRO + db \1 + db \2 + db \3 +ENDM |