Data Preparation of FM Synthesis
B-7
FM Synthesis
Since MD2FM does not support all the features of MIDI, the following must be
noted:
1) Due to the limitations of the 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, the conversion program does not recognise
channel pressure control.
2) This routine creates a .inc file for a single channel of a single track only
from a simple .mid file.
3) Since the instruments supported by TI FM synthesis are different from the
MIDI editors, users must select the instruments for channel 1 and 2
according to the instrument list. Refer to section B–4 for a complete list of
available instruments. A portion of the list is shown below.
*
Lookup values for instrument sound tables:
PatchFLT1
equ
128+0 ;FM flute tone 1
PatchBRS1
equ
128+1 ;FM brass tone 1, medium slow
;attack
PatchBRS2
equ
128+2 ;FM brass tone 2, fast attack
PatchBRS3
equ
128+3 ;FM brass tone 3, slow attack
PatchTRM1
equ
128+4 ;FM brass tone trombone 1, slow
;attack
PatchTRM2
equ
128+5 ;FM brass tone trombone 2, med
;slow attack
PatchCLR1
equ
128+6 ;FM clarinet tone 1
PatchCLR2
equ
128+7 ;FM clarinet tone 2, brighter
;than CLR1
PatchMT1a
equ
128+8 ;FM metallic tone 1a
...
...
For example, the line defining the instruments should be found both in channel
1 and channel 2 data as follows:
...
BYTE
PatchMT6i
;AcouGrandPiano
...
If PIANO1 is selected for channel 1, the line must be replaced by the following
line, which can be found on section B–4.
At channel 1 data,
...
BYTE
PatchPNO1
...
B.3.2 Procedure for Converting MIDI to MSP53C691 FM
The following conversion method involves the use of asmx.exe, which is a
compiler for MSP50C3x. Note that is only used as a tool for converting all the
symbols to actual data.
1) Extract the channel data form the MIDI file using the MIDI2FM.EXE DOS
executable.
2) The new file created by the MIDI2FM executable puts a default PATCHxxx
for the instrument of the MIDI file. This default patch can be replaced by
Содержание MSP53C691
Страница 1: ...MSP53C691 Speech Synthesizer December 2000 MSDS Speech User s Guide SPSU020 ...
Страница 22: ...2 10 ...
Страница 96: ...C 6 ...