Data Preparation of FM Synthesis
B-14
Modify from:
BYTE
TEMPO,BPM150,TS44,ENVOK
to:
BYTE
TEMPOSYNC
on the channel 2 file.
4) For music with only one channel, a data stream with the following state-
ment,
BYTE
StopSong
can be used for the channel 2 and the single channel music can be placed on
channel 1 for the synthesizing.
B.4.2 FM2MERGE Software
FM2MERGE is a routine run on the DOS environment. The function of the pro-
gram is to merge two FM data stream into one data file for the MSP53C391
and MSP53C392 slave synthesis. The two data streams are combined ac-
cording to the accumulative duration of the notes on channel 1 and 2. Please
refer to the section B.2 for more information on the data structure of FM slave
synthesis. The following is the syntax of the fm2merge:
fm2merge [input file1] [input file2] [output file]
input1 : channel 1 data file (songt1_1.inc)
input2 : channel 2 data file (songt1_2.inc)
output : output file (songt1.inc)
Assuming that there are two files, songt1_1.inc and songt1_2.inc, which is the
song data for channel 1 and channel 2 in FM format. The combined file can
be generated with the following command line:
fm2merge songt1_1.inc songt1_2.inc songt1.inc
The file songt1.inc can then be used for the slave FM synthesis.
The following points should be noted when using the FM2MERGE:
1) The instruments of FM II may not be compatible with the instruments se-
lected in the MIDI file. It is also due to capability of downloading instru-
ments in the slave device, it is necessary to replace the instrument define
statement after the merge process from:
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 ...