Skip to content

Low end ESP32-C3 tradeoffs.#696

Open
dragonx wants to merge 1 commit intoshorepine:mainfrom
oroblancoinc:mono_22khz
Open

Low end ESP32-C3 tradeoffs.#696
dragonx wants to merge 1 commit intoshorepine:mainfrom
oroblancoinc:mono_22khz

Conversation

@dragonx
Copy link
Copy Markdown

@dragonx dragonx commented May 7, 2026

The single core esp32-c3 works with AMY, but struggles. It can play single oscillator voices, but more complex sounds tend to max out the MCU.

This change hard-codes rendering in mono (AMY_NCHANS=1) for the esp32-c3, doubling the processor headeroom. It also allows for setting an arbitrary AMY_SAMPLE_RATE through build flags. Using a 22khz sample rate again doubles the processor headroom, allowing for 2 voices on somewhat more complex synths. This has obvious quality downsides, so not hardcoding it in.

The single core esp32-c3 works with AMY, but struggles.  It can play
single oscillator voices, but more complex sounds tend to max out the
MCU.

This change hard-codes rendering in mono (AMY_NCHANS=1) for the
esp32-c3, doubling the processor headeroom.  It also allows for setting
an arbitrary AMY_SAMPLE_RATE through build flags.  Using a 22khz sample
rate again doubles the processor headroom, allowing for 2 voices on
somewhat more complex synths.  This has obvious quality downsides, so
not hardcoding it in.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant