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

Method NumTonesInScale

Source/Scale.cpp:884–890  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

882}
883
884int ScalePitches::NumTonesInScale() const
885{
886 int numTones = (int)mScalePitches[mScalePitchesFlip].size();
887 if (numTones == 0)
888 numTones = TheScale->GetPitchesPerOctave();
889 return numTones;
890}
891
892int ScalePitches::GetScalePitch(int index) const
893{

Callers 15

RowToPitchMethod · 0.45
OnTransportAdvancedMethod · 0.45
OnScaleChangedMethod · 0.45
GetPitchForBucketMethod · 0.45
CreateUIControlsMethod · 0.45
DrawModuleMethod · 0.45
OnScaleChangedMethod · 0.45
CheckboxUpdatedMethod · 0.45
PlayNoteMethod · 0.45
PlayNoteMethod · 0.45
RowToPitchMethod · 0.45
GetPush2LayoutMethod · 0.45

Calls 2

sizeMethod · 0.80
GetPitchesPerOctaveMethod · 0.80

Tested by 2

RowToPitchMethod · 0.36
GetPush2LayoutMethod · 0.36