FLprintkFLTK:OtherFLprintkFLprintk
A FLTK opcode that prints a k-rate value at specified intervals.
Description
Plugin opcode in widgets. This opcode is part of the plugin repository and has to be installed separately. These FLTK widgets do not work on the Mac.
The plugin repository can be found here: https://github.com/csound/pluginsFLprintk is similar to printk but shows values of a k-rate signal in a text field instead of on the console.
SyntaxFLprintk itime, kval, idispInitializationitime -- how much time in seconds is to elapse between updated displays.
idisp -- a handle value that was output
from a previous instance of the FLvalue opcode
to display the current value of the current valuator in the
FLvalue widget itself. If the user does not want to use this feature that displays current values, it must be set to a negative number by the user.
Performancekval -- k-rate signal to be displayed.
FLprintk is similar to printk, but shows values of a k-rate signal in a text field instead of showing it in the console. The idisp argument must be filled with the ihandle return value of a previous FLvalue opcode. While FLvalue should be placed in the header section of an orchestra inside an FLpanel/FLpanelEnd block, FLprintk must be placed inside an instrument to operate correctly. For this reason, it slows down performance and should be used for debugging purposes only.
See AlsoFLbox,
FLbutBank,
FLbutton,
FLprintk2,
FLvalueCreditsAuthor: &namegabriel;New in version 4.22