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

Method GetStep

Source/StepSequencer.cpp:366–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364}
365
366int StepSequencer::GetStep(int step, int pitch)
367{
368 return ofClamp(mGrid->GetVal(step, pitch), 0, 1) * 127;
369}
370
371void StepSequencer::SetStep(int step, int pitch, int velocity)
372{

Callers

nothing calls this directly

Calls 2

ofClampFunction · 0.85
GetValMethod · 0.80

Tested by

no test coverage detected