finkSignal I/O:File I/Ofinkfink
Read signals from a file at k-rate.
Description
Read signals from a file at k-rate.
Syntaxfink ifilename, iskipframes, iformat, kin1 [, kin2] [, kin3] [,...]Initializationifilename -- input file name (can be a string or a handle number generated by fiopen)
iskipframes -- number of frames to skip at the start (every frame contains a sample of each channel)
iformat -- a number specifying the input file format. If a header is found, this argument is ignored.
0 - 32 bit floating points without header1 - 16 bit integers without headerPerformancefink is the same as fin but operates at k-rate.
Please note that since this opcode generates its output using input parameters (on the right side of the opcode), these variables must be initialized before use, otherwise a 'used before defined' error will occur. You can use the init opcode for this.Examples
Here is an example of the fink opcode. It uses the file fink.csd.
Example of the fink opcode.See the sections Real-time
Audio and Command Line
Flags for more information on using command
line flags. Note that this example requires the file test.txt to be
created, for example by foutiSee alsoFile Input and OutputCreditsAuthor: &namegabriel;Italy1999New in Csound version 3.56