pub enum Aliasing {
BandLimited,
Naive,
}Expand description
How oscillators treat harmonics above the Nyquist frequency.
Variants§
BandLimited
PolyBLEP steps for pulse and sawtooth, PolyBLAMP corners for triangle, and noise averaged over each sample. Aliases are strongly reduced, not removed.
Naive
Raw waveforms sampled at each frame. Harsh, aliased “period” sound.
Trait Implementations§
impl Copy for Aliasing
impl Eq for Aliasing
impl StructuralPartialEq for Aliasing
Auto Trait Implementations§
impl Freeze for Aliasing
impl RefUnwindSafe for Aliasing
impl Send for Aliasing
impl Sync for Aliasing
impl Unpin for Aliasing
impl UnsafeUnpin for Aliasing
impl UnwindSafe for Aliasing
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more