Anybody knows any Mac alternative for Linux's APLAY program? I would like to run this script:
echo "main(i){for(i=0;;i++)putchar(((i*(i>>8|i>>9)&46&i>>8))^(i&i>>13|i>>6));}" | gcc -x c - && ./a.out | aplay
Which makes great sound effect, but I don't know how, since Mac OS doesn't have aplay.
EDIT:
Link to Wikipedia, which describes the functionality of aplay.