democloid / picoTracker

BSD 3-Clause "New" or "Revised" License
187 stars 17 forks source link

static RenderParams. Saves 43Kb memory #165

Closed democloid closed 4 months ago

democloid commented 4 months ago

@maks I had a sense that this could be done, but it was suspiciously easy. Please check this in detail in case I missed anything, but seems to work fine and makes sense because this just stores the data for each track of the last instrument using it, whereas before each instrument was savings it's own data for each track where it might have played, even if that state is not really needed once another instrument triggered on the same track.