SOUND
Updated: Nov 24, 2007

BEEP

  Beeps PC speaker.  No arguments.

PLAYWAV string, mode

  where string is sound file pathname or resource descriptor and mode is an
  integer, which may be an OR of one or more of these values:

  $DEFINE SND_SYNC      0
  $DEFINE SND_ASYNC     1
  $DEFINE SND_NODEFAULT 2
  $DEFINE SND_LOOP      8

  $RESOURCE ta_dah as "c:\windows\media\tada.wav"
  PLAYWAV "ta_dah",1

SOUND freqency, duration

  Frequency and duration are integer values; duration in milliseconds;
  uses PC speaker.

  SOUND 900,200


Copyright 2003-2005 James J Keene PhD
Original Publication: Oct 8, 2003
