/lilac-modules-vcv

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Lilac Modules for VCV Rack

Accumulator

The Accumulator module calculates a sum of voltage over time, with support for mono and polyphonic signals. The module is split vertically into two identical, independent sections.

A signal of N volts connected to the RATE input will accumulate at N volts per second on the SUM output. For example, a constant input of 1V will accumulate to 10V over 10 seconds. A polyphonic cable connected to the RATE input will produce a signal with corresponding polyphony on the SUM output.

A trigger on the RESET input will reset the SUM output to zero. A trigger sent to the RESET input over a polyphonic cable will clear the sum stored on the corresponding polyphony channel. To completely reset the module's internal state, select Initialize from the module's menu.

The module's internal state is saved with the patch file, meaning that accumulated values will be retained across Rack sessions. This can be disabled by toggling "Save sum with patch" in the module's menu.

Comparator

The Comparator module compares two input voltages A and B, with support for mono and polyphonic signals.

Voltage A can be set using the knob control, or by connecting a cable to the nearby input port. Connecting a cable to the A input port will disable the knob control. Voltage B can only be set using its input port.

The tolerance for what is considered equal on the A = B output is determined by the A = B tolerance control in the module's menu. The default tolerance is 0V, and can be increased to a maximum of ±1V by clicking and dragging the slider. Polyphonic cables connected to the A and/or B input ports will produce a signal with corresponding polyphony on all output ports.

Looper

See separate Lilac Loop plugin.