From MultimediaWiki
Revision as of 18:55, 14 July 2010 by Multimedia Mike (talk | contribs) (fill in the unknown details)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

RSO is a sound file format used in conjunction with Lego Mindstorms construction sets.

File Format

All multi-byte numbers are big endian. An RSO file begins with the following 8-byte header:

 bytes 0-1    Codec ID
 bytes 2-3    File length, not including this 8-byte header
 bytes 4-5    Audio sample rate
 bytes 6-7    Looping flag

The following codec ID values are valid:

  • 0x0100 = unsigned 8-bit PCM
  • 0x0101 = IMA ADPCM

The payload of the file follows immediately after the header.