|
| void | prepare (int kernelLength, int partition, int numInputs, int numKernels) |
| | Allocates the bank (setup thread).
|
| |
| bool | isPrepared () const noexcept |
| | Whether prepare() has run.
|
| |
| int | getLatency () const noexcept |
| | Samples between push() and tap(): one partition.
|
| |
| int | getKernelLength () const noexcept |
| | Taps of a kernel (a whole number of partitions).
|
| |
| int | getPartition () const noexcept |
| | Samples per partition.
|
| |
| int | getNumInputs () const noexcept |
| | Input lines.
|
| |
| int | getNumKernels () const noexcept |
| | Kernels the bank can hold.
|
| |
| void | setKernel (int kernel, const T *taps, unsigned inputs) noexcept |
| | Gives a kernel its taps and the lines that hear it.
|
| |
| void | removeKernel (int kernel) noexcept |
| | Fades a kernel out over the next partition.
|
| |
| bool | isKernelSilent (int kernel) const noexcept |
| | Whether the outputs of a kernel are silence now: it is not playing and nothing of it is left to hear.
|
| |
| bool | isKernelActive (int kernel) const noexcept |
| | Whether a kernel is playing, or about to.
|
| |
| void | reset () noexcept |
| | Clears the memory of the signal. The kernels stay; one that was coming lands at once.
|
| |
| int | room () const noexcept |
| | Samples that can be pushed before the next hop (1 to the partition).
|
| |
| const T * | tap (int kernel, int input) const noexcept |
| | What a kernel gives for one of its lines: room() samples, one partition late, valid until the next push().
|
| |
| void | push (const T *const *inputs, int n) noexcept |
| | Takes n samples of every input line; runs the hop when the partition fills.
|
| |
template<FloatType T>
class dspark::FirBank< T >
Long FIR kernels over shared input lines, by partitioned convolution.
- Template Parameters
-
| T | Sample type (float or double). |
Definition at line 75 of file FirBank.h.