pub enum Stem {
Pulse1,
Pulse2,
Triangle,
Noise,
Dmc,
Expansion,
Interaction,
}Expand description
One rendered track.
Variants§
Pulse1
Pulse 1, alone through the pulse table.
Pulse2
Pulse 2, alone through the pulse table.
Triangle
The triangle, alone through the TND table (tnd_table[3 * tri]).
Noise
The noise channel, alone (tnd_table[2 * noise]).
Dmc
The DMC, alone (tnd_table[dmc]).
Expansion
The cartridge’s expansion audio, which the mixer adds linearly.
Interaction
The mixer’s interaction term: the mix minus the six stems above, so that all seven sum to the mix. See the module docs.
Implementations§
Trait Implementations§
impl Copy for Stem
impl Eq for Stem
impl StructuralPartialEq for Stem
Auto Trait Implementations§
impl Freeze for Stem
impl RefUnwindSafe for Stem
impl Send for Stem
impl Sync for Stem
impl Unpin for Stem
impl UnsafeUnpin for Stem
impl UnwindSafe for Stem
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