News for hackers. Stuff that matters.
Re:Programming Steve Reich’s Piano Phase in SuperCollider by jkarni on Monday May 11, 2020 @10:42AM (#23142642)
And here is a "Piano Phase" written in C with no libraries that fits in an (old-style, 140 character) tweet:

main(){int l=999,i,j;int v[]={133,119,89,80,75,119,113,80,89,119,75,80};for(;;){putchar(250*(j++%v[i%12]&&(j+i)%v[i%12]==0));i+=(j%l)==0;}}

Just compile and run that with "a.out | aplay".

It's been a while since I wrote this, and I remeber cheating a bit somewhere, but not surprisingly I can't figure out what it's doing much less how it's cheating.

Re:Programming Steve Reich’s Piano Phase in SuperCollider by Rochus on Monday May 11, 2020 @11:20AM (#23143093)
that's funny