RSO

From MultimediaWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.