Skip to content

Instantly share code, notes, and snippets.

@turbq
Created October 17, 2023 10:34
Show Gist options
  • Save turbq/f5f09a4930fc8aa7673a227c6b90ddf4 to your computer and use it in GitHub Desktop.
Save turbq/f5f09a4930fc8aa7673a227c6b90ddf4 to your computer and use it in GitHub Desktop.

Revisions

  1. turbq created this gist Oct 17, 2023.
    1 change: 1 addition & 0 deletions song.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    echo "g(i,x,t,o){return((3&x&(i*((3&i>>16?\"BY}6YB6$\":\"Qj}6jQ6%\")[t%8]+51)>>o))<<4);};main(i,n,s){for(i=0;;i++)putchar(g(i,1,n=i>>14,12)+g(i,s=i>>17,n^i>>13,10)+g(i,s/3,n+((i>>11)%3),10)+g(i,s/5,8+n-((i>>10)%3),9));}"|gcc -xc -&&./a.out|aplay