not-things VCV Rack modules

Polyphonic Same and Different (P-SD)

Part of the set of not-things VCV Rack modules.

P-SD module

Module operation

The P-SD module accepts two polyphonic input signals (A and B) and analyzes the voltages on their channels. It determines which voltages appear in both of the inputs and which appear in only one of them. Based on this analysis, the P-SD module generates three output signals:

Comparison tolerance (±δ)

When comparing input channels, P-SD considers two voltages equal if their difference is within a certain range. This range is set using the Delta Tolerance knob (labeled ‘±δ’), adjustable from 0 to 1 volts. Setting a Delta Tolerance allows signals to be compared even if they contain slight variations or “wobble” in their values.

Note: Even when the Delta Tolerance is set to 0V, P-SD still applies a minimal tolerance of 0.00001V to account for minor inaccuracies inherent in voltage processing.

Voltage vs note mode (v / ♪)

A toggle switch on P-SD allows selection between Voltage mode (labeled ‘v’) and Note mode (labeled ‘’).

Example:

Given the following inputs

In note mode

In voltage mode

Handling of duplicate values

If the input signals contain multiple occurrences of the same value, the default behaviour of P-SD is to not include those duplicate values on the outputs. For this purpose, PS-D checks for duplicates taking the active Delta tolerance into account: as voltage channels are added to the different outputs, the voltage will not be added to the output if it already contains another voltage that is within the active tolerance range.

The ‘Output Duplicate Voltages’ option (available in the right-click menu) allows this behavior to be changed:

Example:

If Input A contains [ 1.00V, 1.02V, 4.00V ], Input B contains [ 4.00V ] and Delta tolerance is 0.05V: