I have eight hardware controllers (pots) that I want to demux so that, say, on setting 1 they controll two ADSRs, on setting 2 they control the effects, on setting 3 they control all things filter etc. For that I wrote the attached subpatch (which I though was pretty nifty ), which works fine. But obviously I need eight of those in my main patch, yet, once I put several of them in (how many depends on the main patch), I get "region `SRAM' overflowed".
Not being a programmer, I wonder what in that patch could be so taxing, and, naturally, how I can do what I want, instead.
control.demux8.axs (5.5 KB)
and two slightly modified objects used in that patch
demux 9.axo (4.5 KB)
mux 9.axo (1.5 KB)
Oh, and just for completeness a quick main patch to test this in:
demuxembedder.axp (2.3 KB)