$ ./a.out > /dev/dsp
$ ./a.out | pacat --rate=8192
main(t){for(t=0;;t++)putchar(t*(((t>>12)|(t>>8))&(63&(t>>4))));}
use this in stead:
./a.out | pacat --rate=8000 --channels=1 --format=u8
Note that the rate only changes the speed, just like the RPM of a record would.