Server Help Squatter
|Posted: Wed Sep 26, 2007 10:04 am Post subject: rifftool
|rifftool can print information on RIFF files, rearrange chunks inside the file and add/edit/remove loops.
RIFF files are more commonly found as .wav files but are also used for many other formats including .at3 atrac3 files.
When rearranging chunks they are written in this order: fmt, fact, smpl, data. This is useful if you have sounds from a sound editor that doesn't write the chunks in that order but you have a player that expects them in that order.
You can add/edit/delete the loop info stored in the smpl chunk, so the sound can loop continuously between two points. You will almost certainly need to use a compatible RIFF format and player.
Here's the usage:
Usage: rifftool [-r] [-l SSSS EEEE] [-L] infile [outfile]
-r repacks the file in this order: fmt, fact, smpl, data.
-l edit or add an infinite loop, also repacks the file.
SSSS the loop start, in hundreths of a second,
EEEE the loop end, in hundreths of a second.
set S=0,E=99999 to automatically loop the maximum amount.
-L remove all loop information, also repacks the file.
outfile if not specified a filename will be generated.
If no options are specified, the program will print file info.
WARNING: this program will only write fmt, fact, smpl and data chunks,
all other chunks will be discarded.
v1.0 win src doc
rifftool.zip - 12.42 KB
File downloaded or viewed 9 time(s)