moogerfooger
New member
Hi,
I am using Teensy 3.2 and the Teensy Audio library to directly connect AudioInputUSB to AudioOutputDAC. The goal is to create a DC-coupled interface from my computer running a software synth to an external hardware synth setup.
In its simplest form:
Looking at the voltages on a scope, the DAC outputs values from ~0.6-~1.2V for the signal I am putting in, which is the output of a LFO with (virtual) voltages equivalent to 0-10V.
If I change the values to -10V to 0V on my LFO, I get voltages of ~0-~0.6V on the DAC output, which makes sense.
Now, I would like to scale the (virtual) 0-10V to 0-1.2V on the DAC (and then use external OpAmp circuit to scale up to 0-10V to external connections).
What would be the best way yo do this?
Thanks!
I am using Teensy 3.2 and the Teensy Audio library to directly connect AudioInputUSB to AudioOutputDAC. The goal is to create a DC-coupled interface from my computer running a software synth to an external hardware synth setup.
In its simplest form:
Code:
AudioInputUSB usb1; //xy=410,309
AudioOutputAnalog dac1; //xy=698,284
AudioConnection patchCord1(usb1, 0, dac1, 0);
Looking at the voltages on a scope, the DAC outputs values from ~0.6-~1.2V for the signal I am putting in, which is the output of a LFO with (virtual) voltages equivalent to 0-10V.
If I change the values to -10V to 0V on my LFO, I get voltages of ~0-~0.6V on the DAC output, which makes sense.
Now, I would like to scale the (virtual) 0-10V to 0-1.2V on the DAC (and then use external OpAmp circuit to scale up to 0-10V to external connections).
What would be the best way yo do this?
Thanks!