2 Tone Generators on RPi 1 with further reduced polyphony

Experiment for https://github.com/probonopd/MiniDexed/discussions/516#discussioncomment-6331321
rpi1-2tg
probonopd 1 year ago committed by GitHub
parent 87dc5ce432
commit 1331aa69ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/config.h

@ -32,7 +32,7 @@ class CConfig // Configuration for MiniDexed
{ {
public: public:
#ifndef ARM_ALLOW_MULTI_CORE #ifndef ARM_ALLOW_MULTI_CORE
static const unsigned ToneGenerators = 1; static const unsigned ToneGenerators = 2;
#else #else
static const unsigned TGsCore1 = 2; // process 2 TGs on core 1 static const unsigned TGsCore1 = 2; // process 2 TGs on core 1
static const unsigned TGsCore23 = 3; // process 3 TGs on core 2 and 3 each static const unsigned TGsCore23 = 3; // process 3 TGs on core 2 and 3 each
@ -40,7 +40,7 @@ public:
#endif #endif
#if RASPPI == 1 #if RASPPI == 1
static const unsigned MaxNotes = 8; // polyphony static const unsigned MaxNotes = 4; // polyphony
#else #else
static const unsigned MaxNotes = 16; static const unsigned MaxNotes = 16;
#endif #endif

Loading…
Cancel
Save