`#include <onepole.h>`

class dsp::onepole< T, Coeff >

Definition at line 34 of file onepole.h.

## Public Types | |

typedef std::complex< double > | cfloat |

## Public Member Functions | |

template<class U> | |

void | copy_coeffs (const onepole< U > &src) |

bool | empty () |

float | freq_gain (float freq, float sr) |

cfloat | h_z (const cfloat &z) |

T | process (T in) |

Process one sample. | |

T | process_ap (T in, float &x1, float &y1, float a0) |

Process one sample using external state variables, including filter coeff. | |

T | process_ap (T in, float &x1, float &y1) |

Process one sample using external state variables. | |

T | process_ap (T in) |

Process one sample, assuming it's an allpass filter (optimized special case). | |

T | process_hp (T in) |

Process one sample, assuming it's a highpass filter (optimized special case). | |

T | process_lp (T in) |

Process one sample, assuming it's a lowpass filter (optimized special case). | |

void | reset () |

void | sanitize () |

void | set_ap (float fc, float sr) |

Set coefficients for an allpass filter. | |

void | set_ap_w (float w) |

void | set_hp (float fc, float sr) |

Set coefficients for a highpass filter. | |

void | set_lp (float fc, float sr) |

Set coefficients for a lowpass filter. | |

## Public Attributes | |

Coeff | a0 |

Coeff | a1 |

Coeff | b1 |

T | x1 |

T | y1 |

The documentation for this class was generated from the following file:

- calf-0.0.18.2/src/calf/onepole.h

Generated by Doxygen 1.6.0 Back to index