Difference between revisions of "AMOSi:Sam Play"

From Amiga Coding
Jump to: navigation, search
m (1 revision(s))
 
m (1 revision(s))
 
(No difference)

Latest revision as of 01:51, 17 November 2007

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.