Skip to content

Where is NRP[N] Logic in Codebase? Specifically the [-2,-1] handling (token[5] maybe?) [CC,ByteValue,MSB7bitValue,99,-2]: #610

Closed Answered by unityconstruct
unityconstruct asked this question in Q&A
Discussion options

You must be logged in to vote
  • -1,-2 is stored in a token array at index[4]
  • function serves as an override for how the message is handled: NRPN ID v.s. a NRPN VALUE
CC,ByteValue,MSB7bitValue,99,-2
CC,ByteValue,LSB7bitValue,98,-2
CC,ByteValue,MSB7bitValue,6,-1
CC,ByteValue,LSB7bitValue,38,-1
  • if -2
bl = MemoryBlock(messageArray.getReference(i).m.getRawData(), messageArray.getReference(i).m.getRawDataSize());
  • else
bl = midiMessagePattern(messageArray.getReference(i), messageArray.getReference(i).getTokenArray(), getGlobalVariables());

CtrlrMidiMessageEx midiMessageExfromString | CtrlrUtilities.ccp

ret.overrideValue = tokens[4].getIntValue();

const CtrlrMidiMessageEx midiMessageExfromString (const String &str, const i…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@unityconstruct
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by unityconstruct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants