Added holger's latest patch by hand

pull/3/head
Dirk Niggemann 5 years ago
parent aabcb40f23
commit b63b89ed10
  1. 29
      MicroDexed.ino

@ -42,8 +42,7 @@ AudioPlayQueue dexed1;
AudioAnalyzePeak peak1; AudioAnalyzePeak peak1;
AudioEffectDelay delay_r; AudioEffectDelay delay_r;
AudioEffectDelay delay_l; AudioEffectDelay delay_l;
AudioEffectFreeverb freeverb_r; iAudioEffectFreeverbStereo freeverbs1;
AudioEffectFreeverb freeverb_l;
AudioEffectModulatedDelay modchorus_r; AudioEffectModulatedDelay modchorus_r;
AudioEffectModulatedDelay modchorus_l; AudioEffectModulatedDelay modchorus_l;
#if MOD_FILTER_OUTPUT != MOD_NO_FILTER_OUTPUT #if MOD_FILTER_OUTPUT != MOD_NO_FILTER_OUTPUT
@ -98,30 +97,32 @@ AudioConnection patchCord24(delay_r, 0, delay_mixer_r, 2);
AudioConnection patchCord25(delay_l, 0, delay_mixer_l, 2); AudioConnection patchCord25(delay_l, 0, delay_mixer_l, 2);
AudioConnection patchCord26(delay_fb_mixer_r, delay_r); AudioConnection patchCord26(delay_fb_mixer_r, delay_r);
AudioConnection patchCord27(delay_fb_mixer_l, delay_l); AudioConnection patchCord27(delay_fb_mixer_l, delay_l);
AudioConnection patchCord28(freeverb_r, 0, reverb_mixer_r, 1); AudioConnection patchCord28(delay_mixer_r, 0, freeverbs1, 1);
AudioConnection patchCord29(freeverb_l, 0, reverb_mixer_l, 1); AudioConnection patchCord29(delay_mixer_l, 0, freeverbs1, 1);
AudioConnection patchCord30(reverb_mixer_r, volume_r); AudioConnection patchCord30(freeverbs1, 0, reverb_mixer_r, 1);
AudioConnection patchCord31(reverb_mixer_l, volume_l); AudioConnection patchCord31(freeverbs1, 1, reverb_mixer_l, 1);
AudioConnection patchCord32(reverb_mixer_r, volume_r);
AudioConnection patchCord33(reverb_mixer_l, volume_l);
#if defined(AUDIO_DEVICE_USB) #if defined(AUDIO_DEVICE_USB)
AudioConnection patchCord32(volume_r, 0, usb1, 0); AudioConnection patchCord34(volume_r, 0, usb1, 0);
AudioConnection patchCord33(volume_l, 0, usb1, 1); AudioConnection patchCord35(volume_l, 0, usb1, 1);
#endif #endif
#if defined(TEENSY_AUDIO_BOARD) || defined (I2S_AUDIO_ONLY) #if defined(TEENSY_AUDIO_BOARD) || defined (I2S_AUDIO_ONLY)
AudioOutputI2S i2s1; AudioOutputI2S i2s1;
AudioConnection patchCord34(volume_r, 0, i2s1, 0); AudioConnection patchCord36(volume_r, 0, i2s1, 0);
AudioConnection patchCord35(volume_l, 0, i2s1, 1); AudioConnection patchCord37(volume_l, 0, i2s1, 1);
#endif #endif
#if defined(TEENSY_AUDIO_BOARD) #if defined(TEENSY_AUDIO_BOARD)
AudioControlSGTL5000 sgtl5000_1; AudioControlSGTL5000 sgtl5000_1;
#elif defined(TGA_AUDIO_BOARD) #elif defined(TGA_AUDIO_BOARD)
AudioOutputI2S i2s1; AudioOutputI2S i2s1;
AudioConnection patchCord34(volume_r, 0, i2s1, 0); AudioConnection patchCord36(volume_r, 0, i2s1, 0);
AudioConnection patchCord35(volume_l, 0, i2s1, 1); AudioConnection patchCord37(volume_l, 0, i2s1, 1);
AudioControlWM8731master wm8731_1; AudioControlWM8731master wm8731_1;
#elif !defined(I2S_AUDIO_ONLY) #elif !defined(I2S_AUDIO_ONLY)
AudioOutputPT8211 pt8211_1; AudioOutputPT8211 pt8211_1;
AudioConnection patchCord34(volume_r, 0, pt8211_1, 0); AudioConnection patchCord36(volume_r, 0, pt8211_1, 0);
AudioConnection patchCord35(volume_l, 0, pt8211_1, 1); AudioConnection patchCord37(volume_l, 0, pt8211_1, 1);
#endif #endif
Dexed* dexed = new Dexed(SAMPLE_RATE); Dexed* dexed = new Dexed(SAMPLE_RATE);

Loading…
Cancel
Save