MCPcopy Create free account
hub / github.com/DamRsn/NeuralNote / reset

Method reset

Lib/DSP/Resampler.cpp:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void Resampler::reset()
34{
35 mInternalBuffer.clear();
36 mNumInputSamplesAvailable = mInitPadding;
37 mInterpolator.reset();
38
39 for (auto& lowpass_filter: mLowpassFilters)
40 lowpass_filter.reset();
41}
42
43int Resampler::processBlock(const float* inBuffer, float* outBuffer, int inNumSamples)
44{

Callers 5

cnn_testFunction · 0.45
loadAudioFileFunction · 0.45
resampleBufferFunction · 0.45
setCurrentSampleRateMethod · 0.45
noteStartedMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by 1

cnn_testFunction · 0.36