pub struct Mix3 {}
Expand description
A 3 channel signal mixer
Implementations
sourceimpl Mix3
impl Mix3
pub fn new(_nid: &NodeId, _node_global: &NodeGlobalRef) -> Self
pub const ch1: &'static str = "Channel 1 Signal input"
pub const ch2: &'static str = "Channel 2 Signal input"
pub const ch3: &'static str = "Channel 3 Signal input"
pub const vol1: &'static str = "Channel 1 volume"
pub const vol2: &'static str = "Channel 2 volume"
pub const vol3: &'static str = "Channel 3 volume"
pub const ovol: &'static str = "Output volume of the sum"
pub const sig: &'static str = "Mixed signal output"
pub const DESC: &'static str = r#"3 Ch. Signal Mixer A very simple 3 channel signal mixer. You can mix anything, from audio signals to control signals. "#
pub const HELP: &'static str = r#"3 Channel Signal Mixer Just a small 3 channel mixer to create a sum of multiple signals. You can mix anything, from audio signals to control signals. There is even a convenient output volume knob, to turn down the output. "#
pub fn graph_fun() -> Option<GraphFun>
Trait Implementations
sourceimpl DspNode for Mix3
impl DspNode for Mix3
sourcefn set_sample_rate(&mut self, _srate: f32)
fn set_sample_rate(&mut self, _srate: f32)
Updates the sample rate for the node.
sourcefn process(
&mut self,
ctx: &mut dyn NodeAudioContext,
_ectx: &mut NodeExecContext,
_nctx: &NodeContext<'_>,
_atoms: &[SAtom],
inputs: &[ProcBuf],
outputs: &mut [ProcBuf],
ctx_vals: LedPhaseVals<'_>
)
fn process(
&mut self,
ctx: &mut dyn NodeAudioContext,
_ectx: &mut NodeExecContext,
_nctx: &NodeContext<'_>,
_atoms: &[SAtom],
inputs: &[ProcBuf],
outputs: &mut [ProcBuf],
ctx_vals: LedPhaseVals<'_>
)
The code DSP function. Read more
Auto Trait Implementations
impl RefUnwindSafe for Mix3
impl Send for Mix3
impl Sync for Mix3
impl Unpin for Mix3
impl UnwindSafe for Mix3
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more