Write the prettiest bytebeat composition Bytebeat is a style of music one can compose by writing a simple C program that's output is piped to aplay or /dev/dsp.

main(t){for(;;t++)putchar(((t&lt;&lt;1)^((t&lt;&lt;1)+(t&gt;&gt;7)&amp;t&gt;&gt;12))|t&gt;&gt;(4-(1^7&amp;(t&gt;&gt;19)))|t&gt;&gt;7);}


There is a good deal of information on the bytebeat site, a javascript implementation, and more demos and example compositions in this thread.

Very simple rules : Try to write a pretty sounding composition.  Most up votes wins since that's obviously subjective, although not that subjective considering the usual results.
(Signed 16-bit little endian, 8000Hz mono (--format=S16_LE))

Music

Much better than before! (although it's quite long)

main(t){for(;;t++)putchar(((7&amp;(((t&gt;&gt;17)+1)&gt;&gt;2)+((t&gt;&gt;10)&amp;1+2*(t&gt;&gt;18&amp;1))*(("23468643"[7&amp;t&gt;&gt;12]-48)+(3&amp;t&gt;&gt;11))+((3&amp;t&gt;&gt;17)&gt;0)*(3&amp;t&gt;&gt;9)*!(1&amp;t&gt;&gt;10)*(((2+t&gt;&gt;10&amp;3)^(2+t&gt;&gt;11&amp;3))))*t*"@06+"[3&amp;t&gt;&gt;15]/32));}

(You can listen this at here)

I wrote this, but even I don't know how some part works, like &gt;0 and (especially) the first 7&amp;.

Change for loop to for(;!(t&gt;&gt;22);t++)... to listen it 'once'. I don't know whether it "loops" exactly the same way, however.

Melody (base of above music)

I love this melody I made (C-G-A-F ftw), but it's too 'plain'...

main(t){for(;;t++)putchar(((t&gt;&gt;10)&amp;1)*(t*("23468643"[7&amp;t&gt;&gt;12]-48)+t*(3&amp;t&gt;&gt;11))*"@06+"[3&amp;t&gt;&gt;15]/32);}

Simple music (which I made before)

main(t){for(;;t++)putchar(t*(3&amp;t&gt;&gt;11)+(t&amp;t&gt;&gt;11)*4*!((t&gt;&gt;11)%3));}