Hi,

> > But then I hit a brick wall, hard.  I don't know how KQ1's pcm samples
> > are stored, and QFG2/etc uses SCI1 sound resources.

1A 00 01 00 00 ?? ?? ?? ?? ?? ?? ?? ?? ?? <sample rate (16-bit word)> FF
00 FF 2C 00 00 00 00 00 00 00 00 00 00 00 <sample length (16-bit word)> 00
00 00 00 00 00 00 00 00 00 <unsigned 8-bit sample data>

This was sent to the list (or to me in PM, or maybe both) by Rickard (who,
for those not in IRC ATM, pointed this out to me) almost two years ago.
The bytes with the question marks might be meaningless here.
The only problem is that you'll have to step through the entire MIDI track
until you reach this header.
Actually, I think it should be possible to scan for 0xfc, the header
should follow (if we start at 33)- IIRC MIDI data only has the MSB set for
commands, not parameters (and delta times in Sierra's format don't use
0xfc).

llap,
 Christoph


Reply via email to