donperryjm
Well-known member
Works on the 3.5, doesn't on the 4.1
A2 is in the same pin location on 3.5 as is 4.1 right? That's what I am seeing.
So when I used this code on the 4.1 it doesn't give me any audio in my windows software,
A2 is in the same pin location on 3.5 as is 4.1 right? That's what I am seeing.
So when I used this code on the 4.1 it doesn't give me any audio in my windows software,
Code:
#include <Audio.h>
// GUItool: begin automatically generated code
AudioInputAnalog adc1x(A2); //xy=120,232.00000381469727
AudioFilterBiquad biquad1L; //xy=321,171
AudioAmplifier amp1L; //xy=520.0000076293945,130.00000190734863
AudioAnalyzePeak peakL; //xy=710,122
AudioOutputUSB usb2; //xy=726.0000076293945,317.00000286102295
//AudioOutputAnalog dac1; //xy=821,245
AudioConnection patchCord1(adc1x, biquad1L);
AudioConnection patchCord2(biquad1L, amp1L);
AudioConnection patchCord3(amp1L, peakL);
AudioConnection patchCord4(amp1L, 0, usb2, 0);
AudioConnection patchCord5(amp1L, 0, usb2, 1);
//AudioConnection patchCord6(amp1L, dac1);
// GUItool: end automatically generated code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}