MCPcopy 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

getParamValueMethod · 0.45
getParamSmoothValueMethod · 0.45

Calls 1

log2Function · 0.85

Tested by

no test coverage detected