6

I am starting work on a project where I want to do some DSP using an embedded solution ideally with very low latency as it will be in a real time environment. In addition I want high quality, preferably 16bit 48khz, but I can settle for 12bit.

What I am wanting to know is if anyone in this community has done this before and has any words of advice. I have read all about it and have a dsPIC starter kit to play with.

Specifically I want to know if anyone has experience with PCM and how to efficiently apply filters then send back out.

I also want to know if anyone has any experience with Audio ADC's and DAC's and would have any suggestions for when I get to the point of developing my own board.

endolith
  • 28,494
  • 23
  • 117
  • 181
Kellenjb
  • 17,509
  • 5
  • 51
  • 87
  • There is a new proposal at Areas 51: [Broadcast and Media Technologies](http://area51.stackexchange.com/proposals/36807/broadcast-and-media-technologies?referrer=lxeiaDBzsJIqpGpL-P5bMg2) where we invites experts in codec development work. Please join and invite others. – Dipan Mehta Feb 28 '12 at 05:48

4 Answers4

5

ATmega3250P + WM8731 codec: http://www.openmusiclabs.com/projects/microdec/

Other Reprogrammable Audio Platforms: http://wiki.openmusiclabs.com/wiki/OtherPlatfroms

Also see DSP recommendation for beginners

endolith
  • 28,494
  • 23
  • 117
  • 181
  • 1
    I've been getting the feeling that there aren't many people doing embedded DSP. At least not many who are able to publish their work. These links were very helpful to me though. – Kellenjb Sep 08 '10 at 14:13
4

Many dsPICs have an I2S interface for a codec. I interfaced an Si3000 voice codec to a dsPIC30F4013, using a PCB I designed, for speech processing. Higher quality codecs are available.

Leon Heller
  • 38,774
  • 2
  • 60
  • 96
3

Here's a project using an mbed (ARM Cortex-M3) to do audio delay:

http://hackaday.com/2010/03/28/guitar-echo-pedal-built-with-mbed/

Here's a similar thing using the Maple:

http://leaflabs.com/2010/07/audio-and-guitar-effects-on-maple/

Toby Jaffey
  • 28,796
  • 19
  • 96
  • 150
2

In addition to the often suitable general-purpose-processor ideas, there have been some dedicated DSPs marketed which deliver either BiQuad or FIR filters, either built into an ADC/DAC chip, or as a tiny stand alone part with something like I2S in and out.

The idea seems to be that by doing this in special purpose hardware, you can configure it from an embedded CPU, without having to pick one with DSP horsepower or design your embedded software in such a way that near-real-time processing of the data is assured.

Chris Stratton
  • 33,282
  • 3
  • 43
  • 89