ghostintranslation
Well-known member
Hi,
I'd like to get confirmation I'm not missing anything and that there is a bug in current version.
I'm just trying to send a signal on A0 and hear it on the MQS, but when I use both together I just get a loud constant buzz, but if I switch the adc1 for waveform1 in this code it works fine:
I also tried to use the ADC.h library instead, but similar issue, the ADC.h works fine on its own and MQS works fine on its own but when using both then there is this loud buzz coming out.
I am guessing it has to do with the timers both are using, maybe the same timer?
I know it says "experimental" on the GUI so I just want to know more about that like is it still not fixed, is there a workaround, do we know where it's coming from and just didn't have time to look at it maybe I can try something...?
Thanks
I'd like to get confirmation I'm not missing anything and that there is a bug in current version.
I'm just trying to send a signal on A0 and hear it on the MQS, but when I use both together I just get a loud constant buzz, but if I switch the adc1 for waveform1 in this code it works fine:
Code:
#include <Audio.h>
AudioInputAnalog adc1(A0);
//AudioSynthWaveform waveform1;
AudioOutputMQS mqs1;
AudioConnection patchCord1(adc1, 0, mqs1, 0);
AudioConnection patchCord2(adc1, 0, mqs1, 1);
AudioOutputI2S i2s1;
void setup() {
AudioMemory(40);
Serial.begin(9600);
while (!Serial && millis() < 5000) ;
// waveform1.frequency(40);
// waveform1.amplitude(.05);
// waveform1.begin(WAVEFORM_TRIANGLE);
}
void loop() {
}
I also tried to use the ADC.h library instead, but similar issue, the ADC.h works fine on its own and MQS works fine on its own but when using both then there is this loud buzz coming out.
I am guessing it has to do with the timers both are using, maybe the same timer?
I know it says "experimental" on the GUI so I just want to know more about that like is it still not fixed, is there a workaround, do we know where it's coming from and just didn't have time to look at it maybe I can try something...?
Thanks