tabrecTable Control:Read/Write Operationstabrectabrec
Recording of control signals.
Description
Records control-rate signals on trigger-temporization basis.
Syntaxtabrec ktrig_start, ktrig_stop, knumtics, kfn, kin1 [,kin2,...,kinN]Performancektrig_start -- start recording when
non-zero.
ktrig_stop -- stop recording when knumtics
trigger impulses are received by this input argument.
knumtics -- stop recording or reset playing
pointer to zero when the number of tics defined by this argument
is reached.
kfn -- table where k-rate signals are recorded.
kin1,...,kinN -- input signals to record.
The tabrec and tabplay
opcodes allow to record/playback control signals on
trigger-temporization basis.
tabrec opcode records a group of k-rate
signals by storing them into kfn table. Each time ktrig_start is
triggered, tabrec resets the table pointer to zero and begins to
record. Recording phase stops after knumtics trigger impulses
have been received by ktrig_stop argument.
These opcodes can be used like a sort of ``middle-term'' memory
that ``remembers'' generated signals. Such memory can be used to
supply generative music with a coherent iterative compositional structure.
Examples
Here is an example of the tabrec opcode. It uses the file tabrec.csd.
Example of the tabrec opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoRead/Write OperationsCreditsWritten by &namegabriel;.Example written by Iain McCurdy