Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DISTRHO/Cardinal
/ getValue
Method
getValue
src/override/MenuBar.cpp:389–391 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
387
APP->scene->rackScroll->setZoom(std::pow(2.f, value));
388
}
389
float getValue() override {
390
return std::log2(APP->scene->rackScroll->getZoom());
391
}
392
float getMinValue() override {
393
return -2.f;
394
}
Callers
2
getParamValue
Method · 0.45
getParamSmoothValue
Method · 0.45
Calls
1
log2
Function · 0.85
Tested by
no test coverage detected