Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ getDefaultValue
Method
getDefaultValue
src/app/MenuBar.cpp:373–375 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
371
return std::log2(1e-2f);
372
}
373
float getDefaultValue() override {
374
return std::log2(1e-3f);
375
}
376
float getDisplayValue() override {
377
return std::pow(2.f, getValue() - getDefaultValue());
378
}
Callers
nothing calls this directly
Calls
1
log2
Function · 0.50
Tested by
no test coverage detected