Module Stream.Filter

Filters.

val first_order : ?variant:[< `Simple | `Trapezoidal Simple ] -> unit -> [< `High_pass | `Low_pass ] -> float -> sample -> float t

First order filter.

val biquad : unit -> [< `All_pass | `Band_pass | `High_pass | `Low_pass | `Notch ] -> float -> float -> sample -> float t

Biquadratic / second order filter.

val ladder : ?order:int -> unit -> [< `High_pass | `Low_pass ] -> float -> float -> float -> sample t

Moog-type n pole ladder filter.