Check My CC Transform Script Please? I'm New

And by new, I mean I've been reading the forum and manual for about two hours haha
Basically I just want a script to change incoming CC#0 to CC#35 on all channels and output byte 2 as it came on CC#0. Here's what I've got so far
on midi_in
if ($MIDI_COMMAND = $MIDI_COMMAND_CC and $MIDI_BYTE_1 = 0)
set_midi ($MIDI_COMMAND_CC,35)
end if
end on
Comments
-
set_midi
is only for multiscript, which might be what you want. But this would work on the instrument level:on controller if ($CC_NUM = 0) set_controller(35, %CC[$CC_NUM]) end if end on
I'm also new, so I don't know much about multiscripts or anything at all.
0 -
You do need a multiscript (click KSP near top R). Your script looks fine, except set_midi in the 3rd line needs another parameter - $MIDI_BYTE_2. Also if you want to kill the cc#0 you could put in ignore_MIDI.
Or (much simpler) you could just replace the 3rd line with
set_event_par($EVENT_ID, $EVENT_PAR_MIDI_CHANNEL, 35)
Paste in your code and click Apply.
0
Categories
- All Categories
- 21 Welcome
- 744 Hangout
- 73 NI News
- 351 Tech Talks
- 1.6K Native Access
- 7.2K Komplete
- 932 Komplete General
- 1.7K Komplete Kontrol
- 2.6K Kontakt
- 654 Reaktor
- 228 Battery 4
- 393 Guitar Rig & FX
- 263 Massive X & Synths
- 389 Other Software & Hardware
- 3.1K Maschine
- 24 Sampling Room
- 3.8K Traktor
- 3.5K 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