MCPcopy Create free account
hub / github.com/VCVRack/Befaco / GetValueForNote

Method GetValueForNote

src/random8_core/quantizer.cpp:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15float Quantizer::GetValueForNote(int note) {
16 if (note < scales[_scale].notes_count) {
17 return scales[_scale].notes[note];
18 }
19 return 0.0f;
20}
21
22QuantizeResponse Quantizer::Quantize_simple(float in) {
23 QuantizeResponse response;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected