Expand description
The (stereo) output port of the plugin
Fields
input: [f32; 2]
- 0: signal channel 1
- 1: signal channel 2
Implementations
sourceimpl Out
impl Out
pub fn new(_nid: &NodeId, _node_global: &NodeGlobalRef) -> Self
pub const mono: &'static str = "If set to **Mono**, ~~ch1~~ will be sent to both output channels.\n(UI only)"
pub const vol: &'static str = "The main volume of the synthesizer output, applied to all channels. \ Please note that this is a linear control, to prevent inaccuracies for **1.0**. \ "
pub const ch1: &'static str = "Audio channel 1 (left)"
pub const ch2: &'static str = "Audio channel 2 (right)"
pub const DESC: &'static str = "Audio Output Port\n\n\ This output port node allows you to send audio signals \ to audio devices or tracks in your DAW."
pub const HELP: &'static str = r#"Audio Output Port This output port node allows you to send audio signals to audio devices or tracks in your DAW. If you need a stereo output but only have a mono signal you can use the ~~mono~~ setting to duplicate the signal on the ~~ch1~~ input to the second channel ~~ch2~~. "#
pub fn graph_fun() -> Option<GraphFun>
Trait Implementations
sourceimpl DspNode for Out
impl DspNode for Out
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 Out
impl Send for Out
impl Sync for Out
impl Unpin for Out
impl UnwindSafe for Out
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