Hi Rudy:
Some devices support PWM only, some support DAC only, and the "larger" devices support both. You can see the list here under
Device Name
. To use the DAC output, you must first select a device name that supports it.
For devices that support both PWM and DAC, you must declare which output you want to use by issuing the "
ppdac
" command (for PWM) or the "
dac
" command (for DAC). This can be declared once in the init section of the program.
The quality of the DAC output can better (and louder) than the PWM output, especially if you have good sound files that have very little noise. When using the DAC output you may find that you hear more noise in the audio as the content of the file gets quieter (like during a fade out).