NB: these examples work only if you have the associated plugin installed. Remember to issue Rescan Plugins… after installing any new plugins.
Vital Synth is an amazing spectral warping wavetable
synth that is available as a CLAP format plugin. As such, it works well
with Hz
and the combination offers new potential synergies not available
with typical point-and-click DAWs.
NB: these examples will only work if you have
Vital Synth
installed on your system.
This example shows you how to create and instantiate a Vital Synth anode
and initialize it via a preset file. You can create your own preset
files in Vital
by with its Export Preset
menu option (in the upper right
quadrant of the interface). Note that we issue vital.Show()
to raise
the GUI window. This causes it to appear in the
Audio Monitor's Window Panel
where you can Show and Hide it manually.
Here's a snippet from the example:
let ascene = await Ascene.BeginFiber(this);
let vital = ascene.NewAnode("Vital");
let dac = ascene.GetDAC();
ascene.Chain(vital, dac);
await ascene.Sync();
let preset = "presets/ceramic.vital";
await vital.RestoreState(path.join(thisDir, preset));
THis example simply dumps the list of all known parameters to the Log Panel. Note that you can also use Plugin Explorer for this.
Note: there are almost 800 parameters here!
In this simple example we automate the 3 oscillator pan parameters.
Examine the Vital GUI
carefully to observe the effects.
This advanced example shows how to modify Vital parameters
using Songs.hz. Examine the Vital GUI
carefully and notice that our song is automating multiple oscillator
pan and volume parameters.
It appears that Vital may have a limit on the number of live GUIs of
around 3-4. For this reason use vital.Show()
sparingly.
Vital has no default mapping for MIDI note velocity. Rather, some presets
route it to a target. The file presets/RoutedVelocity.vital
has such
a routing.
Vital Synth doesn't currently appear to produce CLAP note-done events and therefore doesn't play well with Voices. Since Vital Synth is already polyphonic, this is probably a non-issue.