printk2
Prints a new value every time a control variable changes.
Syntax
Initialization
inumspaces (optional, default=0) -- number of space characters printed before the value of kvar.
inamed (optional, default=0) -- if non zero print the name of the kvar as well as the value.
Performance
kvar -- signal to be printed
Derived from Robin Whittle's printk, prints a new value of kvar each time kvar changes. Useful for monitoring MIDI control changes when using sliders.
Warning
WARNING! Do not use this opcode with normal, continuously variant k-signals, because it can hang the computer, as the rate of printing is too fast.
Examples
Here is an example of the printk2 opcode. It uses the file printk2.csd.
Its output should include lines like these:
See also
Credits
Author: Gabriel Maldonado
Italy
1998
New in Csound version 3.48
named option new in 6.11