printsSignal I/O:Printing and Displayprintsprints
Prints at init-time using a printf() style syntax.
Description
Prints at init-time using a printf() style syntax.
Syntaxprints "string" [, xval1] [, xval2] [...]Initialization"string" -- the text string to be printed. Can be up to 8192 characters and must be in double quotes.
Performancexval1, xval2, ... (optional) -- The k-rate
values or strings to be printed. These are specified in
string with the standard C
value specifier (%f, %d, %s etc.) in the order given.
prints is similar to the printks opcode except it operates at init-time instead of k-rate. For more information about output formatting, please look at printks's documentation.
Examples
Here is an example of the prints opcode. It uses the file prints.csd.
Example of the prints opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.
Its output should include a line like this:
1234.568 ;;;;;;semicolons!
See alsoPrinting and DisplayCreditsAuthor: &namematt;January 2003