MCPcopy Create free account
hub / github.com/PerroEngine/Perro / delay_len

Function delay_len

perro_source/audio_stack/perro_pawdio/src/dsp.rs:277–281  ·  view source on GitHub ↗
(sample_rate: usize, channels: usize, seconds: f32)

Source from the content-addressed store, hash-verified

275 let reverb_wet = params
276 .reverb_send
277 .max(params.reflection * 0.25)
278 .clamp(0.0, 1.0);
279 // All-dry: the wet mix collapses to a passthrough, so skip the three
280 // delay-line read/writes entirely.
281 if echo_wet > WET_EPSILON || reverb_wet > WET_EPSILON {
282 // Dry source that just turned wet: pick up the lines the worker
283 // staged. Only tried on a param-refresh boundary, and never blocks.
284 if self.wet.is_none() && self.param_counter == 1 {

Callers 1

newMethod · 0.85

Calls 1

maxMethod · 0.45

Tested by

no test coverage detected