Last active
May 29, 2018 04:40
-
-
Save 1j01/ab5604ac819f506689b26bae2f724016 to your computer and use it in GitHub Desktop.
A mashup of bytebeat songs people have made. Not super finessed, but it was fun making, as I recall (just "cutting it together" with conditionals, and figuring out how to organize it). HTML5 Bytebeat link: https://goo.gl/sXnsqt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////\ _ | |
(//( ( _ _ _ _ | | _ __ __ | |
0///\ \/ / / \/ / | -.| / _\/ \ | |
/1/// / / / ) ( | ()|| / ( 0 | | |
//0 \/\__/ /_/\_\9 |___/|_| \__/ © rly bad ascii co. | |
///1 j 0 1 | |
////j 0 1 | |
/////0 1 | |
//////1 A mish-mash of a ton of other people's bytes. | |
//[SECTION 1] | |
-((( Math.floor(t/1000000*t*t+t)%127 | (t >> 4) | (t >> 5) | (t % 127 + (t >> 16)) | t ) & 255) / 127 - 1) *(t<150000) | |
+((( ((t&4096)?((t*(t^t%255)|(t>>4))>>1):(t>>3)|((t&8192)?t>>2:t)) ) & 255) / 127 - 1) *(t>200000) | |
+((( (t>>7|t|t>>6)*10+4*(t&t>>13|t>>6) ) & 255) / 127 - 1) *(t>074000) | |
+((( ((t*5)&(t>>7)) | ((t*3)&(t>>10)) ) & 255) / 127 - 1) *(t>100000) | |
+((( (t>>7|t|t>>6)*10+4*(t&t>>13|t>>6) ) & 255) / 127 - 1) *(t>240000) | |
)*(t<300000) | |
+//[BREAK] | |
( | |
((((t*(t>>7)^(t>>4)%5+t)%255)/255*2-0.5)) | |
)*((t>300000) && t<328000) | |
+//[SECTION 2] | |
( | |
(((0 | |
+ (t*(((t>>9)^((t>>9)-1)^1)%13)) | |
% (((t&4096)?((t*(t^t%255)|(t>>4))>>1):(t>>3)|((t&8192)?t<<2:t))) | |
)%255)/128-0.5) *(t>326000)*(t<400000) | |
+ | |
(((0 | |
+ (t*(((t>>9)^((t>>9)-1)^1)%13)) | |
+ (((t&4096)?((t*(t^t%255)|(t>>4))>>1):(t>>3)|((t&8192)?t<<2:t))) | |
)%255)/128-0.5) *(t>400000)*(t<450000) | |
+ | |
(((0 | |
+ (t*(((t>>9)^((t>>9)-1)^1)%13)) | |
* (((t&4096)?((t*(t^t%255)|(t>>4))>>1):(t>>3)|((t&8192)?t<<2:t))) | |
)%255)/128-0.5) *(t>450000)*(t<500000) | |
+ | |
(((0 | |
+ (t*(((t>>9)^((t>>9)-1)^1)%13)) | |
% (((t&4096)?((t*(t^t%255)|(t>>4))>>1):(t>>3)|((t&8192)?t<<2:t))) * Math.floor((t-550000)/10000) | |
)%255)/128-0.5) *(t>500000)*(t<550000) | |
+ | |
(((0 | |
+ (t*(((t>>9)^((t>>9)-1)^1)%13)) | |
% (((t&4096)?((t*(t^t%255)|(t>>4))>>1):(t>>3)|((t&8192)?t<<2:t))) * Math.floor((1-(t-550000))/5000) | |
)%255)/128-0.5) *(t>550000)*(t<600000) | |
)//*(t>350000 && t<55000000) //remove 2 0s | |
+//[BREAK] | |
(((((t*(t>>7)^(t>>4)%5+t)%255)/255*2-0.5)))*((t>600000) && t<628000) | |
+(((((t*(t>>7)^(t>>4)%5+t)%255)/255*2-0.5)))*((t>628000) && t<656000)*6 | |
+(((((t*(t>>7)^(t>>4)%5+t)%255)/255*2-0.5)))*((t>656000) && t<684000)*20 | |
+//[SECTION 3] | |
( | |
(((t*("36364689"[t>>13&7]&15))/12&128)+(((((t>>12)^(t>>12)-2)%11*t)/4|t>>13)&127)/127-1) | |
- ((((t*2)*("36364689"[(t*2)>>13&7]&15))/12&128)+((((((t*2)>>12)^((t*2)>>12)-2)%11*(t*2))/4|(t*2)>>13)&127)/64-1) | |
)*((t>620000) && t<800000) | |
+( | |
((((t&4096)?((t*(t^t%255)|(t>>4))>>1):(t>>3)|((t&8192)?t<<2:t))) | |
- (t*(((t>>9)^((t>>9)-1)^1)%13))) | |
)*((t>800000) && t<900000) | |
+( | |
((((3e3/(y=t&16383)&1)*35 +(x=t*"6689"[t>>16&3]/24&127)*y/4e4 +((t>>8^t>>10|t>>14|x)&63))%255)/255*2-0.5) | |
)*((t>900000) && t<1000000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment