pub struct Inp {}
Expand description
The (stereo) input port of the plugin
Implementations
sourceimpl Inp
impl Inp
pub fn new(_nid: &NodeId, _node_global: &NodeGlobalRef) -> Self
pub const vol: &'static str = "The volume of the two plugin input ports, applied to all channels. \ Please note that this is a linear control, to prevent inaccuracies for **1.0**. \ "
pub const sig1: &'static str = "Audio input channel 1 (left)"
pub const sig2: &'static str = "Audio input channel 2 (right)"
pub const DESC: &'static str = "Audio Input Port\n\n\ This node gives you access to the two input ports of the HexoSynth plugin. \ Build effects or what ever you can imagine with this! "
pub const HELP: &'static str = r#"Audio Input Port This node gives you access to the two input ports of the HexoSynth plugin. You can build an effects plugin with this node and the `Out` node. Or a synthesizer that reacts to audio rate control signals on these two input ports. "#
pub fn graph_fun() -> Option<GraphFun>
Trait Implementations
sourceimpl DspNode for Inp
impl DspNode for Inp
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 Inp
impl Send for Inp
impl Sync for Inp
impl Unpin for Inp
impl UnwindSafe for Inp
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