amy
amy copied to clipboard
What happens when you run out of oscs
The total number of oscs (basic AMY unit generators) is set in amy_config.h
:
#define AMY_OSCS 120
Like Bill said, 120 should be enough for anybody - for one thing, trying to run anything like that many at once on an ESP32 will run out of compute.
But in some cases, it's convenient to have a lot of oscs without needing to run them all at once: Let's say you want to set up a bunch of different patches, but you only plan to use one at a time.
Anyway, it can happen that the user asks for more oscs than are available, but because AMY has no way to send results back to Python, we don't do anything about it at the moment. Maybe patches.c:190
prints a message to stderr, but otherwise we carry on.
I tend to think we should just double the number of oscs and let other things break before running out of oscs becomes the main issue.