home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
120.lha
/
Muncho2
/
readme
< prev
next >
Wrap
Text File
|
1986-11-21
|
1KB
|
43 lines
Another version of munch...
Shares the audio device. Source code included. (Please
forgive that I'm still using a stone-age version of
Lattice -- 3.03)
Sound data files are in FutureSound non-IFF format. That's
a binary file which looks like:
ULONG sound data length
UWORD rate
data
The period can be derived from the rate:
period = 3579545/rate
A look at soundobj.c should explain the data format.
There are 4 sound samples included. crunch, sneeze, boing,
and boing2. To run the program:
run DiskSounds insound outsound
where insound is the sound sample to use for disk insertion,
and outsound is the sample for ejection. Or just:
run DiskSounds
defaults to crunch for insertion and sneeze for ejection.
(The audio code is overkill. I'm working on a music program
for banjo and guitar players, so I hacked it from there.)
No copyrights, no disclaimers. Do whatever you want.
Jeff deRienzo
jeff@dandelion.CI.COM
derienzo@EAGLE.MIT.EDU
goodlucktryingtofindapathtohere...!pcwf!labamba!jeff