Nintendo 1504166 Programming Manual - Page 89
SOUND1CNT_H [d10 - 08] Number of Envelope Steps, SOUND1CNT_H [d07 - 06] Waveform Duty Cycle
View all Nintendo 1504166 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 89 highlights
AGB Programming Manual Sound SOUND1CNT_H [d10 - 08] Number of Envelope Steps Sets the length of each step of envelope amplification or attenuation. With n the specified value, the length of 1 step (steptime) is determined by the following formula. steptime = n × 1 (sec) 64 When n = 0, the envelope function is turned off. SOUND1CNT_H [d07 - 06] Waveform Duty Cycle Specifies the proportion of amplitude peaks for the waveform. Setting 00 01 10 11 Duty Cycle 12.5% 25.0% 50.0% 75.0% Waveform SOUND1CNT_H [d05 - 00] Sound Length With st signifying the sound length, the length of the output sound is determined by the following formula. time = (64 − st ) × 1 (sec) 256 ©1999 - 2001 Nintendo of America Inc. 89 D.C.N. AGB-06-0001-002B4
AGB Programming Manual
Sound
©1999 - 2001 Nintendo of America Inc.
89
D.C.N. AGB-06-0001-002B4
SOUND1CNT_H [d10 - 08] Number of Envelope Steps
Sets the length of each step of envelope amplification or attenuation.
With n the specified value, the length of 1 step (steptime) is determined by
the following formula.
steptime
n
=
×
1
64
(sec)
When n = 0, the envelope function is turned off.
SOUND1CNT_H [d07 - 06] Waveform Duty Cycle
Specifies the proportion of amplitude peaks for the waveform.
00
Setting
Duty Cycle
Waveform
01
10
11
12.5%
25.0%
50.0%
75.0%
SOUND1CNT_H [d05 - 00] Sound Length
With st signifying the sound length, the length of the output sound is
determined by the following formula.
time
st
=
-
×
(
)
(sec)
64
1
256