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

Method SetRandomSeptatonicScale

Source/Scale.cpp:349–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349void Scale::SetRandomSeptatonicScale()
350{
351 mScaleIndex = gRandom() % mNumSeptatonicScales + 1;
352 mScale.SetScaleType(mScales[mScaleIndex].mName);
353}
354
355void Scale::SetAccidentals(const std::vector<Accidental>& accidentals)
356{

Callers 1

PollMethod · 0.80

Calls 1

SetScaleTypeMethod · 0.80

Tested by

no test coverage detected