SAM: Difference between revisions

From MZXWiki
Jump to navigation Jump to search
(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...)
(No difference)

Revision as of 23:01, 14 January 2008

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.