Download sound-at-random-c.hqx (84,336 KB)
Date: Wed, 3 Nov 93 11:42:50 -0600
From: oleg@ponder.csci.unt.edu (Kiselyov Oleg)
Subject: sound-at-random.cpt - (source & bin) pick a sound at random and yell it
What: pick a sound at random and play it
Language: Symantec C++ 6.0
Note: Good (I hope) example of treating File and Drive managers as C++ objects
Note: Good as a startup program.
Note: needs standard environment, see myenv-notify.cpt
Note: sounds themselves are _not_ included, get your own
System: System 7.x, 32-bit clean
Contents:
RandomSound.cc - source code (commented)
vRandomSound.cc - verification program
RandomSound.pi - Symantec C++ project
RandomSound - application itself. 32-bit clean, System 7
Comments to: oleg@ponder.csci.unt.edu, oleg@unt.edu
Explanation:
This is a whimsy set of functions that lets one play a sound
picked at random from the sound folder. The sound folder is
assumed to be a folder named "Sounds" in the System folder.
[Note, reading STR resource mentioned in the comments is not implemented yet]
------------------------------------------------------------------------