| 1 | |
| 2 | <refentry id="FLloadsnap"> |
| 3 | <indexterm id="IndexFLloadsnap"><primary>FLloadsnap</primary></indexterm> |
| 4 | <refentryinfo><title>FLTK:Other</title></refentryinfo> |
| 5 | <refmeta> |
| 6 | <refentrytitle>FLloadsnap</refentrytitle> |
| 7 | </refmeta> |
| 8 | |
| 9 | |
| 10 | |
| 11 | <refnamediv> |
| 12 | <refname>FLloadsnap</refname> |
| 13 | <refpurpose> |
| 14 | Loads all snapshots into the memory bank of the current orchestra. |
| 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>FLloadsnap</emphasis> loads all the snapshots contained in a file into the memory bank of the current orchestra. |
| 25 | </para> |
| 26 | </refsect1> |
| 27 | |
| 28 | <refsect1> |
| 29 | <title>Syntax</title> |
| 30 | <synopsis><command>FLloadsnap</command> "filename" [, igroup]</synopsis> |
| 31 | </refsect1> |
| 32 | |
| 33 | <refsect1> |
| 34 | <title>Initialization</title> |
| 35 | <para> |
| 36 | <emphasis>"filename"</emphasis> -- a double-quoted string corresponding to a file to load a bank of snapshots. |
| 37 | </para> |
| 38 | <para> |
| 39 | <emphasis>igroup</emphasis> -- (optional) an integer number referring to a snapshot-related group of widget. It allows to get/set, or to load/save the state of a subset of valuators. Default value is zero that refers to the first group. The group number is determined by the opcode <link linkend="FLsetSnapGroup"><citetitle>FLsetSnapGroup</citetitle></link>. |
| 40 | </para> |
| 41 | <note> |
| 42 | <para> |
| 43 | The <emphasis>igroup</emphasis> parameter has not been yet fully implemented in the current version of csound. Please do not rely on it yet. |
| 44 | </para> |
| 45 | </note> |
| 46 | </refsect1> |
| 47 | |
| 48 | <refsect1> |
| 49 | <title>Performance</title> |
| 50 | <para> |
| 51 | <emphasis>FLloadsnap</emphasis> loads all snapshots contained in filename into the memory bank of current orchestra. |
| 52 | </para> |
| 53 | <para> |
| 54 | For purposes of snapshot saving, widgets can be grouped, so that snapshots affect only a defined group of widgets. The opcode <link linkend="FLsetSnapGroup"><citetitle>FLsetSnapGroup</citetitle></link> is used to specify the group for all widgets declared after it, until the next <link linkend="FLsetSnapGroup"><citetitle>FLsetSnapGroup</citetitle></link> statement. |
| 55 | </para> |
| 56 | </refsect1> |
| 57 | |
| 58 | <refsect1> |
| 59 | <title>See Also</title> |
| 60 | <para> |
| 61 | <link linkend="FLgetsnap"><citetitle>FLgetsnap</citetitle></link>, |
| 62 | <link linkend="FLrun"><citetitle>FLrun</citetitle></link>, |
| 63 | <link linkend="FLsetSnapGroup"><citetitle>FLsetSnapGroup</citetitle></link>, |
| 64 | <link linkend="FLsavesnap"><citetitle>FLsavesnap</citetitle></link>, |
| 65 | <link linkend="FLsetsnap"><citetitle>FLsetsnap</citetitle></link>, |
| 66 | <link linkend="FLupdate"><citetitle>FLupdate</citetitle></link> |
| 67 | </para> |
| 68 | </refsect1> |
| 69 | |
| 70 | <refsect1> |
| 71 | <title>Credits</title> |
| 72 | <para>Author: &namegabriel;</para> |
| 73 | <para>New in version 4.22</para> |
| 74 | </refsect1> |
| 75 | </refentry> |