MCPcopy Create free account
hub / github.com/andrewreeman/SpectralSuite / prepareProcess

Method prepareProcess

Morph/Source/MorphInteractor.cpp:5–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include "../../shared//utilities.h"
4
5void MorphInteractor::prepareProcess(StandardFFTProcessor*)
6{
7 if(m_morphPointsChanged) {
8 m_morphPointsChanged = false;
9 std::swap(pReadArray, pWriteArray);
10 }
11 // TODO: pre calc half size
12 else if(pReadArray->size() != (this->getFftSize() / 2 ))
13 {
14 m_morphParams->triggerControlPointsChanged();
15 }
16}
17
18std::unique_ptr<StandardFFTProcessor> MorphInteractor::createSpectralProcess(int index, int fftSize, int hopSize, int sampleRate, int numOverlaps, int, int)
19{

Callers

nothing calls this directly

Calls 2

getFftSizeMethod · 0.80

Tested by

no test coverage detected