iirjdart 0.1.0 copy "iirjdart: ^0.1.0" to clipboard
iirjdart: ^0.1.0 copied to clipboard

An IIR filter library written in Dart. Highpass, lowpass, bandpass and bandstop as Butterworth, Bessel and Chebyshev Type I/II.

iirjdart #

An IIR filter library written in Dart. Highpass, lowpass, bandpass and bandstop as Butterworth, Bessel and Chebyshev Type I/II.

This library is a porting in Dart of the famous iirj library by berndporr.

alt tag

Usage #

To use this package add iirjdart as a dependency in your pubspec.yaml file.

Import the library.

import 'package:iirjdart/butterworth.dart';

Then create the filter that you want.

Butterworth butterworth = new Butterworth();

And initialize it with:

  1. Bandstop

    butterworth.bandStop(order,Samplingfreq,Center freq,Width in frequ);

  2. Bandpass

    butterworth.bandPass(order,Samplingfreq,Center freq,Width in frequ);

  3. Lowpass

    butterworth.lowPass(order,Samplingfreq,Cutoff frequ);

  4. Highpass

    butterworth.highPass(order,Samplingfreq,Cutoff frequ);

Filtering #

The filtering is done sample by sample for realtime processing:

v = butterworth.filter(v)

Coding examples #

See the test/*_test.dart files for complete examples for all filter types.

ToDo #

  • Add Bessel filter
16
likes
110
pub points
84%
popularity

Publisher

unverified uploader

An IIR filter library written in Dart. Highpass, lowpass, bandpass and bandstop as Butterworth, Bessel and Chebyshev Type I/II.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

complex

More

Packages that depend on iirjdart