SAM

From MZXWiki
Revision as of 23:01, 14 January 2008 by Wildweasel (talk | contribs) (New page: SAM, short for '''sam'''ple, is the file format generally used for MegaZeux sound effects before the SDL port's release. ===Anatomy of a SAM=== The SAM format us...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SAM, short for sample, is the file format generally used for MegaZeux sound effects before the SDL port's release.

Anatomy of a SAM

The SAM format used for MegaZeux is actually nothing more than raw waveform data, saved in 8-bit signed format, with only one channel (monoaural). The files have no header data, and thus do not store any information on what frequency the sound is played at. The frequency the sound is played at is decided by MegaZeux via the Robotic commands play or sam.

The SAM format has since been abandoned since the SDL port.