usfx 0.1.5

Realtime procedurally generated sound effects
Documentation
1
2
3
4
5
6
7
8
9
pub mod distortion;

use std::fmt::Debug;

/// Generic interface for effects.
pub trait Effect: Debug + Send {
    /// Apply the effect on the buffer.
    fn apply(&mut self, buffer: &mut [f32], offset: usize);
}