pub struct FbWr {
fb_wr: Box<SharedFeedbackWriter>,
}
Expand description
A simple amplifier
Fields
fb_wr: Box<SharedFeedbackWriter>
Implementations
sourceimpl FbWr
impl FbWr
pub fn new(nid: &NodeId, node_global: &NodeGlobalRef) -> Self
pub const inp: &'static str = "Signal input"
pub const DESC: &'static str = "Feedback Delay Writer\n\n\ HexoSynth does not allow direct feedback cycles in it's graph.\n\ To make feedback possible anyways the `FbWr` and `FbRd` nodes are provided.\n\ This node allows you to write a signal into the corresponsing signal delay buffer.\n\ Use `FbRd` for using the signal. The delay is **3.14ms**."
pub const HELP: &'static str = r#"Feedback Delay Writer HexoSynth does not allow direct feedback cycles in it's graph. To make feedback possible anyways the `FbWr` and `FbRd` nodes are provided. This node allows you to send a signal into the corresponding `FbWr` signal delay. The instance id of the node defines which `FbWr` and `FbRd` are connected. That means `FbRd 0` is connected to the corresponding `FbWr 0`. You can use the signal multiple times by connecting the `FbRd 0` ~~sig~~ port to multiple inputs. The delay is always **3.14ms**, regardless of the sampling rate the synthesizer is running at. "#
pub fn graph_fun() -> Option<GraphFun>
Trait Implementations
sourceimpl DspNode for FbWr
impl DspNode for FbWr
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 FbWr
impl Send for FbWr
impl Sync for FbWr
impl Unpin for FbWr
impl UnwindSafe for FbWr
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