Experimental music from very short C programs
category: code [glöplog]
@rrrola
that's quite nice :-)
that's quite nice :-)
yep. nice code rrrola. got some auto bassdrum out of it. but hard to get a melo. (t>>1)*(0xbad2dea1>>(t>>13)&3)|t>>5
and the short piece from that: t&(sin(t&t&3)*t>>5)/(t>>3&t>>6)
I think rrrola just won the thread...
full ack
slightly shorter version of rrola's (just because)
t*(0xCA98>>(t>>9&14)&15)|t>>8
t*(0xCA98>>(t>>9&14)&15)|t>>8
Another attempt at melody construction (t*((3+(1^t>>10&5))*(5+(3&t>>14))))>>(t>>8&3)
((sin(2000/(t&0xfff))*127)*0.2 + (( (t<<1)*(1+0.333*((t&0xffff)>0x7fff)+0.177*((t&0xffff)>0xbfff)) )&0xff)*((t&0xfff)/0x1fff)*0.4 + (( ( (t>>4^t>>6|t>>10))|(t*3*(1+0.333*((t&0xffff)>0x7fff)+0.177*((t&0xffff)>0xbfff))) )&0xff)*0.25)
CHEATING ROXX!
To avoid unnecessary clipping I had to lower the volume.
Awesome thread btw.
CHEATING ROXX!
To avoid unnecessary clipping I had to lower the volume.
Awesome thread btw.
saw mill (t*(t>>5)*100)>>t
mu6k that rocks! although it's only a oneliner with a very large screen!
Attack of the Blumble Bee Robots: (((t*7*(t>>5-t>>9)*127)+sin(-t)+cos(t*3))<<1)+(sin(t*3)>>2)
The Dragon is Sleeping: (t>>3 & 5) + (t*(0xC4>>(t>>3%7)&13)|t>>7) + cos(t*0xC4)
http://wurstcaptures.untergrund.net/music/?oneliner=t%3E%3E4%7Ct%26(sin(t%26t%263)*t%3E%3E5)%2F(t%3E%3E7%26t%3E%3E3)&rate=8000
and mu6k's can be shortened quite a bit too :) (more oneliner-ish than before i suppose)
(sin(2000/(t&4095))*25+((t*2*(x=1+(t>>15&1)/3.0+0.177*((t>>14&3)>2)))&0xff)*((t&4095)/20000.0) + (( ( (t>>4^t>>6|t>>10))|(t*3*x) )&0xff)*0.25)
(sin(2000/(t&4095))*25+((t*2*(x=1+(t>>15&1)/3.0+0.177*((t>>14&3)>2)))&0xff)*((t&4095)/20000.0) + (( ( (t>>4^t>>6|t>>10))|(t*3*x) )&0xff)*0.25)
Urgent Message from Planet Tetrodia: ((t>>13)*(sin(t&0xF00D))*((t*5)>>7))*((t>>11&3)>>(t&0xFEED))+((t>>3)|t*0xBEEF)
ups, failed to bb-code the previous one: t>>4|t&(sin(t&t&3 )*t>>5)/(t>>7&t>>3)
Circuit Interferences: t*t>>(t>>7)+(((t>>7)&0xF00D)+((t>>3)*0xFEED))>>13
Out Friends from Orion's Belt:(t&0xF00D)?(t&(t>>7)?(t>>2/(t>>7-(t>>13))):t-t>>7+(t>>13)):(t*3)>>11