![]() |
uvi-script
Musical event scripting with Lua
|
Morph (0 … 1, per voice), the ladder position in Continuous mode; VelMorph is now Velocity XFade only – see Driving it from scriptVelMorph is modulated in its own units: a bipolar source at ratio 1 sweeps -1 … 1default property, the value restored by a reset, overriding the parameter's own default – e.g. 0 for a modulation depth, whose Ratio defaults to 1showPeak and showRms choose which of the two layers are drawn (both on by default) – e.g. showRms = false for a peaks-only waveDynamicsMode plays one zone per note (Velocity) or reads the zones of the velocity ladder together and crossfades between them under the per-voice VelMorph control (Continuous, Velocity XFade); DynamicRange and Curve shape the travel, VelGainRange / VelGainCurve / VelGainKeyTrack hold the velocity-to-level law. All seven are set by name and have no uvi.SampleMappingOscillator constant – see Velocity dynamics<velGain> and <velXFade> on layers, <velFilter> on a zone, either a velocity-scaled high-shelf (type="shelf") or a one-pole lowpass whose corner tracks velocity across the zone (type="lp") – see Per-zone timbre correction. A layer's name (SFZ: group_label) is kept for displaytrue, returns an AsyncTask instead, whose task.success is the only report of an actual failuregetLoadingStatus does not answer that question – it reports on the mapping overall and still reads 1 until the unpurge reaches the worker, so notes routed at the layer on the strength of it play silenceloop_mode (no_loop, one_shot, loop_continuous, loop_sustain), loop_start, loop_end and loop_crossfade, falling back to the sample file's markers and then to the whole sample for whatever a region leaves out, so a sample without embedded loop markers can loop; a one_shot zone plays to its end whatever the note-off (Falcon 27.0.3) – see The SFZ subsetParameters enum carries MappingPath, InterpolationMode, RoundRobinMode and SampleStartMillisecond, the last one shared with Sampleinserts. They are asynchronous and return an AsyncTask; task.success is false for an unknown type or a slot that no longer exists. moveEffect keeps the effect itself, with its settings, modulations and audio tail – see the FX Rack exampledim1 and dim2, as trailing arguments or as table fields, to dispatch a note to a mapping zone. They are ignored when a slice is given, and the automatic note-off does not carry themdim1 and dim2 on a note-on as well, which promotes the event to a mapping dispatch. Incoming events expose event.dim1 and event.dim2 only when they came from such a dispatch – an ordinary MIDI note has neitherbind(elementOrPath, paramName), and created with a name only to start unbound. A widget whose element is deleted reads as unbound instead of pointing at freed memorylottieAnimation / setLottieAnimation. A .lottie package that declares a state machine runs it on its own, which is what gives a control its hovered and pressed look – see Lottie AnimationsstripImage / setStripImage on Button, OnOffButton and ParamOnOffButton, as the knobs and sliders already hadvalue, typed as the parameter is – number, boolean or string – and nil until the binding resolvessetRange(min, max) and unit. The other bound widgets cannotpersistent = false to opt out. Paths are stored relative, and a binding written with a wildcard is not persisted (the console says so). ParameterValue is never persisted