play random soundsample?
6 messages in this thread
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—–
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.
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—–
Try writing an ARexx script using a random number generator.
— Ethan
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
Ray,
The rename command would be substantially quicker than copying.
Victor A. Wagner, Jr.