FM Synthesis Format and Commands
B-7
FM Synthesis
B.2.10 Command Summary
Table B–1 summarizes the several valid commands.
Table B–1. Command Summary
Command and Format
Description
Music Notes:
Note: Is the music note that can range form C0 to C6
Format:
Note,TimeValue,Duration,Velocity
TimeValue: Total length of the note. n4 is 1/4 note.
Example:
C1, n4, n4, 127
Duration: Length of tone generate
Velocity: Note volume from 0 to 127
Tempo control the speed of music:
TEMPO: Tempo command. Set the song tempo in
channel 1 ONLY.
Format: TEMPO,BPM,TimeSig,EnvelopeLen
BPM: Beats per minutes.
Example: TEMPO,BPM116,TS44,ENVOK
TimeSig: Beats per measure. TS44 sets the time
signature to 4/4 time.
EnvelopLen: Envelop time. ENVOK sets the envelope
length to normal.
Tempo control for channel 2:
Format: TEMPOSYNC
Example:
TEMPOSYNC
TEMPOSYNC: Use in channel 2 only. It must be
placed at the same bar # as the channel 1 TEMPO
command. This is to ensure that the Tempo change is
synchronous, with both channels changing at the
same time.
Load Timbre into each channel:
Format: LOADTIMBRE,XX,XX.........,XX
Example: LOADTIMBRE, 21 bytes Parameters
LOADTIMBRE: Load new timbre (instrument) parame-
ters.
Parameters: Contains 21 bytes that define a musical
instrument.
Transpose:
Format: ATRNS, NUM
Example:
ATRNS,–12
(–12 = Transpose Down an Octave)
ATRANS: Transpose command.
NUM: Set the channel’s transpose to a signed offset.
Transpose:
Format: RTRNS,NUM
Example:
RTRNS,7
(Add 7 Semitones to the channel’s transpose off-
set)
RTRNS: Transpose command.
NUM: Add a signed offset to the channel’s transpose
value.
Summary of Contents for MSP53C391
Page 4: ...iv ...
Page 62: ...C 1 Appendix A Listing of FMequM2 inc Topic Page C 1 Listing of FMequM2 inc C 2 Appendix C ...
Page 78: ...E 1 Appendix A Listing of FM2INTR1 inc Topic Page E 1 Listing of FM2INTR1 inc E 2 Appendix E ...
Page 99: ...MSP53C31 and MSP53C32 Data Sheet F 2 F 1 MSP53C31 and MSP53C32 Data Sheet ...