MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / GetPitchForBucket

Method GetPitchForBucket

Source/NoteSinger.cpp:139–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139int NoteSinger::GetPitchForBucket(int bucket)
140{
141 return TheScale->GetPitchFromTone(bucket + TheScale->NumTonesInScale() * 2);
142}
143
144void NoteSinger::ButtonClicked(ClickButton* button, double time)
145{

Callers

nothing calls this directly

Calls 2

GetPitchFromToneMethod · 0.80
NumTonesInScaleMethod · 0.45

Tested by

no test coverage detected