OutputCompare Piezo code

where i can find code to generate sound with a piezo using outputcompare on Di2

[url]http://www.tinyclr.com/support/[/url]
Output Compare Waveform Generator