pub fn stride_delay(
props: Value,
delay_ms: impl Into<ElemNode>,
fb: impl Into<ElemNode>,
x: impl Into<ElemNode>,
) -> NodeExpand description
Stride-interpolated delay helper (mono).
delay_ms and fb are signal children read at sample rate by the
native node. Use el::const_with_key(...) for fast-path parameter
updates, or any signal expression for modulation.
§Props (structural, not modulation targets)
| Key | Type | Default | Notes |
|---|---|---|---|
key | string | — | Optional stable node identity |
maxDelayMs | number | 1000 | Maximum delay buffer length |
transitionMs | number | 100 | Crossfade length in ms |
bigLeapMode | string | “linear” | “linear” or “step” |
§Children layout
[delay_ms, fb, audio_input]
§Example
ⓘ
use elemaudio_rs::{Graph, el, extra};
use serde_json::json;
let delayed = extra::stride_delay(
json!({ "maxDelayMs": 1500, "transitionMs": 60 }),
el::const_with_key("delay", 250.0), // delay_ms signal
el::const_with_key("fb", 0.3), // fb signal
el::r#in(json!({"channel": 0}), None), // audio input
);