AMOSi:Sam Play
Revision as of 02:45, 17 November 2007 by Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile)
an example can be found on AMOSPro_Examples:Examples/H-7/Help_74.AMOS
PLAYs the numbered sound SAMple through your loudspeaker.
Sam Play sample_number
You can also extend this command like so:
Sam Play voice_bitmap,sample_number
Each voice to be played is selected by setting its bit in the map to 1
Sam Play voice_bitmap,sample_number,frequency
frequency sets the playback speed in samples per second. Sensible values range from 4000 for noises to 10000 for speech and music.