I can't get Windows to see the USB Audio device of a recently purchased Teensy 4.
I've set the board type to Audio:
I'm running a simple passthrough sketch. (I have an Audio Shield attached using the double-decker pins):
When I plug it into my Windows 10 machine, it doesn't enumerate as an audio device.
I have had previous audio sketches on previous Teensies work just fine as devices, so is this a Teensy 4 thing?
I also tried with the Serial + MIDI + Audio device type, same problem. Just the Serial type enumerates fine as a serial port.
I've set the board type to Audio:
I'm running a simple passthrough sketch. (I have an Audio Shield attached using the double-decker pins):
Code:
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#define LED_PIN 13
// GUItool: begin automatically generated code
AudioInputUSB usb1; //xy=475,240
AudioInputI2S i2s2; //xy=475,326
AudioOutputUSB usb2; //xy=917,324
AudioOutputI2S i2s1; //xy=920,242
AudioConnection patchCord1(usb1, 0, i2s1, 0);
AudioConnection patchCord2(usb1, 1, i2s1, 1);
AudioConnection patchCord3(i2s2, 0, usb2, 0);
AudioConnection patchCord4(i2s2, 1, usb2, 1);
AudioControlSGTL5000 sgtl5000_1; //xy=485,128
// GUItool: end automatically generated code
void setup() {
AudioMemory(20);
sgtl5000_1.enable();
sgtl5000_1.inputSelect(AUDIO_INPUT_LINEIN);
sgtl5000_1.volume(0.5f);
pinMode(LED_PIN, OUTPUT);
}
void loop() {
digitalWrite(LED_PIN, (millis() & 64) ? HIGH : LOW);
delay(8);
}
When I plug it into my Windows 10 machine, it doesn't enumerate as an audio device.
I have had previous audio sketches on previous Teensies work just fine as devices, so is this a Teensy 4 thing?
I also tried with the Serial + MIDI + Audio device type, same problem. Just the Serial type enumerates fine as a serial port.
Last edited: