Module Audio.SampleSource

Operations on samples.

Sourcetype t = float

A sample.

Sourceval clip : t -> t

Clip a sample (ie ensure that it is between -1. and 1..

Sourceval fir : float array -> t -> t

An IIR filter with given b coefficients.

Sourceval iir : float array -> float array -> t -> t

An IIR filter with given a and b coefficients.