Example project for playing WAV audio files from SD-card connected to SDIO microcontroller interface. Block diagram looks like the following:
SDIO is used in 4-bit mode, one DAC channel is connected directly to LM386 amplifier input:
Detailed description is available there. Demo project is built for STM32F103VE with IAR Embedded Workbench.