21namespace jsa::cicuetea {
44 Splicer(Eigen::Index newBlockSize, Eigen::Index newHopSize);
51 void pushBlock(
const Eigen::ArrayXd& block);
89 Eigen::ArrayXd buffer;
90 Eigen::Index bufferSize;
91 Eigen::Index blockSize;
92 Eigen::Index overlapSize;
Eigen::Index getHopSize() const
Gets the current hop size.
Definition Splicer.hpp:79
void pushBlock(const Eigen::ArrayXd &block)
Pushes a new audio block into the buffer.
Definition Splicer.cpp:30
Eigen::Index getBlockSize() const
Gets the current block size.
Definition Splicer.hpp:65
Splicer(Eigen::Index newBlockSize, Eigen::Index newHopSize)
Constructor sets the block size and hop size for the splicer.
Definition Splicer.cpp:18
double getSample()
Retrieves the next sample from the buffer.
Definition Splicer.cpp:44
Eigen::Index getBufferSize() const
Gets the current buffer size.
Definition Splicer.hpp:86
Eigen::Index getOverlapSize() const
Gets the current overlap size.
Definition Splicer.hpp:72