Next Previous Contents

3. Usage

3.1 General Usage

SJBfkt reads data from stdin and print out results to stdout. The best way to call it is:

cat input.file | sjbfkt 5 256 >output.file

Hint: At the beginning of the output SJBfkt prints out all given parameters.

3.2 Parameters

As first parameter you have to specify the length (in seconds) of the piece of music you want to interpolate. Files which are shorter than the given values don't produce any output.

The second parameter is used to indicate how much interpolation values you want as an output. This value must be a power of 2 (256 is recommended)

3.3 INPUT Format

Don't use any other input than that produced by SJBtime!

Header of a sample inputfile:

0 204
20841 146
19798 62

3.4 OUTPUT Format

Header of a sample outputfile: (one of many)

5 256
2.992557
124.259575
51.090775


Next Previous Contents