FLslidBnk2Set — modify the values of a slider bank.
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
FLslidBnk2Set modifies the values of a slider bank according to an array of values stored in a table.
ihandle - handle of the sliderBnk (to be used to set its values).
ifn - number of a table containing an array of values to set each slider to.
istartIndex - (optional) starting index of the table element of to be evaluated firstly. Default value is zero
istartSlid - (optional) starting slider to be evaluated. Default 0, denoting the first slider.
inumSlid - (optional) number of sliders to be updated. Default 0, denoting all sliders.
FLslidBnk2Set modifies the values of a slider bank (created with FLslidBnk2 or with FLvslidBnk2) according to an array of values stored into table ifn. It actually allows to update an FLslidBnk2 (or FLvslidBnk2) bank of sliders (for instance, using the slider8table opcode) to a set of values located in a table. User has to set ihandle argument to the handle got from FLslidBnkGetHandle opcode. It works at init-rate only. It is possible to reset only a range of sliders, by using the optional arguments istartIndex, istartSlid, inumSlid
FLslidBnk2Set is identical to FLslidBnkSet, but works on FLslidBnk2 and FLvslidBnk2 instead of FLslidBnk and FLvslidBnk
There is a k-rate version of this opcode called FLslidBnk2Setk