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.6K Hangout
- 66 NI News
- 858 Tech Talks
- 4.4K Native Access
- 17.5K Komplete
- 2.1K Komplete General
- 4.6K Komplete Kontrol
- 6.1K Kontakt
- 1.6K Reaktor
- 398 Battery 4
- 887 Guitar Rig & FX
- 450 Massive X & Synths
- 1.4K Other Software & Hardware
- 6.1K Maschine
- 7.8K Traktor
- 7.8K 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