Skip to main content

Crate wavecraft_processors

Crate wavecraft_processors 

Source
Expand description

Reusable processor implementations for Wavecraft plugins.

Structs§

GainDsp
Gain processor - applies amplitude scaling to audio.
GainParams
Parameter struct for gain processor.
Oscillator
A minimal oscillator that produces multiple waveforms.
OscillatorParams
Oscillator parameters.
OscilloscopeFrameConsumer
Consumer side of oscilloscope frame channel.
OscilloscopeFrameProducer
Producer side of oscilloscope frame channel.
OscilloscopeFrameSnapshot
Internal snapshot format with fixed-size arrays (no heap allocations).
OscilloscopeTap
Observation-only oscilloscope tap processor.
PassthroughDsp
Passthrough processor that does not modify the audio signal.
PassthroughParams
Empty parameter struct for passthrough processor.
SaturatorDsp
Soft-clip saturator DSP processor.
SaturatorParams
Parameters for the soft-clip saturator.
UnifiedFilterDsp
Unified biquad filter DSP processor.
UnifiedFilterParams
Parameters for unified filter processor.

Enums§

UnifiedFilterMode
Unified filter mode.
Waveform
Available oscillator waveform shapes.

Constants§

OSCILLOSCOPE_FRAME_POINTS
Number of points per oscilloscope frame.

Functions§

create_oscilloscope_channel
Create a lock-free oscilloscope frame channel.
generate_waveform_sample
Generate a single sample for the given waveform at the given phase (0.0–1.0).