diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/engine.asm | 4 | ||||
-rw-r--r-- | audio/wave_samples.asm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/audio/engine.asm b/audio/engine.asm index 21a472fec..0bd7706a5 100644 --- a/audio/engine.asm +++ b/audio/engine.asm @@ -1320,7 +1320,7 @@ GetNoiseSample: ; e86c5 ; load ptr to sample header in wNoiseSampleAddress ; are we on the last channel? ld a, [wCurChannel] - and NUM_MUSIC_CHANS +- 1 + and NUM_MUSIC_CHANS + -1 cp CHAN4 ; ret if not ret nz @@ -2102,7 +2102,7 @@ Music_Volume: ; e89d2 ; e89e1 Music_TempoRelative: ; e89e1 -; set global tempo to current channel tempo +- param +; set global tempo to current channel tempo +/- param ; params: 1 signed call GetMusicByte ld e, a diff --git a/audio/wave_samples.asm b/audio/wave_samples.asm index d48259888..493cce679 100644 --- a/audio/wave_samples.asm +++ b/audio/wave_samples.asm @@ -1,6 +1,6 @@ WaveSamples: ; e8db2 - ; these are streams of 32 4-bit values used as wavepatterns - ; nothing interesting here! + ; These are streams of 32 nybbles (4-bit values) used as wave patterns. + ; Plot them as a line chart to see the wave's shape. dn 0, 2, 4, 6, 8, 10, 12, 14, 15, 15, 15, 14, 14, 13, 13, 12, 12, 11, 10, 9, 8, 7, 6, 5, 4, 4, 3, 3, 2, 2, 1, 1 dn 0, 2, 4, 6, 8, 10, 12, 14, 14, 15, 15, 15, 15, 14, 14, 14, 13, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 2, 1, 1 dn 1, 3, 6, 9, 11, 13, 14, 14, 14, 14, 15, 15, 15, 15, 14, 13, 13, 14, 15, 15, 15, 15, 14, 14, 14, 14, 13, 11, 9, 6, 3, 1 |