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

Method Value

Source/PitchToSpeed.cpp:75–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75float PitchToSpeed::Value(int samplesIn)
76{
77 float bend = mPitchBend ? mPitchBend->GetValue(samplesIn) : 0;
78 return TheScale->PitchToFreq(mPitch + bend) / mReferenceFreq;
79}
80
81void PitchToSpeed::SaveLayout(ofxJSONElement& moduleInfo)
82{

Callers

nothing calls this directly

Calls 2

PitchToFreqMethod · 0.80
GetValueMethod · 0.45

Tested by

no test coverage detected