diff --git a/README.md b/README.md index fe2b7e1..8975319 100644 --- a/README.md +++ b/README.md @@ -663,7 +663,6 @@ sources - `pluck(float, float, float)` (frequency, gain per sec, high freq damping) input is string excitation signal - `mls([float])` - `ramp()` ramp from 0 to 1 at input freq (phasor) -- `clock()` simple clock with 50% duty cycle (just a `sine() >> >(0)`) filters - `allpole()` diff --git a/src/functions.rs b/src/functions.rs index a3fb4b9..260b7e1 100644 --- a/src/functions.rs +++ b/src/functions.rs @@ -185,7 +185,6 @@ pub fn str_to_net(op: &str) -> Net32 { } else { return Net32::wrap(Box::new(soft_saw())); } } "ramp" => { return Net32::wrap(Box::new(An(Ramp::new()))); } - "clock" => { return Net32::wrap(Box::new(sine() >> map(|i: &Frame| if i[0] > 0. {1.} else {0.}))); } // -------------------- filters -------------------- "allpole" => { return Net32::wrap(Box::new(allpole())); }