Debian Codegraph @

opcodes/flprintk2.xml

raw symbols SCIP
1
2 <refentry id="FLprintk2">
3 <indexterm id="IndexFLprintk2"><primary>FLprintk2</primary></indexterm>
4 <refentryinfo><title>FLTK:Other</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>FLprintk2</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>FLprintk2</refname>
13 <refpurpose>
14 A FLTK opcode that prints a new value every time a control-rate variable changes.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 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.
22 The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para>
23 <para>
24 <emphasis>FLprintk2</emphasis> is similar to <link linkend="FLprintk"><citetitle>FLprintk</citetitle></link> but shows a k-rate variable's value only when it changes.
25 </para>
26 </refsect1>
27
28 <refsect1>
29 <title>Syntax</title>
30 <synopsis><command>FLprintk2</command> kval, idisp</synopsis>
31 </refsect1>
32
33 <refsect1>
34 <title>Initialization</title>
35 <para>
36 <emphasis>idisp</emphasis> -- a handle value that was output from a previous instance of the <link linkend="FLvalue"><citetitle>FLvalue</citetitle></link> opcode to display the current value of the current valuator in the <emphasis>FLvalue</emphasis> widget itself. If the user doesn't want to use this feature that displays current values, it must be set to a negative number by the user.
37 </para>
38 </refsect1>
39
40 <refsect1>
41 <title>Performance</title>
42 <para>
43 <emphasis>kval</emphasis> -- k-rate signal to be displayed.
44 </para>
45
46 <para>
47 <emphasis>FLprintk2</emphasis> is similar to <link linkend="FLprintk"><citetitle>FLprintk</citetitle></link>, but shows the k-rate variable's value only each time it changes. Useful for monitoring MIDI control changes when using sliders. It should be used for debugging purposes only, since it slows-down performance.
48 </para>
49 </refsect1>
50
51 <refsect1>
52 <title>See Also</title>
53 <para>
54 <link linkend="FLbox"><citetitle>FLbox</citetitle></link>,
55 <link linkend="FLbutBank"><citetitle>FLbutBank</citetitle></link>,
56 <link linkend="FLbutton"><citetitle>FLbutton</citetitle></link>,
57 <link linkend="FLprintk"><citetitle>FLprintk</citetitle></link>,
58 <link linkend="FLvalue"><citetitle>FLvalue</citetitle></link>
59 </para>
60 </refsect1>
61
62 <refsect1>
63 <title>Credits</title>
64 <para>Author: &namegabriel;</para>
65 <para>New in version 4.22</para>
66 </refsect1>
67 </refentry>