Skip to content

Instantly share code, notes, and snippets.

@Cloudef
Created December 9, 2013 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Cloudef/7879341 to your computer and use it in GitHub Desktop.
Save Cloudef/7879341 to your computer and use it in GitHub Desktop.
Speed metal song
char *ns = "小 さ い む ね by. Cloudef a b a b a B E B E Z U Z U D A D A dooo daaat →";
main(i){int t=8;for(char *n=ns;*n;++n){int s=16e3/(220+*n);unsigned char v[s];read(0,v,s);for(i=0;i<s*(t+(ns[n-ns]!=0?0:100));)putchar(v[i%s]=(v[i%s]+v[++i%s])/2);}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment