Debian Codegraph @

opcodes/flslidbnkset.xml

raw symbols SCIP
1
2 <refentry id="FLslidBnkSet">
3 <indexterm id="IndexFLslidBnkSet"><primary>FLslidBnkSet</primary></indexterm>
4 <refentryinfo><title>FLTK:Other</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>FLslidBnkSet</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>FLslidBnkSet</refname>
11 <refpurpose>
12 modify the values of a slider bank.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 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.
20 The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para>
21 <para>
22 <emphasis>FLslidBnkSet</emphasis> modifies the values of a slider bank according to an array of values stored in a table.
23 </para>
24 </refsect1>
25
26 <refsect1>
27 <title>Syntax</title>
28 <synopsis><command>FLslidBnkSet</command> ihandle, ifn [, istartIndex, istartSlid, inumSlid]</synopsis>
29 </refsect1>
30
31 <refsect1>
32 <title>Initialization</title>
33 <para>
34 <emphasis>ihandle</emphasis> - handle of the sliderBnk (to be used to set its values).
35 </para>
36 <para>
37 <emphasis>ifn</emphasis> - number of a table containing an array of values to set each slider to.
38 </para>
39 <para>
40 <emphasis>istartIndex</emphasis> - (optional) starting index of the table element of to be evaluated firstly. Default value is zero
41 </para>
42 <para>
43 <emphasis>istartSlid</emphasis> - (optional) starting slider to be evaluated. Default 0, denoting the first slider.
44 </para>
45 <para>
46 <emphasis>inumSlid</emphasis> - (optional) number of sliders to be updated. Default 0, denoting all sliders.
47 </para>
48 </refsect1>
49
50 <refsect1>
51 <title>Performance</title>
52 <para>
53 <emphasis>FLslidBnkSet</emphasis> modifies the values of a slider bank (created with <link linkend="FLslidBnk"><citetitle>FLslidBnk</citetitle></link> or with <link linkend="FLvslidBnk"><citetitle>FLvslidBnk</citetitle></link>) according to an array of values stored into table <emphasis>ifn</emphasis>. It actually allows to update an <link linkend="FLslidBnk"><citetitle>FLslidBnk</citetitle></link> (or <link linkend="FLvslidBnk"><citetitle>FLvslidBnk</citetitle></link>) bank of sliders (for instance, using the <link linkend="slider8table"><citetitle>slider8table</citetitle></link> opcode) to a set of values located in a table. User has to set <emphasis>ihandle</emphasis> argument to the handle got from <link linkend="FLslidBnkGetHandle"><citetitle>FLslidBnkGetHandle</citetitle></link> opcode. It works at init-rate only. It is possible to reset only a range of sliders, by using the optional arguments <emphasis>istartIndex</emphasis>, <emphasis>istartSlid</emphasis>, <emphasis>inumSlid</emphasis>
54 </para>
55 <para>
56 There is a k-rate version of this opcode called <link linkend="FLslidBnkSetk"><citetitle>FLslidBnkSetk</citetitle></link>.
57 </para>
58
59 </refsect1>
60 <!-- <refsect1>
61 <title>Examples</title>
62 <para>
63 Here is an example of the FLslidBnkSet opcode. It uses the file <ulink url="examples/FLslidBnkSet.csd"><citetitle>FLslidBnkSet.csd</citetitle></ulink>.
64
65 <example>
66 <title>Example of the FLslidBnkSet opcode.</title>
67
68 <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
69 <xi:include href="examples-xml/FLslidBnkSet.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
70 </example>
71 </para>
72 </refsect1>-->
73 <refsect1>
74 <title>See Also</title>
75 <para>
76 <link linkend="FLslider"><citetitle>FLslider</citetitle></link>,
77 <link linkend="FLslidBnkGetHandle"><citetitle>FLslidBnkGetHandle</citetitle></link>,
78 <link linkend="FLslidBnk"><citetitle>FLslidBnk</citetitle></link>,
79 <link linkend="FLslidBnk2"><citetitle>FLslidBnk2</citetitle></link>,
80 <link linkend="FLvslidBnk"><citetitle>FLvslidBnk</citetitle></link>,
81 <link linkend="FLvslidBnk2"><citetitle>FLvslidBnk2</citetitle></link>
82 <link linkend="FLslidBnk2Set"><citetitle>FLslidBnk2Set</citetitle></link>,
83 <link linkend="FLslidBnkSetk"><citetitle>FLslidBnkSetk</citetitle></link>
84 </para>
85 </refsect1>
86
87 <refsect1>
88 <title>Credits</title>
89 <para>Author: &namegabriel;</para>
90 <para>New in version 5.06</para>
91 </refsect1>
92 </refentry>