SimpleSDAudio 16-Bit Playback Mono

Hi there,

I am using SimpleSDAudio library on my Mega1280.

The hardware I have built is this:

However I am using PWM1 pin as 44 and PWM2 pin as 45 (given I’m using a MEGA).

The circuit/library works fine for .AFM files (8-bit Full Rate Mono) however I can’t get anything to playback properly in 16-bit Full Rate Mono (.BFM files).

The constants I am using are: SSDA_MODE_FULLRATE and SSDA_MODE_MONO

Have I built the wrong circuit for 16-bit playback?

Thanks

Have I built the wrong circuit for 16-bit playback?

Yes it is rather a silly circuit. It assumes that the resistor can be adjusted correctly to produce a monotonic D/A. You don't stand a hope in hell of doing it. You might get something but it will not be right.

I can't get anything to playback properly

So what happens and what code are you using?

Hi, for 16-Bit playback you have to set it to something that does 2 channel output, so try SSDA_MODE_STEREO. On both PWM outputs there should be 'something', one sounds only quite noisy - that goes to the part where the 1k-pot is.