Experimental music from very short C programs
category: code [glöplog]
//serpenskaleph V2 (8kHz)
t/10|t/9&t/5&t/0.1&t/0.05|t>>(60*2>>4)|t/1|t/10|t/9&t/5&t/0.1&t/0.05|t>>(60*2>>4)|t/5
t/10|t/9&t/5&t/0.1&t/0.05|t>>(60*2>>4)|t/1|t/10|t/9&t/5&t/0.1&t/0.05|t>>(60*2>>4)|t/5
// I Made Drums By Modyfing 1-bit song
(76788*(random()*"002020"[t/1.2>>10&15]&1))+(6E4/(t/1.2&4065))+(t*[1,random(),random(),random(),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0][(t/1.2>>10)+12&31])
(76788*(random()*"002020"[t/1.2>>10&15]&1))+(6E4/(t/1.2&4065))+(t*[1,random(),random(),random(),0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0][(t/1.2>>10)+12&31])
random glitch stuff
Code:
127^t/((t/270)+(t/4560)+(t%(1060-0*t/560))^t%255)
Some robothic voicesin(t/[5,6,7,8][(t>>13)%4]%20)*128+128^t>>5|t>>4^t/90
funny sound
Code:
a=[2,3,4][(t>>10)%3],t*t>>8|t>>a
crazy echo
Code:
t^(t>>2)*t>>4
meta serpinski harmony
Code:
t&t>>8^(t>>7)-t&t>>8
semi-serpinski harmony
Code:
(t&t*5)&t>>8
some kind of dubstep
Code:
t&~t>>4+((t&t>>(t>>10))*t>>(t>>10))
tan alarm!
Code:
(tan(t)&~t>>2)&~t>>5
funny alarm
Code:
t*t>>4&~(t>>4&t>>2)
meta serpinski harmony 2
Code:
(t&t%255)&t>>8
remix of sarpnt's "shredder"
[code(~t>>max(t>>10&15,t>>12&15)&t*"H$TT`0l6".charCodeAt(t>>11&7)/19)*(10-(t>>16))&~t>>(4&t>>5)|random()*170&~t>>4|t>>4&t>>2[/code]
[code(~t>>max(t>>10&15,t>>12&15)&t*"H$TT`0l6".charCodeAt(t>>11&7)/19)*(10-(t>>16))&~t>>(4&t>>5)|random()*170&~t>>4|t>>4&t>>2[/code]
remix of sarpnt's "shredder" (had to repost)
Code:
(~t>>max(t>>10&15,t>>12&15)&t*"H$TT`0l6".charCodeAt(t>>11&7)/19)*(10-(t>>16))&~t>>(4&t>>5)|random()*170&~t>>4|t>>4&t>>2
running man and altered running man combined
Code:
t*(1+(5&t>>10))*(3+(t>>17&1?(2^2&t>>14)/3:3&(t>>13)+1))>>((3&t>>9)/t)*(3+(1^5&t>>10))*(5+(3&t>>14))>>(3&t>>8)
w/ drums
Code:
(t*(1+(5&t>>10))*(3+(t>>17&1?(2^2&t>>14)/3:3&(t>>13)+1))>>((3&t>>9)/t)*(3+(1^5&t>>10))*(5+(3&t>>14))>>(3&t>>8))&(t&4096?(t*(t^t%9)|t>>3)>>1:255)
its like a happy street surfer! :D
some kind of melody
Code:
lcym=(random()*100)&~t>>5,(t&8192?lcym:0)^((t&4096?t*4:t*2)&~t>>3)
array thing without an array
Code:
t*''.charCodeAt((t>>11)%4)
i like js arrays :)
Code:
t*[1,0,1,0,2,0,2,0,3,0,3,0,4,0,4,0][(t>>10)%16]<<[0,1][(t>>14)%2]
remix of zdubs' "generic 3/4 buildup"
Code:
((t&598?t>>4:t>>10)|t<<[1,2][(t>>11)%2])^(random()*100)&~t>>4
slower crazy echo
Code:
t+(t>>4)*t>>4
venusians are here
Code:
t*(3+(1^t>>11&5))*(5+(3&t>>14))>>(t>>9&3)&~t>>6
happy pi day
Code:
t*[2,3,4,3,0,2,0,0][(t>>11)%8]*2
0 JS arrays
Code:
t*((t>>9)%4)*(1+(t>>11)%2)