I want to use the M168 to generate some music on the speaker. I did search the forums for this and found this thread:
In this thread, dbvanhorn mentions that it is easier to store the samples and then clock them through R-2R ladder DAC.
Is there any more information on this? Is this approach better than using the PWM + filter approach? Which R-2R DAC would be suitable for this app.? I saw an AD558TD from Analog devices but would it be easier going discrete than a single chip?
I want to start with playback of stored samples in the AVR (look up table) and then proceed towards making my own samples and looping through a fixed set of samples.