Hello,
I'm using the teensy3.2 and the audio adaptor for it.
Thanks to the very powerful audio library, I found the USB function in Audio System Design Tool.
In this GUI, they said the example of them are in File > Examples > Audio > HardwareTesting > PassThroughUSB
and another example is File > Examples > Audio > HardwareTesting > WavFilePlayerUSB
But these two examples both have the error when using them.
The error message are below:
Arduino: 1.6.8 (Windows 10), TD: 1.28, Board: "Teensy 3.2 / 3.1, Serial, 96 MHz optimized (overclock), US English"
Build options changed, rebuilding all
PassThroughUSB:9: error: 'AudioInputUSB' does not name a type
AudioInputUSB usb1; //xy=200,69
^
PassThroughUSB:11: error: 'usb1' was not declared in this scope
AudioConnection patchCord1(usb1, 0, i2s1, 0);
^
PassThroughUSB:12: error: 'usb1' was not declared in this scope
AudioConnection patchCord2(usb1, 1, i2s1, 1);
^
'AudioInputUSB' does not name a type
It seems that there are some problems with my library?
I'm using arduino 1.6.8, and teensyduino 1.28
And also there's another problem is that I didn't find "Audio" as the "USB type" in this way "Tools > USB Type".
Thanks!
I'm using the teensy3.2 and the audio adaptor for it.
Thanks to the very powerful audio library, I found the USB function in Audio System Design Tool.
In this GUI, they said the example of them are in File > Examples > Audio > HardwareTesting > PassThroughUSB
and another example is File > Examples > Audio > HardwareTesting > WavFilePlayerUSB
But these two examples both have the error when using them.
The error message are below:
Arduino: 1.6.8 (Windows 10), TD: 1.28, Board: "Teensy 3.2 / 3.1, Serial, 96 MHz optimized (overclock), US English"
Build options changed, rebuilding all
PassThroughUSB:9: error: 'AudioInputUSB' does not name a type
AudioInputUSB usb1; //xy=200,69
^
PassThroughUSB:11: error: 'usb1' was not declared in this scope
AudioConnection patchCord1(usb1, 0, i2s1, 0);
^
PassThroughUSB:12: error: 'usb1' was not declared in this scope
AudioConnection patchCord2(usb1, 1, i2s1, 1);
^
'AudioInputUSB' does not name a type
It seems that there are some problems with my library?
I'm using arduino 1.6.8, and teensyduino 1.28
And also there's another problem is that I didn't find "Audio" as the "USB type" in this way "Tools > USB Type".
Thanks!