Just I got audio board and try send by i2s, signal from mic to DAC (DAC use like SEND output) for external FX and go back with signal from FX to
ADC AudioInputAnalog (like RETURN FX) and mixing signals together and send by i2s to line out or headphone. Simple but not working
if I use i2s to i2s hardware test sketch, all working nice but if connecting ADC/DAC then is no signal on line out audio board. I tried couple wiring method and still no success.
Is possible run ADC DAC and i2s IN/OUT in the same time?
ADC AudioInputAnalog (like RETURN FX) and mixing signals together and send by i2s to line out or headphone. Simple but not working
if I use i2s to i2s hardware test sketch, all working nice but if connecting ADC/DAC then is no signal on line out audio board. I tried couple wiring method and still no success.
Is possible run ADC DAC and i2s IN/OUT in the same time?
Code:
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
// GUItool: begin automatically generated code
AudioInputI2S i2s1; //xy=306.25000762939453,423.75000381469727
AudioInputAnalog adc1; //xy=307.5000343322754,473.75000762939453
AudioOutputAnalog dac1; //xy=453.75000762939453,255.00000762939453
AudioMixer4 mixer1; //xy=473.75000762939453,441.2500057220459
AudioOutputI2S i2s2; //xy=638.7500114440918,416.25000381469727
AudioConnection patchCord1(i2s1, 0, mixer1, 0);
AudioConnection patchCord2(i2s1, 0, dac1, 0);
AudioConnection patchCord3(adc1, 0, mixer1, 1);
AudioConnection patchCord4(mixer1, 0, i2s2, 0);
AudioConnection patchCord5(mixer1, 0, i2s2, 1);
AudioControlSGTL5000 sgtl5000_1; //xy=474.50000762939453,375.0000057220459
// GUItool: end automatically generated code