mimetaur / arcify

Easily map Arc encoders to up to eight parameters on the Monome Norns
https://llllllll.co/t/arcify/22133
7 stars 2 forks source link

Adds mod for Arcify #6

Open dansimco opened 2 years ago

dansimco commented 2 years ago

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_max in 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.

mimetaur commented 2 years ago

This looks great - love the way the mod just sits on top of the existing library API. I’ll wait to see how the discussion and testing on the lines thread shakes out before we merge to master.

dansimco commented 2 years ago

I'm making some changes today, which should better use the arcify style delta scaling. I didn't notice the min/max interpolation stuff before.

mwilliams commented 1 year ago

I'm so glad I looked - I was just making this same change! Such an amazing script, Arc really enhances it!!!

dansimco commented 1 year ago

There may be a need/opportunity to refactor this given the new LFO API in the latest norns. update. I'm away from norns/home/country at the moment so I'm not totally sure but I can take a look in a couple of weeks when I'm back.