Experimental music from very short C programs
category: code [glöplog]
0xdeaf - thats what i call this.
Code:
// 8000Hz Bytebeat
(((t*(0xdeaf>>(t>>10&15)&(t&32768?7:9))&t>>4)*5/4-32)/2&127)+(t&4096?(t*t/100|t*t/101)*99&~t>>(t&8192?5:4)&127:0)
oh, 32 pages.
0xdeaf goes well with all `board the ole steam boat by noah lovotti.
Code:
// 11025Hz Bytebeat
L: (((t*(0xdeaf>>(t>>10&15)&(t&32768?7:9))&t>>4)*5/4-32)/2&127)+(t&4096?(t*t/100|t*t/101)*99&~t>>(t&8192?5:4)&127:0)
R: (v="4568"[t>>11&3],w=(t>>5|t>>v^sin(t/8/(v/(((t>>12&t>>14)&8)+((t>>14|t>>11)&1))))*29-100),w+(v*((t*v/7*4&t>>11)|w)))
[(((t*(0xdeaf>>(t>>10&15)&(t&32768?7:9))&t>>4)*5/4-32)/2&127)+(t&4096?(t*t/100|t*t/101)*99&~t>>(t&8192?5:4)&127:0),(v="4568"[t>>11&3],w=(t>>5|t>>v^sin(t/8/(v/(((t>>12&t>>14)&8)+((t>>14|t>>11)&1))))*29-100),w+(v*((t*v/7*4&t>>11)|w)))]
panickg
Code:
(x=(z=(t*(y='0103010304560606')[(t>>10)%y.length]))-z/[3,3.5][t>>15&1])|(t&131072?x*2|x*4:x*2)
flowg (made becuase boredom and to revive the forum ig):
Code:
((t*6^t*(3+(1&t>>14))|t>>4)^(t*(3&t>>12))*t/128)/4|(t*6^t*(3+(1&t>>14))|t>>4)^(t*(3&t>>12))
//8000