amy icon indicating copy to clipboard operation
amy copied to clipboard

How much RAM does AMY really need?

Open bwhitman opened this issue 2 years ago • 1 comments

I was able to boot AMY on a Teensy 3.2, which has 64KB RAM. We say it needs "around 100KB" on the webpage, but I bet if you decrease AMY_OSCS to like 8 or 16 you could make it much smaller. Let's find out

bwhitman avatar Dec 16 '23 15:12 bwhitman

back of the envelope is at 120 oscs and reverb and chorus on, on an arm64 machine, we alloc a total of 117KB.

the sizeof(synthinfo) is 437 bytes.

setting AMY_OSCS to 240, we alloc 177KB instead of 117KB. So 60KB for 120 oscillators, so 0.5 KB / oscillator.

bwhitman avatar Feb 11 '24 14:02 bwhitman