CompuServe Thread

play random soundsample?

6 messages in this thread
#202From: Paul WrightSep 9, 1990 5:23 PM
I enjoy having my Amiga play a soundsample to signal the end of its bootup sequence (at present, Robin Williams screaming Gooooood Morning, Vietnam). But variety is the spice of life. Does anyone know of a simple way to have it choose a random file to play (out of a list or out of a directory). —–Paul—–
#222From: Martin MurraySep 9, 1990 11:42 PM
If youhave CanDo, you could make a small Deck that reads the sounds directory into a document, chose a random line, and then play that file. If you want, I'll write one for you that you can use with DeckBrowser, if you don't have CanDo.
#426From: Paul WrightSep 14, 1990 10:33 PM
Thanks for the offer. As you suspected, I don't have CanDo (nor REXX, which another message suggested). If you are willing to generate such a deck, I am sure many would be interested. Then I'll have to look for DeckBrowser (here I assume). Thanks to all for the suggestions. —–Paul—–
#235From: Ethan SolomitaSep 10, 1990 9:56 AM
Try writing an ARexx script using a random number generator. — Ethan
#245From: Ray LewisSep 10, 1990 7:56 PM
Well, I don't know about random, but if you had say five files you wnated to run on a rotating basis, you could have a set of maybe six script files that: sound file.1 copy file.6 file.1 etc. so that they leapfrogged, and file.1 was always a different file next time. ?|^] Ray Lewis
#332From: Vic WagnerSep 12, 1990 4:09 PM
Ray, The rename command would be substantially quicker than copying. Victor A. Wagner, Jr.