Adds mod for Arcify #6
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pr adds mod capability for arcify
In order to make it user mappable, the mod scans for all available parameters and excludes some system params that are undesirable for mapping, the list is at the top of the file if you want to enable any of them.
Because I couldn't inspect a min and max value for arbitrary parameters, I added a "sensitivity" control. This is configured by
sens_maxin the mod file. The higher the number, the smaller the delta value will be, so increasing the maximum will also decrease the delta applied when sensitivity = 1. With some tweaking of sensitivity when mapping a param to an arc you can get pretty close to an even feel across params which scale from -1 to +1 alongside numbers in the thousands.There could well be a much more elegant way to do this :) .
Mappings save with psets, and should load fine on script load. Had to re-init the default params on load to be able to the default arcify values applied on first load.