Provide a means for user scripts to expose configurable parameters. These could be e.g. MIDI channels, CC numbers, sequence lengths, timing values, etc. These could be stored in user configuration along with the loaded scripts, or set/changed on the fly.
Why
This would improve utility, discoverability, and accessibility of user scripts and make them feel more "modular".
Considerations
The ability to set variables to an env already exists. This is effectively just metadata explicitly calling these out.
Types might be neat but that would be a larger lift.
Summary
Provide a means for user scripts to expose configurable parameters. These could be e.g. MIDI channels, CC numbers, sequence lengths, timing values, etc. These could be stored in user configuration along with the loaded scripts, or set/changed on the fly.
Why
This would improve utility, discoverability, and accessibility of user scripts and make them feel more "modular".
Considerations