Important: Inside Macintosh: Sound is deprecated as of Mac OS X v10.5. For new audio development in Mac OS X, use Core Audio. See the Audio page in the ADC Reference Library.
Playing Sounds
You can use theSysBeepprocedure to play the system alert sound, theSndPlayfunction to play the sound stored in any'snd 'resource, and theSndStartFilePlayfunction to play a sound file.
Subtopics
- SysBeep
- SndPlay
- SndStartFilePlay