Page 1 of 1

sound-at-random.cpt - (source & bin) pick a sound at random and yell it

Posted: November 4th, 1993, 11:00 am
by Info-Mac
Download: http://archive.info-mac.org/dev/src/sou ... ndom-c.hqx

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: [email protected], [email protected]

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]

------------------------------------------------------------------------