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

Method GetBufferValue

Source/ModulationChain.cpp:107–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107float ModulationChain::GetBufferValue(int sampleIdx)
108{
109 if (mBuffer != nullptr && sampleIdx >= 0 && sampleIdx < gBufferSize)
110 return mBuffer[sampleIdx];
111 return 0;
112}
113
114Modulations::Modulations(bool isGlobalEffect)
115{

Callers 3

DrawModuleMethod · 0.80
DrawModuleMethod · 0.80
DrawModuleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected