Data Preparation of FM Synthesis
B-13
FM Synthesis
B.4.1 MD2FM Software
MD2FM converts a MIDI format file to a FM data accepted by MSP50C391/2.
With this routine, users can compose or translate music base on the MIDI for-
mat. This routine runs under the DOS environment and the syntax is as fol-
lows:
md2fm songt1 songt1_1 –c1 –t1
input : songt1.mid (MIDI format)
output : songt1_1.inc (FM format)
–c1 : channel #1 to be decoded
†
–t1 : track #1 to be decoded
†
† Specify the number of tracks and channels to be extracted and converted. Only one channel
within one track can be converted on the MIDI file at any one time.
Assuming that the songt1.mid contains two tracks and each has one channel
music data, the FM data can be extracted as follows:
md2fm songt1 songt1_1 –c1 –t1
and
md2fm songt1 songt1_2 –c1 –t2
The output file songt1_1.inc is the track 1 data and the songt1_2.inc is the track
2 data in FM format.
Since MD2FM does not support all the features of MIDI, the following must be
noted:
1) Due to the limitation of conversion program, the TIMEBASE of the .mid file
must be 48 and there must not be any TEMPO/METER changes after the
initial settings. Also, it does not recognize channel pressure, control.
2) This routine creates a .inc file for a single channel of a single track only
from a simple .mid file. To use this polyphonically, separate the MIDI file’s
chords into separate channels/tracks and run the md2fm program once
per each channel/track to generate individual .inc files. Thus, it will need
to separate the two overlapping notes into different channels/tracks and
generate two .inc files by the converter. Then, a maximum of two tones can
be generated simultaneously.
3) Since two files are generated for a song with two channels/tracks. The
TEMPO command exists on each file, which is not valid for channel 2. The
TEMPO command, which defines the tempo of the song, only applies to
channel 1 and the TEMPOSYNC command should be used on channel
2. Thus, the TEMPO command must be modified to TEMPOSYNC for the
file intended for channel 2.
Содержание 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 ...