50#include "AudioBuffer.h"
81template <
typename P,
typename T>
82concept AudioProcessor =
requires(P p,
const AudioSpec& spec, AudioBufferView<T> buf) {
84 { p.processBlock(buf) }
noexcept;
85 { p.reset() }
noexcept;
101template <
typename P,
typename T>
103 requires(P p, T sample,
int channel) {
104 { p.processSample(sample, channel) }
noexcept -> std::same_as<T>;
120template <
typename P,
typename T>
123 { p.reset() }
noexcept;
124 { p.generateBlock(buf) }
noexcept;
125 { p.getSample() }
noexcept -> std::same_as<T>;
Non-owning view over audio channel data.
A type that can prepare, process audio blocks, and reset state.
A real-time safe source processor (oscillators, noise, LFOs).
An AudioProcessor that additionally supports scalar per-sample processing.
Main namespace for the DSPark framework.