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

Method Value

Source/ModWheelToCV.cpp:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76float ModWheelToCV::Value(int samplesIn)
77{
78 float modWheel = mModWheel ? mModWheel->GetValue(samplesIn) : ModulationParameters::kDefaultModWheel;
79 return ofMap(modWheel, 0, 1, GetMin(), GetMax(), K(clamped));
80}
81
82void ModWheelToCV::SaveLayout(ofxJSONElement& moduleInfo)
83{

Callers

nothing calls this directly

Calls 2

ofMapFunction · 0.85
GetValueMethod · 0.45

Tested by

no test coverage detected