home *** CD-ROM | disk | FTP | other *** search
- .key num,rest
- ; Plays 'num' random sounds, selected from my sys:DirDBs/sound.db database
- ; Usage:
- ; If 'num' is not specified, plays 1 sound
- ; Specify -1 to keep playing
- ; Specify a value for 'num', followed by "unique" to play different random sounds
- .bra {
- .ket }
- ; Uncomment the following line if your speakers, like mine,
- ; switch off after a period of time. Also substitute an apropriate
- ; sample name.
- ;rx "ADDRESS play 'file' 'sound:Bass_snap' '-S'"
- ;Make sure DBEntry is in your path, or change to show full path
- ;Make sure your db/Path variable includes where to find "sound.db"
-
- DBEntry Sound.db execute pre="rx *"address play 'file' '" post="' '-S'*"" {num} random unique {rest}
-