WAV_2_XI v1.2
8/16 bit mono WAV to XI
converter
1. COPYRIGHT
This software is provided as-is.
Author makes no warranties on this program. It's freeware, not
public domain. This means, you can use it at your own risk as
long and often as you want, but if you plan to include it on a
commerical CD (means, you sell it and get money for it, even if
all programs on this CD are shareware or freeware), send me a
copy of that CD - that's it.
2. MOTIVATION / WHAT FOR ?
Usually you edit your samples in a comfortable
windows-editor, find WAV's on data-CDROM's or just rip samples
from audio-CDs. WAV is the most common format on PC, and XI is
probably the most common instrument format in the tracker scene.
Since FastTracker 2 can't load WAV's and the other WAV to XI
converters out there often fail (create funny volume envelopes,
totally wrong pitch, stupid loop points ...) I wrote that little
program.
3. FEATURES
- NEW: removed bug with readonly-WAV's,
works now :-)
- NEW: accepts paths in source filename to
integrate it smoothly with AKA's great SMoRPhi -
check it out at http://www.tu-chemnitz.de/~aka
- supports 8/16 bit mono WAVs in plain PCM
format, no compressed subtypes
- auto"detects" crosslooped
samples done by COOL EDIT's script "crossfade
full" or similiar ... NOTE: I DID THIS FOR !ME!
and found it pretty usefull, even with the current cheesy
"algorithm" ... works as follows:
- check, if the first and the last
sample of the waveform are nearly the same (5%
tolerance actually)
- test, if these values are in the
environment (3% actually) of the zero line, if
YES, forget it (to avoid "false alarms"
with proper waveforms, which start and end with
zero), if NOT, that could be a loop (remember:
"-1" at the commandline as percent
value removes all that "intelligence"
;) - converter will work in IDIOT mode)
- includes "Frequency to FT2
RelNote/FineTune conversion" - you will always find
the original recording speed at "Q"-key, no
matter what sampling frequency
- "IDIOT mode", means plain 1:1
copy of the input waveform without cutting crap or
creating loops
- Zero Cross Detection - the exported XI
will always start with a zero crossing (if not in idiot
mode)
- Conversion Start Trigger - conversion
starts with the first sample which fits that minimum - to
be exact: from the previous zero crossing, the process is
as follows:
- The WAV file will be searched for
the first sample-value which meets the via
commandline-switch given minimum percent value
- From this detected point the file
will be searched backwards till the next zero
crossing
- If no zero crossing was found the
forward search starts
- Now the conversion starts from
that detected zero crossing
4. USAGE
WAV_2_XI wav-filename [percent]
- wav-filename - must be there,
wildcards allowed
- percent - integer value -1, or
between 0 and 100 (default = 5%), conversion starts with
the first sample which fits that minimum - to be exact:
from the previous zero crossing
5. EXAMPLES
WAV_2_XI *.* 0
- will convert all WAVs in the current
directory and leave the sample data nearly unchanged
(only zero cross detection)
WAV_2_XI *.* -1
- will convert all WAVs in the current
directory in IDIOT mode - dumb 1:1 copy of the complete
waveform
WAV_2_XI *.WAV 100
- will convert all WAVs in the current
directory with a maximum amplitude of 100% at the first
value which meets this "minimum", if this full
amplitude is never reached the maximum amp of the current
file will be printed
6. The inevitable CREDIT's:
... are flying out to !Bonzai, OLBI + Mora, AKA, BenTByte,
Cube, fp + skr, JONAS, MoM, Kay Bruns + Uwe Loesche, Ramon, The LitTlE WinG.
Special thanx to all dudes who ordered my first Tracker
Samples CD!
7. CONTACT / BUG REPORTS / SUGGESTIONS
8. Message of the year 1997:
BUY A TERRATEC EWS 64. IT ROCKS.