Post by Fabio on Sept 3, 2007 10:13:48 GMT -5
I have configured timidity with the fluid3 soundbank as follow :
timidity.cfg
=======================
dir c:\timidity\sf2 # to *.sf2
dir c:\timidity\cfg # to *.cfg
progbase 0
source fluid3.cfg
i have two midi file, the first wich name is flyme.mid shows the GS flag when loaded in timidity that recognize bank to be used as drums, so it plays only drum sounds.
The second midi file which name is slavo.mid shows the XG flag when loaded and play correctly.
I didn't figure out the reason for this strange behaviour but i made a little experiment. i disassembled the two midi file. The first flyme.mid show at the beginning this istructions.
MThd | Format=0 | # of Tracks=1 | Division=96
Track #0 ******************************************
Time Event
1: 1: 0 |Time Sig | 4/4 | MIDI-clocks\click=24 | 32nds\quarter=8
|Tempo | BPM=120 | micros\quarter=500000
91 |Sysex | len=11 |
0xF0 0x41 0x10 0x42 0x12 0x40 0x00 0x7F 0x00 0x41 0xF7
92 |Sysex | len=28 |
0xF0 0x41 0x10 0x45 0x12 0x10 0x00 0x00 0x46 0x6C 0x79 0x20 0x4D
0x65 0x20 0x54 0x6F 0x20 0x54 0x68 0x65 0x20 0x4D 0x6F 0x6F 0x6E
0x16 0xF7
2: 11 |Controller | chan= 4 | contr=BankSw H | value= 0
|Controller | chan= 4 | contr=BankSw L | value= 0
|Controller | chan= 4 | contr=ContlOff | value= 0[/color]
while the second file slavo.mid report this istructions.
MThd | Format=0 | # of Tracks=1 | Division=480
Track #0 ******************************************
Time Event
1: 1: 0 |Sysex | len=6 |
0xF0 0x7E 0x7F 0x09 0x01 0xF7
|Copyright | len=27 |
0x28 0x50 0x29 0x20 0x32 0x30 0x30 0x36 0x20 0x59 0x61 <(P) 2006 Ya>
0x6D 0x61 0x68 0x61 0x20 0x43 0x6F 0x72 0x70 0x6F 0x72 <maha Corpor>
0x61 0x74 0x69 0x6F 0x6E <ation>
|Key Sig | G Minor |
|Time Sig | 3/4 | MIDI-clocks\click=24 | 32nds\quarter=8
|Tempo | BPM=105 | micros\quarter=567483
|Track Name | len=23 |
0x53 0x6C 0x61 0x76 0x6F 0x6E 0x69 0x63 0x20 0x44 0x61 <Slavonic Da>
0x6E 0x63 0x65 0x73 0x20 0x6F 0x70 0x2E 0x37 0x32 0x2D <nces op.72->
0x32 <2>
2: 0 |Sysex | len=9 |
0xF0 0x43 0x10 0x4C 0x00 0x00 0x7E 0x00 0xF7
10 |Sysex | len=10 |
0xF0 0x43 0x10 0x4C 0x02 0x01 0x00 0x01 0x11 0xF7
40 |Sysex | len=8 |
0xF0 0x7F 0x7F 0x04 0x01 0x00 0x70 0xF7
50 |Controller | chan=15 | contr=BankSw H | value= 0
|Controller | chan=14 | contr=BankSw H | value= 0
if i substitute the sysex istructions in flyme.mid with the ones belonging to slavo.mid the flyme.mid file is recognised as XG and play correct.
What to do to allow any GS file to play correct in timiditi without any "trick" ??
Tnx in advance.
Fabio.
timidity.cfg
=======================
dir c:\timidity\sf2 # to *.sf2
dir c:\timidity\cfg # to *.cfg
progbase 0
source fluid3.cfg
i have two midi file, the first wich name is flyme.mid shows the GS flag when loaded in timidity that recognize bank to be used as drums, so it plays only drum sounds.
The second midi file which name is slavo.mid shows the XG flag when loaded and play correctly.
I didn't figure out the reason for this strange behaviour but i made a little experiment. i disassembled the two midi file. The first flyme.mid show at the beginning this istructions.
MThd | Format=0 | # of Tracks=1 | Division=96
Track #0 ******************************************
Time Event
1: 1: 0 |Time Sig | 4/4 | MIDI-clocks\click=24 | 32nds\quarter=8
|Tempo | BPM=120 | micros\quarter=500000
91 |Sysex | len=11 |
0xF0 0x41 0x10 0x42 0x12 0x40 0x00 0x7F 0x00 0x41 0xF7
92 |Sysex | len=28 |
0xF0 0x41 0x10 0x45 0x12 0x10 0x00 0x00 0x46 0x6C 0x79 0x20 0x4D
0x65 0x20 0x54 0x6F 0x20 0x54 0x68 0x65 0x20 0x4D 0x6F 0x6F 0x6E
0x16 0xF7
2: 11 |Controller | chan= 4 | contr=BankSw H | value= 0
|Controller | chan= 4 | contr=BankSw L | value= 0
|Controller | chan= 4 | contr=ContlOff | value= 0[/color]
while the second file slavo.mid report this istructions.
MThd | Format=0 | # of Tracks=1 | Division=480
Track #0 ******************************************
Time Event
1: 1: 0 |Sysex | len=6 |
0xF0 0x7E 0x7F 0x09 0x01 0xF7
|Copyright | len=27 |
0x28 0x50 0x29 0x20 0x32 0x30 0x30 0x36 0x20 0x59 0x61 <(P) 2006 Ya>
0x6D 0x61 0x68 0x61 0x20 0x43 0x6F 0x72 0x70 0x6F 0x72 <maha Corpor>
0x61 0x74 0x69 0x6F 0x6E <ation>
|Key Sig | G Minor |
|Time Sig | 3/4 | MIDI-clocks\click=24 | 32nds\quarter=8
|Tempo | BPM=105 | micros\quarter=567483
|Track Name | len=23 |
0x53 0x6C 0x61 0x76 0x6F 0x6E 0x69 0x63 0x20 0x44 0x61 <Slavonic Da>
0x6E 0x63 0x65 0x73 0x20 0x6F 0x70 0x2E 0x37 0x32 0x2D <nces op.72->
0x32 <2>
2: 0 |Sysex | len=9 |
0xF0 0x43 0x10 0x4C 0x00 0x00 0x7E 0x00 0xF7
10 |Sysex | len=10 |
0xF0 0x43 0x10 0x4C 0x02 0x01 0x00 0x01 0x11 0xF7
40 |Sysex | len=8 |
0xF0 0x7F 0x7F 0x04 0x01 0x00 0x70 0xF7
50 |Controller | chan=15 | contr=BankSw H | value= 0
|Controller | chan=14 | contr=BankSw H | value= 0
if i substitute the sysex istructions in flyme.mid with the ones belonging to slavo.mid the flyme.mid file is recognised as XG and play correct.
What to do to allow any GS file to play correct in timiditi without any "trick" ??
Tnx in advance.
Fabio.