MCPcopy Create free account
hub / github.com/christophhart/HISE / getTableValue

Method getTableValue

hi_scripting/scripting/api/ScriptingApiContent.cpp:3155–3166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3153}
3154
3155float ScriptingApi::Content::ScriptTable::getTableValue(float inputValue)
3156{
3157 if (auto t = getCachedTable())
3158 {
3159 if (SampleLookupTable *st = dynamic_cast<SampleLookupTable*>(t))
3160 {
3161 return st->getInterpolatedValue(inputValue, sendNotificationAsync);
3162 }
3163 }
3164
3165 return 0.0f;
3166};
3167
3168
3169void ScriptingApi::Content::ScriptTable::setSnapValues(var snapValueArray)

Callers 1

onNoteOffFunction · 0.45

Calls 1

getInterpolatedValueMethod · 0.45

Tested by

no test coverage detected