FLloadsnap
Prev | Orchestra Opcodes and Operators | Next

## FLloadsnap

FLloadsnap — Loads all snapshots into the memory bank of the current orchestra.

## 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/plugins

FLloadsnap loads all the snapshots contained in a file into the memory bank of the current orchestra.

## Syntax

    FLloadsnap "filename" [, igroup]

## Initialization

"filename" -- a double-quoted string corresponding to a file to load a bank of snapshots.

igroup -- (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 FLsetSnapGroup.

| Note
The igroup parameter has not been yet fully implemented in the current version of csound. Please do not rely on it yet.

## Performance

FLloadsnap loads all snapshots contained in filename into the memory bank of current orchestra.

For purposes of snapshot saving, widgets can be grouped, so that snapshots affect only a defined group of widgets. The opcode FLsetSnapGroup is used to specify the group for all widgets declared after it, until the next FLsetSnapGroup statement.

## See Also

FLgetsnap, FLrun, FLsetSnapGroup, FLsavesnap, FLsetsnap, FLupdate

## Credits

Author: Gabriel Maldonado

New in version 4.22

Prev | Up | Next
FLlabel | Home | FLmouse