Data Preparation of FM Synthesis
B-12
B.4 Data Preparation of FM Synthesis
According to the discussion on FM data format and structure, a song can be
coded following the predefined command and formats. Alternatively, software
utilities are available for converting a song from MIDI (musical instrument digi-
tal interface) formatted files to a format accepted by MSP53C391 AND
MSP53C392. There are two utilities, MD2FM.exe and FM2MERGE.exe, for
the conversion. The process for the conversion is shown in Figure B–1:
Figure B–1. FM Conversion Process
MIDI Song (
songt1.mid
)
Channel 1 FM Data (
songt1_1.inc
)
Channel 2 FM Data (
songt1_2.inc
)
Combined FM Data (
songt1.inc
)
md2fm songt1 songt1_1 –c1 –t2
md2fm songt1 songt1_2 –c1 –t1
fm2merge songt1_1.inc songt1_2.inc songt1.inc
Binary File
asmx songd1.inc
By using the MD2FM, the channel 1 and channel 2 data of a MIDI file (.mid)
can be extracted and converted to FM format (.inc). Then, the two FM files
need to be combined according to the duration of each note in channel 1 and
2 by the utility FM2MERGE. The combined file can then be sent to the master
device and passed on to the slave for FM synthesis.
Once MD2FM has been used to merge the files, the merged file can be con-
verted to a binary file using the ASMX or ASM10 assembly program.
Содержание MSP53C391
Страница 1: ...MSP53C391 and MSP53C392 Speech Synthesizers User s Guide May 2000 SPSU016A Printed on Recycled Paper ...
Страница 4: ...iv ...
Страница 62: ...C 1 Appendix A Listing of FMequM2 inc Topic Page C 1 Listing of FMequM2 inc C 2 Appendix C ...
Страница 78: ...E 1 Appendix A Listing of FM2INTR1 inc Topic Page E 1 Listing of FM2INTR1 inc E 2 Appendix E ...
Страница 98: ...F 1 Appendix A MSP53C391 and MSP53C392 Data Sheet Topic Page F 1 MSP53C391 MSP53C392 F 2 Appendix F ...
Страница 99: ...MSP53C31 and MSP53C32 Data Sheet F 2 F 1 MSP53C31 and MSP53C32 Data Sheet ...