SPRAAK
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
spr_bmix.c File Reference

mix the data in a file More...

Detailed Description

mix the data in a file

spr_bmix [-i input](stdin) [-o output](stdout) [-s seed](-1) [-n nfr](-1) [-d datafmt](F32)
Parameters
-i<em>input</em><aname="spr_bmix.i" class="el">
The input file name.
-o<em>output</em><aname="spr_bmix.o" class="el">
The output file name (may be the same as the input file).
-s<em>seed</em><aname="spr_bmix.s" class="el">
Set the seed for the random number generator.
-n<em>nfr</em><aname="spr_bmix.n" class="el">
Number of frames to copy (must be less than the number of input frames). By default, all frames are copied.
-d<em>datafmt</em><aname="spr_bmix.d" class="el">
Data format.

Mix the (binary) data in a file, i.e. randomize the order of the frames. Mix the (binary) data in a file, i.e. randomize the order of the frames.

Bug:
Currently, the program only works for floats.
Author
Kris Demuynck
Date
22/01/1998