Unlike PluginAutomation, using PluginAutomationRamp always inserts two
automation points (instead of one). The .use(context) method tries to find
the starting value, and then ramps from that value to the value specified by
options.value over the course of the triggering event.
// Several different plugin selectors may be usedconstplugin = fluid.plugins.DragonflyHallVst2constop1 = { value:15, paramKey:'sizeMeters', plugin:plugin }constop2 = { value:10, paramKey:'sizeMeters', plugin:'DragonflyHallReverb' }constop3 = fluid.plugins.DragonflyHallVst2.makeAutomation.sizeMeters(30)op3.plugin.nth = 2// Select an instance other than the firstconsttLibraryVerb = {b:newtechniques.PluginAutomationRamp(op1),c:newtechniques.PluginAutomationRamp(op2),a:newtechniques.PluginAutomationRamp(op3),}
Unlike PluginAutomation, using
PluginAutomationRamp
always inserts two automation points (instead of one). The.use(context)
method tries to find the starting value, and then ramps from that value to the value specified byoptions.value
over the course of the triggering event.