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

Method SetRoot

Source/Scale.cpp:312–320  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

310}
311
312void Scale::SetRoot(int root, bool force)
313{
314 if (root == mScale.mScaleRoot && !force)
315 return;
316
317 mScale.SetRoot(root);
318
319 NotifyListeners();
320}
321
322void Scale::SetScaleType(std::string type, bool force)
323{

Callers 7

ScaleSatisfiedMethod · 0.80
ResampleMethod · 0.80
ButtonClickedMethod · 0.80
LoadSongMethod · 0.80
PollMethod · 0.80
DrawModuleMethod · 0.80
DropdownUpdatedMethod · 0.80

Calls 1

GetPitchesPerOctaveMethod · 0.80

Tested by

no test coverage detected