dumpk4Signal I/O:File I/Odumpk4dumpk4
Periodically writes four orchestra control-signal values to an external file.
Description
Periodically writes four orchestra control-signal values to a named external file in a specific format.
Syntaxdumpk4 ksig1, ksig2, ksig3, ksig4, ifilname, iformat, iprdInitializationifilname -- character string (in double quotes, spaces permitted) denoting the external file name. May either be a full path name with target directory specified or a simple filename to be created within the current directory
iformat -- specifies the output data format:
1 = 8-bit signed char(high order 8 bits of a 16-bit integer4 = 16-bit short integers5 = 32-bit long integers6 = 32-bit floats7 = ASCII long integers8 = ASCII floats (2 decimal places)
Note that A-law and U-law output are not available, and that all formats except the last two are binary. The output file contains no header information.
iprd -- the period of ksig output i seconds, rounded to the nearest orchestra control period. A value of 0 implies one control period (the enforced minimum), which will create an output file sampled at the orchestra control rate.
Performanceksig1, ksig2, ksig3, ksig4 -- control-rate signals
This opcode allows four generated control signal values to be saved in a named external file. The file contains no self-defining header information. But it contains a regularly sampled time series, suitable for later input or analysis. There may be any number of dumpk4 opcodes in an instrument or orchestra but each must write to a different file.
Examples
See the example for dumpk. The only difference between dumpk and dumpk4 is that dumpk4 can write four values at a time from the file.
See Alsodumpk,
dumpk2,
dumpk3,
readk,
readk2,
readk3,
readk4CreditsBy: John ffitch and Barry Vercoe1999 or earlier