Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Befaco
/ SetScale
Method
SetScale
src/random8_core/quantizer.cpp:9–13 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
Quantizer::~Quantizer() {}
8
9
void Quantizer::SetScale(uint8_t scale) {
10
if (scale < scaleCount) {
11
_scale = scale;
12
}
13
}
14
15
float Quantizer::GetValueForNote(int note) {
16
if (note < scales[_scale].notes_count) {
Callers
2
setup
Method · 0.80
setScale
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected