From cd53e9ee1cc82300a801f5282d9e4cca150219a9 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Fri, 26 Apr 2019 13:28:14 +0200 Subject: [PATCH] Fix... forgot to add a connection for queue1(). --- MicroDexed.ino | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/MicroDexed.ino b/MicroDexed.ino index 6ebf1cd..71717ca 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -55,35 +55,36 @@ AudioEffectDelay delay1; AudioMixer4 mixer1; AudioMixer4 mixer2; AudioConnection patchCord0(queue1, peak1); -AudioConnection patchCord9(queue1, 0, mixer1, 0); -AudioConnection patchCord6(delay1, 0, mixer1, 1); -AudioConnection patchCord7(delay1, 0, mixer2, 2); -AudioConnection patchCord8(mixer1, delay1); -AudioConnection patchCord10(mixer1, 0, mixer2, 1); +AudioConnection patchCord1(queue1, 0, mixer1, 0); +AudioConnection patchCord2(queue1, 0, mixer2, 0); +AudioConnection patchCord3(delay1, 0, mixer1, 1); +AudioConnection patchCord4(delay1, 0, mixer2, 2); +AudioConnection patchCord5(mixer1, delay1); +AudioConnection patchCord6(mixer1, 0, mixer2, 1); #if defined(TEENSY_AUDIO_BOARD) AudioOutputI2S i2s1; -AudioConnection patchCord111(mixer2, 0, i2s1, 0); -AudioConnection patchCord112(mixer2, 0, i2s1, 1); +AudioConnection patchCord7(mixer2, 0, i2s1, 0); +AudioConnection patchCord8(mixer2, 0, i2s1, 1); AudioControlSGTL5000 sgtl5000_1; #elif defined(TGA_AUDIO_BOARD) AudioOutputI2S i2s1; AudioAmplifier volume_r; AudioAmplifier volume_l; -AudioConnection patchCord11(mixer2, volume_r); -AudioConnection patchCord12(mixer2, volume_l); -AudioConnection patchCord13(volume_r, 0, i2s1, 1); -AudioConnection patchCord14(volume_l, 0, i2s1, 0); +AudioConnection patchCord7(mixer2, volume_r); +AudioConnection patchCord8(mixer2, volume_l); +AudioConnection patchCord9(volume_r, 0, i2s1, 1); +AudioConnection patchCord10(volume_l, 0, i2s1, 0); AudioControlWM8731master wm8731_1; #else AudioOutputPT8211 pt8211_1; AudioAmplifier volume_master; AudioAmplifier volume_r; AudioAmplifier volume_l; -AudioConnection patchCord11(mixer2, 0, volume_master, 0); -AudioConnection patchCord12(volume_master, volume_r); -AudioConnection patchCord13(volume_master, volume_l); -AudioConnection patchCord14(volume_r, 0, pt8211_1, 0); -AudioConnection patchCord15(volume_l, 0, pt8211_1, 1); +AudioConnection patchCord7(mixer2, 0, volume_master, 0); +AudioConnection patchCord8(volume_master, volume_r); +AudioConnection patchCord9(volume_master, volume_l); +AudioConnection patchCord10(volume_r, 0, pt8211_1, 0); +AudioConnection patchCord11(volume_l, 0, pt8211_1, 1); #endif Dexed* dexed = new Dexed(SAMPLE_RATE);