Kompari
Kompari
Section titled “Kompari”This program is a EuroPi re-imagining of Allen Synthesis’ Kompari module.
An input signal is converted to a normalized 0-1 level and compared with the two knobs’ levels,
outputting gate and CV signals.
Inputs & Outputs
Section titled “Inputs & Outputs”Inputs:
ain: input signal to compare with knob posiotionsdin: not usedk1: lower bound for comparisons withaink2: upper bound for comparisons withainb1: not usedb2: not used
Outputs:
cv1: +5V ifK1<AIN, otherwise 0Vcv2: +5V ifAIN<K2, otherwise 0Vcv3: +5V ifK1<AIN<K2, otherwise 0Vcv4:max(K1, AIN) * MAX_OUTPUT_VOLTAGEcv5:min(AIN, K2) * MAX_OUTPUT_VOLTAGEcv6:max(K1, min(AIN, K2)) * MAX_OUTPUT_VOLTAGE
Output calculations treat K1, K2, and AIN as values in the range [0.0, 1.0].