darioconcilio
Well-known member
Hi guys,
I'm working with Teensy 3.6 and DACS.
As you can see in the pasted example, I'm trying to use the object DACS and send out 2 different mono signals to 2 mono outputs (destination = two loudspeakers).
I'd like to hear sine1 only in left channel (PAN 100% LEFT) and string1 (PAN 100% RIGHT) in right channel, but actually their out they are summed and mixed into a mono signal (PAN 50% LEFT, PAN 50% RIGHT).
Is it possible to use the 2 channels independently? If yes, how?
Thanks in advance for your precious advice.
Best,
DC
I'm working with Teensy 3.6 and DACS.
Code:
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
// GUItool: begin automatically generated code
AudioSynthWaveformSine sine1; //xy=484,352
AudioSynthKarplusStrong string1; //xy=490,444
AudioOutputAnalogStereo dacs1; //xy=706,404
AudioConnection patchCord1(sine1, 0, dacs1, 0);
AudioConnection patchCord2(string1, 0, dacs1, 1);
// GUItool: end automatically generated code
As you can see in the pasted example, I'm trying to use the object DACS and send out 2 different mono signals to 2 mono outputs (destination = two loudspeakers).
I'd like to hear sine1 only in left channel (PAN 100% LEFT) and string1 (PAN 100% RIGHT) in right channel, but actually their out they are summed and mixed into a mono signal (PAN 50% LEFT, PAN 50% RIGHT).
Is it possible to use the 2 channels independently? If yes, how?
Thanks in advance for your precious advice.
Best,
DC