Hi, are the pots working fine? I have tested to connect 8 pots via a analog-multiplexer ... #12
-
Hi CopyCH, as we do not have a lot of free GPIOs, i allways try to use I2C-Multiplexer or in this case I tried to use a Multiplexer like Marcel Licence uses ... it seems that any additional task ruins the audio-quality. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @ErichHeinemann thanks for the attention! In fact I have started testing ESP32 sound synthesis abilities from your forked Marcel Licence drum sampler. |
Beta Was this translation helpful? Give feedback.
Hi @ErichHeinemann thanks for the attention! In fact I have started testing ESP32 sound synthesis abilities from your forked Marcel Licence drum sampler.
About the pots: I myself have successfully tested 5 pots directly connected to the GPIOs.
About multiplexing: I think that running I2C bus is time-consuming itself, while simple (like CD74HC4067) analog multiplexer's routine should "fit between" the audio tasks.
About the multithreading: I already use both Core0 and Core1 for synthesis and FX and mixing, so there's almost equal core loading.
You can check the output with #define DEBUG_TIMING to have an idea on how mush does it take to generate, process and mix.
Routines are quite optimiz…