Trait spectrusty::audio::SampleDelta
source · pub trait SampleDelta: Copy + Default {
fn sample_delta(self, after: Self) -> Option<Self>;
}
Expand description
This trait is being used to calculate sample amplitude differences (∆).
Required Methods§
sourcefn sample_delta(self, after: Self) -> Option<Self>
fn sample_delta(self, after: Self) -> Option<Self>
Returns the difference (if any) between after
and self
(before).