MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / indirectFromString

Function indirectFromString

Source/Core/CtrlrUtilities.cpp:179–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179CtrlrSysExFormulaToken indirectFromString (const String &str)
180{
181 if (str == "ByteValue")
182 return (ByteValue);
183 if (str == "LSB7bitValue")
184 return (LSB7bitValue);
185 if (str == "MSB7bitValue")
186 return (MSB7bitValue);
187 if (str == "LSB4bitValue")
188 return (LSB4bitValue);
189 if (str == "MSB4bitValue")
190 return (MSB4bitValue);
191 if (str == "GlobalVariable")
192 return (GlobalVariable);
193 if (str == "LUA")
194 return (LUAToken);
195 if (str == "Formula")
196 return (FormulaToken);
197 return (ByteValue);
198}
199
200const CtrlrMidiMessageEx midiMessageExfromString (const String &str, const int ch, const int number, const int value)
201{

Callers 1

midiMessageExfromStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected