Algorithmic synthesis

8-bit music from ultra-short code

Basically, we use a detuned random number generator, so the sequence it generates is long enough and structured enough to be interesting to listen to.

       for(t = 0;;t++) {
         putchar(t*((t>>9|t>>13)&25&t>>6)););
       }
    
       for(t = 0;;t++) {
         putchar(t*((t>>12|t>>8)&63&t>>4));
       }
    
       for(t = 0;;t++) {
         putchar(t*((t>>12)^(t>>10|t>>12)&26&t>>7));
       }
    

Inspired by this youtube video.