MacTrove  — Classic Macintosh Archive
 
 Home Software Hardware Docs Magazines Forums Search
Search:   Software, forums, magazines & more

Sound At Random C

File sound-at-random-c.hqx
Size 82.4 KB
Category Development
Mac OS System 7
↓ Download sound-at-random-c.hqx

Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute corrections, and join the community chat.

About

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]

MacTrove — Classic Macintosh Archive — Full site | Software | Search
Classic version — compatible with older browsers.