MCPcopy 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

7Quantizer::~Quantizer() {}
8
9void Quantizer::SetScale(uint8_t scale) {
10 if (scale < scaleCount) {
11 _scale = scale;
12 }
13}
14
15float Quantizer::GetValueForNote(int note) {
16 if (note < scales[_scale].notes_count) {

Callers 2

setupMethod · 0.80
setScaleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected