I have a circuit for sgtl5000 audio codec but have 2 amplifiers on left and right output. I can only get sound on one channel when using mono source file. Can I get it to play on both at same time?
Otherwise, maybe just tie the pins together, but maybe noise, and I lose stereo capability. Wanted some tracks maybe mono, and sometimes stereo.
//////////////////////// Audio Setup ///////////////////////////
AudioPlaySdRaw raw4; //channel 4 playback
AudioPlaySdRaw raw3; //channel 4 playback
AudioPlaySdRaw raw2; //channel 4 playback
AudioPlaySdRaw raw1; //channel 4 playback
AudioMixer4 mixer1; //combines up to 4 channels, can play even more if needed by more mixers
AudioOutputI2S i2s; //I2S type playback (opposed to I2C etc)
AudioConnection patchCord1(raw4, 0, mixer1, 3);
AudioConnection patchCord2(raw3, 0, mixer1, 2);
AudioConnection patchCord3(raw2, 0, mixer1, 1);
AudioConnection patchCord4(raw1, 0, mixer1, 0);
AudioConnection patchCord5(mixer1, 0, i2s, 0);
AudioControlSGTL5000 sgtl5000; //audio codec chip
Otherwise, maybe just tie the pins together, but maybe noise, and I lose stereo capability. Wanted some tracks maybe mono, and sometimes stereo.
//////////////////////// Audio Setup ///////////////////////////
AudioPlaySdRaw raw4; //channel 4 playback
AudioPlaySdRaw raw3; //channel 4 playback
AudioPlaySdRaw raw2; //channel 4 playback
AudioPlaySdRaw raw1; //channel 4 playback
AudioMixer4 mixer1; //combines up to 4 channels, can play even more if needed by more mixers
AudioOutputI2S i2s; //I2S type playback (opposed to I2C etc)
AudioConnection patchCord1(raw4, 0, mixer1, 3);
AudioConnection patchCord2(raw3, 0, mixer1, 2);
AudioConnection patchCord3(raw2, 0, mixer1, 1);
AudioConnection patchCord4(raw1, 0, mixer1, 0);
AudioConnection patchCord5(mixer1, 0, i2s, 0);
AudioControlSGTL5000 sgtl5000; //audio codec chip