Git Product home page Git Product logo

spuce's Introduction

spuce - A DSP Digital filtering library in C++

  • Travis: Build Status
  • AppVeyor: Build status

A rewrite of the digital filter components of SPUC with more testing, better code design and c++11 features.

  • Uses std::complex instead of custom complex class
  • Will focus of floating point instead of fixed-point modules
  • Includes Chebyshev2 filter
  • Bug fixes for odd order IIR filters
  • Adding support for Bandpass and Bandstop designs for both IIR and FIR filters

Most of spuc was written many years ago before C++ compilers had good template support and was primarily written for fixed-point hardware design and simulation.

Currently there is some code for IIR Filter Design & Implementation

  • Butterworth
  • Chebyshev
  • Inverse Chebyshev
  • Elliptic
  • Maximally flat FIR
  • Remez Equiripple
  • Raised Cosine FIR/Root Raised Cosine FIR
  • Gaussian FIR
  • Sinc FIR
  • Cascaded Integrate Comb filters (or CIC filters)
  • Notch filter
  • Cut/Boost Filter
  • Halfband/Subband IIR filters consisting of allpass sections
  • Irrational resampling with Farrow & Lagrange based filters

To install via Homebrew

  • brew tap audiofilter/spuce
  • brew install spuce (or brew install -HEAD spuce for latest sources)

To install for Linux

The deb package is provided by the MyriadRF SDR Drivers PPA. The PPAs support the following Ubuntu releases:

  • Trusty (14.04 LTS)
  • Vivid (15.04)
  • Wily (15.10)

Do the following to install on your Ubuntu system

  • sudo add-apt-repository -y ppa:myriadrf/drivers
  • sudo apt-get update
  • sudo apt-get install libspuce-dev

For testing, python + matplotlib is used.

  • Most of the test involve using python's matplotlib to show a frequency response of the filter, sometimes impulse responses are used

There are 4 QT apps for illustration purposes fir_plot, iir_plot, window_plot and other_plot

QT5 needed for test application

#Please see wiki pages for a Quick Guide to Digital Filters in Spuce

QT Apps

Demo App Demo App Demo App Demo App

spuce's People

Contributors

audiofilter avatar guruofquality avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.