FM Synthesis Format and Data Preparation
B-4
B.2.5 Adjust Output Volume
The FADER command is used to scale the volume of the notes played.
BYTE
FADER, InitialFaderValue,FaderInc
Where:
FADER is the signal whose output volume is to be adjusted by the com-
mand.
InitialFaderValue is the new sound volume.
FaderInc allows a gradual transition to the new volume. It is a signed two-
byte value that specifies the incremental amount of volume change during
each interval.
For example:
BYTE
FADER,f100p
;Set volume to 100
DATA
NOFADER
;Change is abrupt
B.2.6 Modulation Index Adjustment
It is frequently desirable to incrementally change the texture of the sound
quality in the song. This can be done by changing the modulation index to get
a more or less brighter tonal quality. This can be done by using the following
commands:
BYTE
MIX1
; Set the modulation index scale to 1
BYTE
MIX2
; Set the modulation index scale to 2
BYTE
MIX3
; Set the modulation index scale to 3
BYTE
MIX4
; Set the modulation index scale to 4
BYTE
MIX5
; Set the modulation index scale to 5
BYTE
MIX6
; Set the modulation index scale to 6
BYTE
MIX7
; Set the modulation index scale to 7
BYTE
MIX8
; Set the modulation index scale to 8
BYTE
MIXUP
; Increment the modulation index scale
BYTE
MIXDN
; Decrement the modulation index scale
B.2.7 End of Song
STOPSONG is used to signal the end of the song.
BYTE
STOPSONG
;Signal the end of song
Содержание MSP53C691
Страница 1: ...MSP53C691 Speech Synthesizer December 2000 MSDS Speech User s Guide SPSU020 ...
Страница 22: ...2 10 ...
Страница 96: ...C 6 ...