How to change default setting of a subpatch?


#1

Hey :smile:

The default settings for a subpatch is:
Presets: 8
Entries pr preset: 8
Mod sources: 8
Mod destinations: 8

But I would like to change them all to zero, if possible. Maybe in a future version it could be possible for the user to set their own default settings in preferences?

Any hints to where to look would be great.

Thanks.


#2

I think the question is more, do we have to have these defaults at all :smile:
i.e. as you add presets and mod sources then we can just record the number of presets/modsources and then when we generate the compiled patch substitute in the correct number.
this means we only use the amount of memory thats required, rather than a 'just in case amount'

but of course thats a bigger change... perhaps for the mid term.


#3

Kind of like dynamic settings?. What you mean is that Axoloti should only add preset amount and mod sources that is necessary or used? And automatically update them as you add more? That sounds fine to me too. It is just very important that it is possible to not use them.

But I know it is possible to edit them now. I read somewhere in here that anothr guy had done it, but I can find the post. Could you give a hint where to find thoses settings in the firmware? It would make some things a lot easier :smile:

Thanks


#4

yes, dynamic, so if you don't add a preset, then you don't allocate space for it.

code - its in the java code, not the firmware. but bare in mind if you start editing the code, then you will have to keep it up to date, when we release a new version.

as an alternative - think about 'templates'
create a patch that you can save useful code in, this could include a sub patcher than has everything set to zero.... then you can just cut n paste this into new patches where you need one.
(use the new favourites directory to save templates in , so they are quick to get to)

this has the advantage you can have different defaults, or pre-made bits of code for all sorts of tasks.

pretty similar to the concept of 'snippets' in Max, which I find surprisingly useful