We’ve updated our Terms of Use to reflect our new entity name and address. You can review the changes here.
We’ve updated our Terms of Use. You can review the changes here.

Jimmyoshi - Daydreamer

from Spring Tracks VI by Battle of the Bits

/

about

*1st Place bytebeat 1k Format*

Grand total of 1021 bytes. This was my attempt at replicating the Gameboy sound chip using bytebeat. I did the best that I could to stick to all the limitations (even though it isn't 100% accurate, due to the nature of bytebeat1k).

Uses the HTML5 Player: [see link at botb track page]

Play in firefox for the best performance results!

Direct links:
[see links at botb track page]

If the higher sample rate links don't run well, try the lower sample rate versions.

"Uncompressed" code:

o = {
b:function(s,p){return s.charCodeAt(p)-32;},
f:function(){return (O(r,I*32+q)-16)*8+n%8;},
g:function(i,m,e) {
O=o.b;
I=i%3;
j=0;
if(m){
n=N(m/12);
K=N(m/6)%16;
p=m%12;
q=N(n/8);
r="0012000300020405?>??<A:??>e?<?B?0112034501670800??????????????BB01234567089:;<=>";
H="156:";
L=i>2&&n>120;
G=O(c[I],o.f())+(I>1?0:(O(r,I*32+q+16)-31)%32);
G=p<6?G:i<2?(!i?G:n<57||n>58?G:40+(n-57)*3):n==18?21:n==95?16:G;
a=o.f();
w=(O(c[I+3],N(a/3))>>a%3*2)%4;
x=(L?2:(N(G/48)&&p>5)||!w||i>2?0:w+1)*16;
y=2**((L?O(H,K%4)+N(K/4)*12:G%48)/12)*66;
_=k/y;
j+=x*(I>1?N(O(l,N(64*y*t/k)%16)-8)/15:(t%_>_*(I?1:2)/4?.23:-.23))+(!e&&(!x||i>2)?o.g(i,n*12-9,1)/4:0);
}
return j;
},
h:function() {
N=int;
k=44100;
l="&)+,,*(&$#%&&%$#";
c=[
"''Wc3333--]]----+`b**bZ&..^..^.^$$Tc3333**ZZ****",
"cgj>>>>>bei<<<<<gjl>>>>>??>>??AA<<<<<>l::FJMMMMMbfi<<BuxHvuFFFF5gjoB",
"222..)^b20_000-.000`0)]`0.]...+]...''&'^..--..00++++[-[))).0000`2_`55525666b2-bf9gf77772..........^..^00.....",
";#PV \\O_#;[V L ",
'J!@: H& 5555415!J155%I& ',
"_S__S_/__/__\\_____/5%\\___S__/_7 _5_?! "
];
j=0;
for(i=0;i<4;i++) {
j+=o.g(i,N(t*49/k)%1536,0);
}
return j;
}
},
128+o.h();

...This format was a lot harder than I expected.

credits

from Spring Tracks VI, released June 11, 2017

license

tags

about

Battle of the Bits Detroit, Michigan

Battle of the Bits is an online community brought together by the joys of friendly competition.

All n00bs!! :D

contact / help

Contact Battle of the Bits

Streaming and
Download help

Report this track or account

If you like Daydreamer, you may also like: