home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
sound
/
b040_1
/
!RndSample
/
!Help
< prev
next >
Wrap
Text File
|
1993-07-07
|
3KB
|
117 lines
RANDOM SAMPLE PLAYER 1.00
-------------------------
PURPOSE
This program performs two tasks:
1) Play a sample at random
2) Change the system beep with a sample at random
SPECIAL NEEDS
You need the DataSuite modules from P.R.Banks.
GENERAL FEATURES
All samples and beeps must be stored in two directories called
"Samples" and "Beeps" respectively, inside the application.
If you want to keep your samples in another place, just alter
the !Run file so that the variables "SamplePool$Dir" and
"BeepPool$Dir" point to the new place.
The program makes extensive use of the DataSuite modules from
P.R.Banks (thanks Philip) so it can load all the formats
recognised by the DataLoad module. At the time of writing these
are:
DataVox files v1,v2 & v3
Armadeus sample files
DSEdit raw sample file
Tracker sample files
Amiga IFF 8SVX files
SUN Audio files
Read the DataSuite documentation for more details.
The program plays samples "in multitask": you can go on with your
work while listening to Beethoven.
I use it in my start-up and start-down sequence (eg. in my !Boot
and in my ShutDown patch).
USAGE
You can start this program in two ways:
1) With a double click
2) Via an Obey file
The main difference is that starting the program with an
Obey file lets you enter command-line options to perform
special tasks.
SPECIAL TASKS
You can make the program do three things when calling it
in an Obey file:
1) Just play a sample without changing the system beep
2) Just change the system beep without playing any sample
3) Do the above things without cleaning the memory after
playing. This is only useful when you run the program
from an Obey file but you don't want it to freeze until
the sound has finished. For example, if you patch the ShutDown
command to make the computer cry before being switched off,
you should always wait the sound termination even when
you are in a hurry otherwise the shutdown procedure would
not complete. If you use this option, the ShutDown-obey
would not freeze and you could switch off while playing.
The above tasks are activated with the following options
respectively: nobeep, noplay, dirty.
TOOLS
In the Tools directory you can find some useful tools:
DVoxClear: do not use it.
SoundDefau: should not need it.
!OneSound: choose a sample from the "OneSound" directory.
you should put one only sample inside it.
!OneBeep: same for beeps.
ShutPatch: run this to patch the ShutDown command.
ShoutDown: executed at the ShutDown.
ShowStatus: lets you decide if you need to run DVoxClear.
!BeepOnly: changes the system beep and beeps but doesn't
play a sample.
!PlayOnly: plays a sample but leaves the beep unchanged.
CREDITS
Many thanks to P.R.Banks for the developing of DataSuite,
without which my job would have been very much harder.
COPYRIGHT
Absent.
AUTHOR
Cristian Ghezzi
ser1536@cdc835.cdc.polimi.it
Via B. da Urbino 2, 20035 Lissone MI, Italy
fax: +39 31 260735