When I select USB type 'Audio', the driver loads perfectly, the Teensy Digital Audio device appears in Windows recording devices and everything works fine. The problem I'm having is that I also need a serial port. When I select USB type 'Serial + MIDI + Audio' I get four Teensy MIDI/Audio devices in my device manager 1 works and 3 have "This device cannot start. (Code 10)" errors.
When I get these errors, the Teensy Audio device is not present and neither is the serial port.
An help on how to get the USB to ennumerate as an Audio device and a serial port (I'm not using MIDI in my application), would be appreciated
I'm using Arduino IDE 1.6.9
Here is the Audio Setup portion of my Sketch:
AudioInputI2S i2s1;
AudioOutputUSB usb1;
AudioInputUSB usb2;
AudioSynthWaveformSine lo1;
AudioSynthWaveformSine lo2;
AudioFilterFIR BB1;
AudioFilterFIR BB2;
AudioFilterFIR BB3;
AudioEffectMultiply multiply1;
AudioEffectMultiply multiply2;
AudioEffectMultiply multiply3;
AudioMixer4 mixer1;
AudioMixer4 mixer2;
AudioFilterFIR IF1;
AudioPlayQueue DAC_IN;
AudioOutputI2S i2s2;
AudioRecordQueue BB_OUT;
AudioOutputAnalog dac1;
AudioConnection patchCord1(i2s1, 0, usb1, 0);
AudioConnection patchCord2(i2s1, 1, usb1, 1);
AudioConnection patchCord3(i2s1, 0, BB1, 0);
AudioConnection patchCord4(i2s1, 1, BB2, 0);
AudioConnection patchCord5(BB2, 0, multiply2, 1);
AudioConnection patchCord6(lo2, 0, multiply2, 0);
AudioConnection patchCord7(lo1, 0, multiply1, 0);
AudioConnection patchCord8(lo1, 0, multiply3, 0);
AudioConnection patchCord9(BB1, 0, multiply1, 1);
AudioConnection patchCord10(multiply2, 0, mixer1, 1);
AudioConnection patchCord11(multiply1, 0, mixer1, 0);
AudioConnection patchCord12(mixer1, IF1);
AudioConnection patchCord13(IF1, 0, multiply3, 1);
AudioConnection patchCord14(multiply3, BB3);
AudioConnection patchCord15(BB3, 0, mixer2, 0);
AudioConnection patchCord16(mixer2, 0, BB_OUT, 0);
AudioConnection patchCord17(DAC_IN, dac1);
AudioConnection patchCord18(DAC_IN, 0, i2s2, 0);
AudioConnection patchCord19(mixer2, 0, i2s2, 1);
AudioControlSGTL5000 codec;
When I get these errors, the Teensy Audio device is not present and neither is the serial port.
An help on how to get the USB to ennumerate as an Audio device and a serial port (I'm not using MIDI in my application), would be appreciated
I'm using Arduino IDE 1.6.9
Here is the Audio Setup portion of my Sketch:
AudioInputI2S i2s1;
AudioOutputUSB usb1;
AudioInputUSB usb2;
AudioSynthWaveformSine lo1;
AudioSynthWaveformSine lo2;
AudioFilterFIR BB1;
AudioFilterFIR BB2;
AudioFilterFIR BB3;
AudioEffectMultiply multiply1;
AudioEffectMultiply multiply2;
AudioEffectMultiply multiply3;
AudioMixer4 mixer1;
AudioMixer4 mixer2;
AudioFilterFIR IF1;
AudioPlayQueue DAC_IN;
AudioOutputI2S i2s2;
AudioRecordQueue BB_OUT;
AudioOutputAnalog dac1;
AudioConnection patchCord1(i2s1, 0, usb1, 0);
AudioConnection patchCord2(i2s1, 1, usb1, 1);
AudioConnection patchCord3(i2s1, 0, BB1, 0);
AudioConnection patchCord4(i2s1, 1, BB2, 0);
AudioConnection patchCord5(BB2, 0, multiply2, 1);
AudioConnection patchCord6(lo2, 0, multiply2, 0);
AudioConnection patchCord7(lo1, 0, multiply1, 0);
AudioConnection patchCord8(lo1, 0, multiply3, 0);
AudioConnection patchCord9(BB1, 0, multiply1, 1);
AudioConnection patchCord10(multiply2, 0, mixer1, 1);
AudioConnection patchCord11(multiply1, 0, mixer1, 0);
AudioConnection patchCord12(mixer1, IF1);
AudioConnection patchCord13(IF1, 0, multiply3, 1);
AudioConnection patchCord14(multiply3, BB3);
AudioConnection patchCord15(BB3, 0, mixer2, 0);
AudioConnection patchCord16(mixer2, 0, BB_OUT, 0);
AudioConnection patchCord17(DAC_IN, dac1);
AudioConnection patchCord18(DAC_IN, 0, i2s2, 0);
AudioConnection patchCord19(mixer2, 0, i2s2, 1);
AudioControlSGTL5000 codec;