I'm trying to create a simple test jig using the Audio Design Tool to generate a sine and recover it using the Teensy onboard ADC. My connection code looks like this:
AudioSynthWaveformSine sine1;
AudioInputAnalogStereo adc1;
AudioConnection patchCord1(sine1, 0, adc1, 0);
AudioConnection patchCord2(adc1, 0, usb1, 0);
The sine generator is set up in other code and the schema works if I send the sine to the audio board instead of the ADC, however all I get out of the adc1 connection is noise. Is there a way to drive the adc from the sine generator?
Joe
AudioSynthWaveformSine sine1;
AudioInputAnalogStereo adc1;
AudioConnection patchCord1(sine1, 0, adc1, 0);
AudioConnection patchCord2(adc1, 0, usb1, 0);
The sine generator is set up in other code and the schema works if I send the sine to the audio board instead of the ADC, however all I get out of the adc1 connection is noise. Is there a way to drive the adc from the sine generator?
Joe