Modify script "Notes per octave"?

Hi, I hope I'm in the right place for my question, which is: The script "Notes per octave", found among the presets of the script editor, has worked well for me, but now I would need to be able to automate the "Notes per octave" field's value by mIdi cc message. The value range in the original script is 1-1200
As I'm not able to edit the script beyond a trial-and-error approach, I would really appreciate if somebody could tell me if it would be possible to downscale the value range to 1-127 and make it "learnable" to midi cc messages.
Thanks!
Comments
-
You’ll need to switch from
ui_value_edit
toui_knob
if you want to make it MIDI CC learnable. So it should look like this:declare ui_knob $Notes (1, 1200, 1)
1 is the minimum value and 1200 is the maximum. Adjust those numbers based on what you need.
1 -
Thank you, that was very helpful!
0
Categories
- All Categories
- 18 Welcome
- 1.7K Hangout
- 67 NI News
- 884 Tech Talks
- 4.5K Native Access
- 17.5K Komplete
- 2.2K Komplete General
- 4.8K Komplete Kontrol
- 6.2K Kontakt
- 1.1K Reaktor
- 406 Battery 4
- 909 Guitar Rig & FX
- 461 Massive X & Synths
- 1.5K Other Software & Hardware
- 6.3K Maschine
- 8.1K Traktor
- 8.1K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators