Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Code to perform standard DSP functions, such as Biquads, FIRs, sample rate conversion
XC C Java Assembly Objective-C Shell
Branch: master
Failed to load latest commit information.
app_example_asrc More fixes to get things to build with 12.2 tools
app_example_biquad More fixes for 12.2 build
app_example_dsd_conversion Changes to FIR coefficients builder for DSD
app_example_fir More fixes for 12.2 build
app_example_fir12 Corrections to Makefiles
app_example_fir48 Corrections to Makefiles
app_example_multicore_fir Ensuring top-level make works with 12.2 tools
app_example_multithreaded_fir Ensuring top-level make works with 12.2 tools
app_example_single_thread_fir Ensuring top-level make works with 12.2 tools
app_slicekit_fbnc_demo Missing file for feedback noise cancellation
build_biquad_coefficients More fixes for 12.2 build
build_fir_coefficients Changes to FIR coefficients builder for DSD
doc Merge branch 'master' of ssh://github.com:22/xcore/sc_dsp_filters
module_asrc Added doxygen file documentation
module_cascading_biquad Added doxygen file documentation
module_dsd Changes to FIR coefficients builder for DSD
module_fbnc/src First attempt at feedback noise cancellation
module_fir First attempt at feedback noise cancellation
.cproject Changed the project name - to match component name
.gitignore Changed upsampling rate from 8 to 125
.project Changed the project name - to match component name
LICENSE.txt Added Mikael to license
Makefile Major update in modules to provide the possibillity of
README.rst Tweaking ASRC documentation

README.rst

DSP filters

Stable release:unreleased
Status: first version
Maintainer:https://github.com/henkmuller
Description:A collection of standard DSP building blocks

Key Features

  • Generic cascaded biquad filter
  • Generator for filter values
  • Generic FIR
  • Asynchronous Sample Rate converter

To Do

  • Optimised biquad
  • Optimised FIR
  • On-the-fly computation of coefficients
  • Optional dithering

Firmware Overview

This repo intends to store a set of algorithms to perform standard DSP functions, enabling people to implement, for example, graphic equalisers or sample rate converters. At present, only a cascaded biquad and a FIR filter are implemented, together with programs to compute coefficients and response curves. Coefficients and response curves for the biquad are computed based on algorithms by Robert Bristow-Johnson.

The current FIR code is written for readability - less readable (more efficient) versions to follow. The generic versions check on overflow and saturate (intermediate) results.

Known Issues

  • Makefile should invoke biquad generator properly - currently relies on java and javac, and currently recreates files unnecessarily.

Required Repositories

  • xcommon git@github.com:xcore/xcommon.git

Support

Issues may be submitted via the Issues tab in this github repo. Response to any issues submitted as at the discretion of the maintainer for this line.

Something went wrong with that request. Please try again.