On Mon, Oct 15, 2001 at 10:41:18PM +0930, Alexander R Angas wrote:
> I've been trying to work out what the bytes are before song position 33. I
> thought they might be the MTrk or MThd headers but they aren't.

(I don't heve the exact stuff now, so bear me out)

0) Standard SCI resource header
1) track polyphony
2) play code (ie what channels a device should play)
3) ?? (can't remember)

SCI's MIDI resources are similar to the MIDI level 0 file format --
there's just one track.  If you want to know the exact format of SCI
resources, look at the init_song in soundserver.c, and the dump_midi_0
in sci_dump.c.
 
> Secondly, I've written a little procedure to dump out a song's data but I'm not
> sure if it's correct. Attached is an example. You'll notice that some of the
> midi commands aren't in the 0x80 to 0xFF range, so what are they?

Dare I ask why you're reinventing the wheel?  We already have code to
create MIDI0 files from SCI0 sound resources.

SCI uses a few non-standard MIDI CCs, but that's about it -- Some of
these may be in SysEx messages, and anything goes there..  

Anyhow.  I can answer more questions, but I'll need the source in front
of me.  Perhaps later today on IRC..

 - Pizza
-- 
Solomon Peachy                                    pizzaATfucktheusers.org
I ain't broke, but I'm badly bent.                           ICQ# 1318344
Patience comes to those who wait.
    ...It's not "Beanbag Love", it's a "Transanimate Relationship"...

-- Attached file included as plaintext by Listar --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7yuPcysXuytMhc5ERAkz+AJ9K2/XMs91hx4dBKRnj3fPXzcjyqwCdEUj9
GQhGTc2bE4qbzVx25Ol098o=
=2B/J
-----END PGP SIGNATURE-----



Reply via email to