CVPreset
related classes: CVinterpolator, CV, Conductor, ConductorGUI
CVPreset saves 'presets' for an array of CVs or other objects that respond to input and input_.
[CVInterpolator] is a CVPreset also able to interpolate between settings.
Instance Variables
items the items to be saved/restored
presets the actual collections of different presets
presetCV CV determines which preset to load
Instance Methods
note: Selecting presets is done by changing the value of presetCV
value returns the contents of presets
value_(v) sets preset to v
input returns an array of input values for each of the elements of items
input_(ins) iterates over ins, setting the input of corresponding cvs
add add this.input as a new preset
remove remove the current preset (identified by presetCV)
set(index) recall the preset at index
draw(win, name, preset) draw the received using the function found at ~presetGUI
Comment: all control of preset selection and interpolation is done through presetCV, targetCV, and
interpCV.