1#ifndef _VAE_VOICE_FILTER
2#define _VAE_VOICE_FILTER
4#include "../vae_types.hpp"
5#include "../vae_config.hpp"
8namespace vae {
namespace core {
constexpr unsigned char MaxChannels
Maximum channel count used to pre allocate buffers.
constexpr int _VAE_VOICE_FILTER_FILTERED_SIZE
Contains Typedefinitions and basic structures use by the public API and internally.
unsigned int Size
How the elements are addressed in the heapbuffer.
float Sample
Default sample types used where ever possible, changing this means the engine needs to be recompiled,...
Additional data needed for filtered voices.
Real speed
Playback speed, will alter pitch.
Real lowpass
Lowpasses the signal as the value approaches 1.
Sample highpassScratch[StaticConfig::MaxChannels]
Last sample per channel for IIR filter.
Sample lowpassScratch[StaticConfig::MaxChannels]
Last sample per channel for IIR filter.
Real highpass
Highpasses the signal as the value approaches 1.
Real timeFract
Fractional time component for interpolation.