Menu

Analogue and DAC support.

2015-04-25
2015-06-12
  • Phillip Stevens

    Phillip Stevens - 2015-04-25

    Most of the code for DAC support is now finalised. This code works with the various DAC boards from Open Music Labs using WM8731 and from Stanford TI using DAC8564, and the Adafruit based MCP4822.

    The Goldilocks Analogue will use the 12bit MCP4822, because it produces a sufficiently good signal, based on the noise parameters of being on a digital board, and is very cost effective.

     
  • Phillip Stevens

    Phillip Stevens - 2015-06-12

    Have added Low, Band, and High pass filtering to the DAC.h DAC support. This should be used to filter the sample train before sending to the DAC.

    Using the filter is as easy as declaring the filter structure filter_t, initialising the filter structure to the coefficients for high, band, or low pass, and then feeding individual 16 bit samples into the filter. The filtered samples are then returned in place.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.