home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
519b.lha
/
FZIFF
/
README
< prev
next >
Wrap
Text File
|
1991-06-09
|
3KB
|
67 lines
This program includes source and executable for the program FZIFF,
a program for converting 16-bit samples downloaded from a Casio
FZ-1 synthesizer to the IFF 8SVX sample format on the Amiga.
To use it, use the CASIO program to download a sample to a file,
as in "casio train_whistle.fz1", then use FZIFF to convert it,
as in "fziff train_whistle.fz1 train_whistle.iff"
Although the program does convert the file into a IFF
8SVX file, something is wrong with the result, so you have to
use Audiomaster or the equivalent to clean it up. Sorry about this,
but I haven't had time to look at it and am not too likely to the
way things have been going. Source is included if you want to give
it a try.
When you use audiomaster to edit the sample, there will be some garbage
right at the beginning (possibly a noncompliant IFF header?), use the
cut-and-paste function to trim it out. Also, set the playback frequency
to 18000.
If you sampled on the FZ-1 at 36000 samples per second, you can use
Audiomaster at this point to downsample to 18K SPS. (Note that the
Amiga can't play a sample at faster than around 25K SPS.) I have
found that sampling at 36000 and downsampling with Audiomaster seems
to result in the best sound, regrettable because it doubles the transit
time from the FZ-1, disk space used on the Amiga during the transfer
process, etc, etc.
Source code is included, so the advanced experimenter may want to find
the bug. If you do so, please send me an update. Also, this program
converts 16-bit samples to 8-bit ones.
The extremely advanced guru may want to write a sound player that can
diddle the 6-bit channel volume in a manner coordinated with the
playing of the sounds to derive some sort of near-14-bit companded
audio. I would go about it by subdividing the sample into parts the
size of which are selected such that between each part you can get out
to the volume register, extract an RMS volume from the subpart by doing
the appropriate calculation, determine a 6-bit volume for the volume
register and extract full-scale 8-bit samples for the sample portion.
I was planning to do this but now I pretty much for sure will never get
around to it. It's a big, hard job, but if you do it, you'll learn a
ton about audio and about the Amiga. I might be able to help a little,
but not much. (If you do it, please send me a copy, or at least drop
a note)
These programs are more like works-in-progress than finished, quality
things, but they are usable and, as I'm unlikely to ever finish them
beyond what they are now, I thought I'd make them available for those
who could use them. I would very much have liked to have gotten them
from somewhere rather than writing them myself, even in their present
condition, so I'll save the next guy some time. Perhaps you'll do
the same with some cool utility you've written, it's nice to at least
know that someone is using it, rather than another great program sitting
there rotting on your hard disk, plus its nice to see your name in the
Fred Fish lists and the Amazing Computing resource guides.
Share And Enjoy,
Karl Lehenbauer
3918 Panorama
Missouri City, TX, USA 77459
Internet: karl@hackercorp.com
Usenet: uunet!sugar!karl