| 153 | } |
| 154 | |
| 155 | double CtrlrSysexProcessor::getValueFromSysExData (const Array<CtrlrSysexToken> &tokens, const CtrlrMidiMessageEx &message) |
| 156 | { |
| 157 | double v = 0; |
| 158 | |
| 159 | for (int i=0; i<tokens.size(); i++) |
| 160 | { |
| 161 | if (tokens[i].isHoldingValue()) |
| 162 | { |
| 163 | v += indirectReverseOperation (*(message.m.getRawData()+i), tokens[i].getType()); |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | return (v); |
| 168 | } |
| 169 | |
| 170 | uint8 CtrlrSysexProcessor::getRolandSplit (const int value, const int byteNum) |
| 171 | { |
no test coverage detected