Crate caw_core

Crate caw_core 

Source

Re-exports§

pub use cell::Cell;
pub use cell::CellF32;
pub use cell::StereoCell;
pub use cell::StereoCellF32;
pub use cell::cell;
pub use cell::cell_default;
pub use cell::cell_f32;
pub use cell::stereo_cell_default;
pub use cell::stereo_cell_fn;
pub use stereo::Channel;
pub use stereo::Stereo;
pub use stereo::StereoPair;

Modules§

cell
sig_ops
stereo

Structs§

Const
ConstBuf
GateToTrigRisingEdge
IsNegative
IsPositive
Sig
Wrapper type for the SigT trait to simplify some trait implementations for signals. For example this allows arithmetic traits like std::ops::Add to be implemented for signals.
SigAbs
SigBoxed
SigCtx
SigShared
A wrapper of a signal which can be shallow-cloned. Use this to split a signal into two copies of itself without duplicating all the computations that produced the signal. Incurs a small performance penalty as buffered values must be copied from the underlying signal into each instance of the shared signal.
Variable
A signal whose value changes as a result of calling its set method.
Zip
Zip3
Zip4

Traits§

Buf
Filter
For signals yielding f32, this trait provides a general way of defining filters.
SigSampleIntoBufT
Similar to SigT but less flexible as it needs to populate a Vec. However this trait is possible to be boxed allowing for type erasure.
SigT
A signal with values produced for each audio sample. Values are produced in batches of a size determined by the audio driver. This is suitable for audible audio signals or controls signals that vary at the same rate as an audio signal (e.g. an envelope follower produced by analyzing an audio signal). Low-frequency signals such as LFOs should still use this type, as their value still changes smoothly at the audio sample rate despite the signal they represent typically being below perceptible audio frequencies.
Triggerable

Functions§

sig_boxed
sig_option_first_some
sig_shared
variable