home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1999 May / pcp151c.iso / misc / src / install / modutils / kerneld / GOODIES / do_sound < prev    next >
Encoding:
Text File  |  1998-01-06  |  434 b   |  14 lines

  1. #!/bin/sh
  2. # If you allow the echo to execute, you might be able to easier distinguish
  3. # between different apps, especially if you are running X
  4. #echo $* >> /tmp/sndlog
  5.  
  6. # This works for me when running X: xbiff differed from the others...
  7. if [ $3 = "13" ]
  8. then
  9.     cat /usr/lib/sounds/tada.au > /dev/audio
  10. else
  11.     cat /usr/lib/sounds/ding.au > /dev/audio
  12. fi
  13. # Hint: I swiped some .wav from W****** and used sox to create *.au from them...
  14.