Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That doesn't work for their example:

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: