Quote Originally Posted by mister_e
o.k so what about if you try HPWM instead of shiftout? Is the encoding is made in 8 bits, 10 bits 16 bits?? or what about if you output your data directly to a 8 bits port and do a simple d/a converter with resistor and a op-amp mixer???

let us know.

i'll have a look to your link later... i'm a bit curious on that.
The encoding was made in 8 bit format. Each output bit is used to charge, or allow to discharge, a capacitor. A 1 ouptut charging the capacitor and a 0 output allowing the capacitor to discharge. The 1's and 0's need to follow each other one after the other, to allow the capacitor to charge/discharge.
Unfortunately, the HPWM command won't work as the output from the encoded audio is just a binary bitstream and not any one particular frequency.

Check the link out when you get time - I think you will be very interested! ;-)

Thanks for your help

Rob