GPIO Voltage Input card provide 12V and can sense 0-24V. If a 10k pot is at maximum level, the DSP needs to be set up to see it as 24V. To do so, a Control Range Scaler is needed.
Click here for wiring instructions on the physical card.
The following example uses a Control Fader to represent the 10k Potentiometer.
The following will be used in the example:
Control Fader (Fader will represent the 10k Potentiometer)
Control Range Scaler
Control Linear to Log Converter
Voltage Controlled Amp
Pink Noise generator (represents audio input source)
The 10k Pot is tied to the Control Range Scaler, to the Control Linear to Log Converter, to the Ctrl node of the Voltage Controlled Amp, to the RMS Meter. The audio input source (Pink Noise generator) is tied to the audio node of the Voltage Controlled Amp.
Set up modules:
At maximum level on the 10k pot with 12V from the GPIO Voltage Input card, the DSP needs to see the 10k pot as 24V. Therefore, the input range is about 40-50% and a Control Range Scaler is needed.
Control Range Scaler: Set the input range to 40% (which is about 12V), and the output range to 100%.
The Linear to Log Converter will fine tune the level.
Voltage Controlled Amp: This is set up at unity gain. When the input signal is at maximum, the signal is at unity gain.
The Pink Noise generator is used as an audio source and the RMS Meter is used to monitor the output.