MCPcopy Create free account
hub / github.com/LMMS/lmms / process

Method process

plugins/lb302/lb302.cpp:184–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182
183
184float lb302FilterIIR2::process(const float& samp)
185{
186 float ret = vcf_a*vcf_d1 + vcf_b*vcf_d2 + vcf_c*samp;
187 // Delayed samples for filter
188 vcf_d2 = vcf_d1;
189 vcf_d1 = ret;
190
191 if(fs->dist > 0)
192 ret=m_dist->nextSample(ret);
193
194 // output = IIR2 + dry
195 return ret;
196}
197
198
199//

Callers 2

processAudioBufferMethod · 0.45
playMethod · 0.45

Calls 11

mixerFunction · 0.85
GET_INCFunction · 0.85
sinSampleFunction · 0.85
expSampleFunction · 0.85
noiseSampleFunction · 0.85
oscillateFunction · 0.85
pdToLenFunction · 0.85
processingSampleRateMethod · 0.80
envRecalcMethod · 0.80
nextSampleMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected