Skip to main content

wavecraft_processors/
lib.rs

1//! Reusable processor implementations for Wavecraft plugins.
2
3mod gain;
4mod oscillator;
5mod oscilloscope;
6mod passthrough;
7mod saturator;
8mod unified_filter;
9
10// Built-in processors and parameter surface.
11pub use gain::{GainDsp, GainParams};
12pub use passthrough::{PassthroughDsp, PassthroughParams};
13pub use saturator::{SaturatorDsp, SaturatorParams};
14pub use unified_filter::{UnifiedFilterDsp, UnifiedFilterMode, UnifiedFilterParams};
15
16// Oscillator processor and parameter surface.
17pub use oscillator::{Oscillator, OscillatorParams, Waveform, generate_waveform_sample};
18
19// Oscilloscope tap, channel, and frame data surface.
20pub use oscilloscope::{
21    OSCILLOSCOPE_FRAME_POINTS, OscilloscopeFrameConsumer, OscilloscopeFrameProducer,
22    OscilloscopeFrameSnapshot, OscilloscopeTap, create_oscilloscope_channel,
23};