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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.