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

Method Value

Source/MacroSlider.cpp:142–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142float MacroSlider::Mapping::Value(int samplesIn)
143{
144 mOwner->ComputeSliders(samplesIn);
145 return ofMap(mOwner->GetValue(), 0, 1, GetMin(), GetMax(), K(clamp));
146}
147
148void MacroSlider::Mapping::Draw()
149{

Callers

nothing calls this directly

Calls 3

ofMapFunction · 0.85
ComputeSlidersMethod · 0.80
GetValueMethod · 0.45

Tested by

no test coverage detected