Sign in

username:

password:



Not a member?

Search code



Search tips


See Also

Embedded SystemsFPGAElectronics

C Code, Examples, Snippets

If you would you like to share a piece of DSP related code with the community, please click here.

By Programming Language:
All LanguagesASM | Bluespec SystemVerilog (BSV) | C | C++ | Matlab | Mixed C and ASM | Octave | Python | Scilab 

By Processor:
All ProcessorsARM | FPGA/ASIC (RTL) | Freescale DSP56F8xx | SHARC | TI C64x | TI C67x | TI F28x 

Sorted by:
Most Popular First | Highest Rated First | Most Recent First


NEW: Suggest a Snippet

Flanger Audio Effect [C]

This is an implementation of the flanger effect using my previous entry that is a fractional delay line, as a building block. Basically the flanger effect is achieved by making the delay vary in ti...

posted by Gabriel Rivas on Apr 22 2011
Comments (0) |

Fractional Delay Line implementation [C]

This is a working implementation of a fractional delay line in C. It has been tested in the dsPIC audio kit, and in a PC running GNU/Linux operating system using the Open Sound System audio driver, b...

posted by Gabriel Rivas on Jan 27 2011
Comments (2) |

Using EMIF expansion port as digital output [C, TI C67x]

This is a simple example of how to use the EMIF expansion (labeled as Memory Expansion on the board) as a 32-bit wide parallel digital output. Here is a picture of the board: IMPORTANT DISCLAIMER:...

posted by David Valencia on Oct 27 2010
Comments (6) |

Variable 2nd order band pass IIR filter [C]

This piece of code implements a variable band pass filter in C language. It is intended to be used to create an array of coefficients sets in runtime, each set of coefficients is mapped to a center fr...

posted by Gabriel Rivas on Jul 3 2011
Comments (0) |

Auto Wah audio effect (LFO control) [C]

This auto wah effect uses a variable band pass stage as a building block and a LFO to control it. Find the variable band pass block at: http://www.dsprelated.com/showcode/176.php   Xin  ...

posted by Gabriel Rivas on Sep 24 2011
Comments (0) |

Phaser audio effect [C]

This phaser implementation was created using cascaded 2nd order variablenotch filters to take advantage of the strong phase shift producednear the center notch frequency. The Q parameter determines th...

posted by Gabriel Rivas on Jul 4 2011
Comments (0) |

Farrow resampler implementation [C]

Farrow resampler implementation in C, including optional bank switching. The functionality is mainly identical to the matlab code snippet. A discussion of the optional bank switching variant (which m...

posted by Markus Nentwig on Aug 13 2011
Comments (0) |

Variable 2nd order Notch IIR filter [C]

This is the implementation of a variable notch filter in C language. It is based on a second order analog notch filter converted to Z domain by means of the bilinear transform. The objective of this ...

posted by Gabriel Rivas on Jun 21 2011
Comments (0) |

Template to develop audio DSP using the (OSS) API + GNU/Linux [C]

This is a template to develop audio DSP applications in GNU/Linux using the OSS (Open Sound System) driver, this can allow us to use any regular PC as DSP processors, I hav tested it on pentium 3 and ...

posted by Gabriel Rivas on Feb 6 2011
Comments (0) |

Tremolo audio effect (amplitude modulation) [C]

This code has the basic functions to perform amplitude modulation or tremolo effect on audio signals according to (LFO signal) m [n]---->[+]------------>[*]---------------> y[n] (tremolo mo...

posted by Gabriel Rivas on Nov 29 2011
Comments (0) |
| 1 | 2 | 3 | 4 | next