Forum

PWM-speaker output is working fine, how to use the DAC ouput; no sound?

More
#12 by rudydevolder
rudydevolder created the topic: PWM-speaker output is working fine, how to use the DAC ouput; no sound?
:unsure: I presume the quality of this output is better than PWM wich is not bad but.... ?

Please Log in or Create an account to join the conversation.

More
- #13 by foxonix
foxonix replied the topic: PWM-speaker output is working fine, how to use the DAC ouput; no sound?
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).

Foxonix - make your ideas heard.
@foxonixdev
Last Edit: by foxonix.

Please Log in or Create an account to join the conversation.

Time to create page: 0.081 seconds