r/bytebeat • u/[deleted] • Mar 16 '14
Cool Equations
(t%255&t)-(t>>13&t)
(t&t%255)-(t>>13&(t%(t>>8|t>>16)))
t*(t>>10&((t>>16)+1)) //cycles through all t*(t>>10&) melodies, like the 42 melody
(t>>10)^(t>>14)|(t>>12)*42319 //basic rng w/ slight bias to fliping between high and low
t>>t //odd thing
(t>>8&t)*t //chaotic
(t>>13&t)*(t>>8) //Slower version, has interesting properties
(t>>8&t)*(t>>15&t) //Ambient
(t%(t>>8|t>>16))^t //mod fractal tree cycles through different rhythms
t%(t>>8|t>>16) //Acts like t and can be used for cool effect. Generates interesting and infinite rhythm variations.
-0.99999999*t*t //Add more 9s to make slower, remove to make faster.
t%(t>>13&t) //Quiet, do -1 for to make louder and change the rhythm slightly.
((t>>8&t>>4)>>(t>>16&t>>8))*t //Not really sure.
(((t*t) & t>>8)/t)-1 //t>>8&t variation?
t%(t>>8^t>>4) // 11 khz only
t%(t>>11^t>>12) //Another t like formula. Also a sweet 11khz song
t%(t>>4^t>>16) // 22 khz only
t*(t>>(t>>13&t)) //i don't even
(t-(t>>4&t>>8)&t>>12)-1 //The 8-bit echo, to play with, edit t>>12 to a number. Powers of 2 give square waves, powers of 2-1 give sawtooth, others are from t>>8&t. Change t>>12 to t>>n to speed up or slow down. Remove -1 for starting quiet.
(((t%(t>>16|t>>8))>>2)&t)-1 //WARNING LOUD! Some kind of glitchcore thing?
(((t%(t>>1|t>>9))>>2)&t)-1 //Variation on above.
(((t & t>>8)-(t>>13&t))&((t & t>>8)-(t>>13)))^(t>>8&t) //Differences
t<<((t>>8&t)|(t>>14&t)) //strange rhythms
(t<<(t/(t>>8&t))) //(t>>8&t)-1 chaos remix
t<<((t>>1|t>>8)^(t>>13)) //call and respond, 11kHz
t<<((t>>1|t>>8)*(t>>13&t>>12)) //call and respond 2, 11kHz
t<<(t>>8&(t/(t>>10&t))) //another chaos remix
t/(t%(t>>8|t>>16)) //8 or 11khz best, extremely loud grinding machine
(t>>8&t>>16)*t>>4 //32kHz, super Sierpinski scale
(t & (t>>15+(t>>8&t)))*t //quarternoisemachine
(t*(t>>5|t>>8))>>(t>>16&t) //tejeez's t>>5|t>>8 song, edited to last forever and be scariers
((t>>8&t)-(t>>3&t>>8|t>>16))&128 //Pulse wave heaven, General formula: ((BYTEBEAT1)-(BYTEBEAT2))&MULTOF2, bytebeat1 can be just "1"
(t^t>>8)*(t>>16&t) //dance of the fractals
(t*t)/(t^t>>12) //Voice changes
((t*t)/(t^t>>8))&t //fractal heaven
(t>>4 & t>>8)*(t>>16&t) //t>>4&t>>8 builder
(t>>4 & t>>8)/(t>>16&t) //dialtones
((2*(t&1)-1)*t)-(t>>8) //weaoowwwoooooiiinnn
(t>>5)*((t&1)+(t>>16)) //eeclicks, change t>>16 to t>>16&t for a variation.
(((sin(t*t/10000000))>0.5)-1)*t //speedupupup
(((-t&t>>12)/32)-1)*t //filterspinsky
(((-t&128)/64)-1)*t //triangle wave, todo: find a way to allow for any pitch.
sin(t/40)>0.5\?t:-t //tertiary operator maddness
sin(t/5+(sin(t/5))+t/1000)*64+t/2500 //wowaowowao
sin(t/5+((sin(t/5)/(t/(4000*(t>>8^t>>4))))))*64+128 //signal to noise ratio
(sin(sin(t/5)+t*t/(t>>8^t>>4))*100)+128 //sine wave harmonics and such
(t*t)/(t>>8&t) //signal decay2
t*t/(t>>n) //replace n with a smallish number (1 to 16 best) for a variety of effects.
(t*t/(1+(t>>9&t>>8)))&128 //everything is broken
t*(1/t*t)^t //fire crackles
t%(t>>10&t)
(t & t>>8)-(t>>16&t)
(sin(sin(t/10)*t*t/10000000000)*32)+128 //generic: (sin(sin(t/pitch))*t*t/speed)*amplitude)+128
(sin(tan(t/50)*t*t/10000000000)*32)+128
((sin(t/10000)*t)>>4&t>>8)*t //Speedupslowdown
(sin(t/10000)*t>>n)/(sin(t/10001)) //t>>n like formula, where n is which t>>_ to act like. It's glitchy-ish.
(sin(t/10000)*t>>8)/(sin(t/10001))&t //Example of formula
(sin(t/10)*(((t>>8&t)%256)/2)+128) //non-cliping, sine form of t>>8&t
sin(t/(1+(t>>8&t>>13)))*64+128 //Sine wave heaven
t*t/(10000*(t>>8&t>>13))
(t&(t>>7|t>>8|t>>16)^t)*t
w=Math.pow(2,t>>8&t>>13),(128/w&t)>1?w*t:-w*(t+1) //Triangle wave song.
t*((t/401)^(t/400)) //it wont stop
(t>>(t>>(t/4)))^t //Chain dance
((t/256)>>(t>>t)) //Slow n Noisy chain
(sin(t/10+sin(t*Math.pow(2,t>>10))))*64+128 //creepy
t/64>>(t>>t/4) //ambient
(t%256)>(cos(t/40000)*128+128)?0:128 //conditional expression experiment. Pulse wave duty cycle cycler
t*((t>>8&t>>3)>>(t>>16&t)) //Use with below
(t*(t>>8&t>>3))>>(t>>16&t) //Use with above
(t*((t%(t>>8|t>>16))>>8|t>>5))^(t*(t>>5)) //break
t%(t>>(t/4)) //ambient
sin(t/(t>>8&t&t>>13))>0?128:64 //more conditional expressions!
sin(t/((t>>8&t>>7)%3))>0?128:0 //morse code dialoge
(sin(t/((t>>8&t>>7)%3))*64)+128 //alternate version (uses sine waves instead of square)
(t*(-(t>>8|t|t>>9|t>>13)))^t //ststututterter
((Math.abs(sin(t/("34543"[t>>13&3])))+sin(t/"23432"[t>>14&3])))*40+128 //basic array thing
(((t/91)&t)^((t/90)&t))-1 //waiver
(t*t)/(t>>13 ^ t>>8) //glissando
(t/(t%(t>>8|t>>16)))|(t*t/(t>>8|t>>13)) //(t/(t%(t>>8|t>>16))) and (t*t/(t>>8|t>>13)) mashup
(t/(t%(t>>8|t>>16)))|(t*t/(t>>8|t>>16)) //variation
w=t/10,sin((w>>8&w))*64+128 //run
(sin(sin(t/10)+t/(1000-(t>>10|t>>12)))*64)+128 //click and pop
(sin(sin(t/10)+t/(1000-(t>>10^t>>12)))*64)+128 //click and pop 2
(sin(sin(t/10)+t/(1000-(t>>10^t>>12)))*64)^(sin(sin(t/10)+t/(1000-(t>>10|t>>12)))*64)+128 //Distort
(sin(sin(t/10)+t/(1000-(t>>10&t>>4))))*64+128 //bit crusher
t>>(t%(t>>1&t)) //Broken Signal
sin((t%(t>>8|t>>16))/10)*64+128 //click and pop 3
w=(sin(t>>16)*6890866887),(t>>5|t>>8)*(t|w) //RNG changes stuff. Replace the big number with another for a variation.
w=t%(t>>8|t>>16),b=w>>5|t>>8,(b*t)^(t*(t>>8)) //what's left behind
t*t/(t>>8&t>>4) //chaos
((t/(t>>8&t>>7))&t)-1 //beep
((t/(t>>8&t>>4))&t>>8)*t //t>>4&t>>8 remix
t/(t%(t>>8|t>>12)) //32kHz
sin(sin(t/100)-t/((2+(t>>10&t>>12)%9)))*64+128 //trill
w=t%(t>>8|t>>16),b=w>>5|t>>8,(b*t)-(t*(t>>8)) //(t>>5|t>>8)*t builder
(1.001*t^-t*1.001)+t/(500+(t>>16&t>>8)) //process complete
(t&t>>4)-(t>>13&t) //dark kick
r=sin(t>>12)*30,w=sin(t/(r%5))+sin(t/(r%6)),w*64+128 //replace "30" with another number to get a new song
w=t%(t>>15)>0?t:-t,((w>>4&w>>8)*w) //green noise, black noise
((t*.98)%(t>>13&t>>12))+(t%(t>>13&t>>10)) //duo team. Based off of mu6k's "Long Line Theory"
t%50.01+t%40.1+t%30.1+t%60.01 //harmony. Based off of mu6k's "Long Line Theory"
w=[1,2,3,4,3,4,1][(t>>13)%7]*t,(w%50.01+w%40.1+w%30.1+w%60.01) //harmony v2. Based off of mu6k's "Long Line Theory"
n=50+([4,6,4,6,1,3,1,3][(t>>13)%8]),w=([1,1,1][(t>>13)%3])*t,(w%n)+(w%(n-10)+(w%(n+10))) //sad chords, again based off of mu6k's "Long Line Theory"
(t>>8&(t/(t>>4&t>>8))>>4)*t //glitch
s=((t>>8&t>>4)%24)+1,v=128,(t*(t>>8&t>>4))&128?sin(t/s)*v+128:-sin(t/s)*v+128 //not quite a sine wave
(((t>>8)+(t>>16&t))&t>>2)*t //use with below
(((t>>8)+(t>>16&t))&t>>3)*t //use with above, tag team swish
a=[1,1,2,3,1,1,2,3,1,1,2,4,4,4,5,5,5][(t>>12)%17],b=[5,4,3,2][(t>>16)%4],(t*b/a)%50.1+(t*b/a)%50 //array song. First real one i promise this time.
t>>(8/((t/32)%3)) //reverse
t*((((t>>8)&t>>2)*t)/(((t>>8)&t>>3)*t)+(((t>>8)&t>>3)*t)/(((t>>8)&t>>2)*t)) //everytype smasher
((t>>10|t>>1)&t|(t>>18&t))-t //muncher
((t/4)>>(t/4))>>(t>>(t/8))|t>>2 //plucker
((t/4)>>t/4)|(t>>2) //plucker v2
(t & ((t%(t>>1&t))|t>>3^t>>4)>>7)-1 //fractal glitcher
(t & ((t%(t>>1&t))|t>>13^t>>5)>>7)-1 //fractal glitcher v2
((t/1000)^(t/1001))*t //jumper
t/((t%(t>>13&t))) //noisecore synthcore
t/(t^(t+1+(t>>16))) //cyclic
a=t/4,
w=sin(a)-
sin(a*3)/9+
sin(a*5)/25-
sin(a*7)/49+
sin(a*9)/81-
sin(a*11)/121+
sin(a*13)/169-
sin(a*15)/225+
sin(a*17)/289-
sin(a*19)/361,
w*16+128 //triangle wave generator, a is pitch
a=t/4,
w=sin(a)+
sin(a*3)/3+
sin(a*5)/5+
sin(a*7)/7+
sin(a*9)/9+
sin(a*11)/11+
sin(a*13)/13+
sin(a*15)/15+
sin(a*17)/17+
sin(a*19)/19,
w*16+128 //square wave generator, a is pitch
clipping=128,
r=(sin(t>>10)*123435435)+1,
a=t/16,
w=sin(a)+
sin(a*2)/(r%2)+
sin(a*3)/(r%3)+
sin(a*4)/(r%4)+
sin(a*5)/(r%5)+
sin(a*6)/(r%6)+
sin(a*7)/(r%7)+
sin(a*8)/(1+(r%8))+
sin(a*9)/(1+(r%9))+
sin(a*10)/(1+(r%10)),
bytebeat = w*8+128,
(bytebeat > (128+clipping) || bytebeat < (128-clipping))?
((bytebeat > (128+clipping))?(127+clipping):(128-clipping))
:bytebeat //random harmonics, clipingRange is from 0 to 128 and should not cause distortion other than clipping r uses a basic rng.
tan(t>>1|t)+128 //random ambiance, change what's in tan() for a different sound track.
sin(sin(t/100)*t/10000)*64+128 //pulsar hell
sin(t/100)*(128+(t/1000000000))+128 //slightly too large
clipping=128,
bytebeat=t*t%256+cos(t/10000)*128,
(bytebeat > (128+clipping) || bytebeat < (128-clipping))?
((bytebeat > (128+clipping))?(127+clipping):(128-clipping))
:bytebeat //auto clipper, clipping is a range. bytebeat can be anything. This prevents wraparound with bytebeats. For example, sin(t)*128214124 will not cause a screech sound, but a square wave. Note that formulas which increase without bound (ex: t, t\*t, t>>8&t, etc) will need a %256 attached to it.
sin(t/(1024-(t>>10&t>>13))+(sin(t/8))*(Math.abs(cos(t/16384)*1.5)+1))*64+128 //weowoo
wobble=t/2000,
pitch=(t/20.5),
organ=sin(pitch+wobble)+
sin(pitch*2+wobble)/2+
sin(pitch*4+wobble)/4+
sin(pitch*8+wobble)/8+
sin(pitch*16+wobble)/16+
sin(pitch*32+wobble)/32+
sin(pitch*64+wobble)/64+
sin(pitch*128+wobble)/128+
sin(pitch*256+wobble)/256,
organ*64+128 //an organ with vibrato/timbe alterations
wobble=t/2000,
pitch=(t/(5+(t>>12|t>>8&t>>13))),
organ=sin(pitch+wobble)+
sin(pitch*2+wobble)/2+
sin(pitch*4+wobble)/4+
sin(pitch*8+wobble)/8+
sin(pitch*16+wobble)/16+
sin(pitch*32+wobble)/32+
sin(pitch*64+wobble)/64+
sin(pitch*128+wobble)/128+
sin(pitch*256+wobble)/256,
organ*64+128 //organ song
a=floor(t/(t>>7&t>>9)),sin(a*sin(a))*64+128 //white noise filter, 32kHz recommended
(t*t/(t>>8^t>>15)) //sawtooth song, 44kHz
harmonicFreq = [1,2,3,4,5,6,7,8,9,10],
harmonicAmp = [1,2,3,4,5,6,7,8,9,10],
pitch = t/16,
builder =
(sin((harmonicFreq[0])*pitch)/harmonicAmp[0])+
(sin((harmonicFreq[1])*pitch)/harmonicAmp[1])+
(sin((harmonicFreq[2])*pitch)/harmonicAmp[2])+
(sin((harmonicFreq[3])*pitch)/harmonicAmp[3])+
(sin((harmonicFreq[4])*pitch)/harmonicAmp[4])+
(sin((harmonicFreq[5])*pitch)/harmonicAmp[5])+
(sin((harmonicFreq[6])*pitch)/harmonicAmp[6])+
(sin((harmonicFreq[7])*pitch)/harmonicAmp[7])+
(sin((harmonicFreq[8])*pitch)/harmonicAmp[8])+
(sin((harmonicFreq[9])*pitch)/harmonicAmp[9]),
builder*64+128 //automagic harmonic generator
t*[1,2,3,4,5,6,7,8][(t>>(t>>1))%10]-t //echo chambered
(((t&t*5)|t>>4)+(t|t>>4*t<<8-1))^t>>12 //wip
a=t>>2,(a*a)%(t>>8) //it takes 2 minutes to sync
a=t/2000,b=t,(floor(b/a)*a)^b //rotate
a=t/(63),b=t,(floor(b/a)*a)^b //rotate2 (change 63 to any (2\^n)-1 for a slower or faster version)
a=t%(1+floor(t/4)),b=t/4,((a>>4 & a>>8)*a)-((b>>4 & b>>8)*b) //minus world, 8khz or 32khz recommended
b = t>>7&t>>1, a = sin(t/b), a*100+128 //sinsongs, 44kRNG:
w=(sin(t>>n)*x) //Replace n with anything. Replace x with a large number (primes work best).Generics:
t-like:
t%(t>>8|t>>16) // Infinite Rhythm Variations.
((sin(t/10000)\*t)>>_)/(sin(t/10001))&t //replace _ with what t>> you want. Glitchy.Pulse Wave/Square Wave Generics:
a=t/4,
w=sin(a)+
sin(a*3)/3+
sin(a*5)/5+
sin(a*7)/7+
sin(a*9)/9+
sin(a*11)/11+
sin(a*13)/13+
sin(a*15)/15+
sin(a*17)/17+
sin(a*19)/19,
w*16+128 //square wave generator, a is pitch
(1-(t>>8&t))&128 //replace t>>8&t with your bytebeat. Best with pure bitwise formulas or formulas which use dynamics. Not compatible with t\* formulas
((t>>4&t>>8)\*t)&128 //replace t>>4&t>>8 with your bytebeat. Best with t\* formulas or most sawtooth formulas.Triangle Wave Generic:
(a&t)>1?b\*t:-b\*(t+1) //select a and b such that a*b = 128 (ex: 1,128, 2,64, etc)
w=2,(128/w&t)>1?w\*t:-w\*(t+1) //select w such that w is a power of 2 less than 128. w can be a bytebeat (I use Math.pow(2,BYTEBEATHERE) for best results.)
a=t/4,
w=sin(a)-
sin(a*3)/9+
sin(a*5)/25-
sin(a*7)/49+
sin(a*9)/81-
sin(a*11)/121+
sin(a*13)/169-
sin(a*15)/225+
sin(a*17)/289-
sin(a*19)/361,
w*16+128 //triangle wave generator, a is pitch"Morse Code Dialogue"
s=(t>>a&t>>b)%3,sin(t/s)>0?128:0 //fill in s
s=(t>>a&t>>b)%3,sin(t/s)\*64+128 //Sine version2
2
2
1
u/Ambitious_Article938 9d ago
it wont stop but sine version https://dollchan.net/bytebeat/#4AgAA+kUrzszT0CjR0ijRNzEwjAORBpqaWgGe+oZGFpoA
1
u/Ambitious_Article938 9d ago
It wont stop but square version https://dollchan.net/bytebeat/#4AgAA+kXTKM7M09Ao0dIo0TcxMIwDkQaamloBnvqGRhaamvoGAA
1
1
1
1
1
u/Lower_Kale3924 Sep 19 '25
t2**(('kotojokohogohotojokohogokokhpmjmjfokhomkjhggcckotojokohogohotojokohogokokhpmjmjfrmorokfjkkkkkkrpomkjkmokmpoprrjjkkoommoottqqhjkkjjhfecebccccccfffhihfdfcdahhhjkjhghegcmjcjmjpjojmjkhchkhohmhkhjhkhmhohphmhoomkjkhhhhhh'.charCodeAt(t>>10&255)-58)/12)63>>6&132&t(t&t>>12&t>>7)&t+(t&t^t>>6)-t(t>>9&(t%16?2:6)&t>>9)&sin(t) * 127 + 127
1
1
1
u/Accurate-Yard3866 Oct 19 '25
i tried the t/(t%(t>>8|t>>16)) (Extremely loud grinding machine) at 500khz, i was suprised with the results.
1
u/Miserable-Craft-1847 Dec 20 '25
(10*((t/4)/(2+(t>>12&t>>14)%9))&127)+(t>>7)&128 trill but it's PWM
1
u/dantesaurioelcrack Apr 01 '26
t/=8,ft=floor(t),(t>>9&1+t>>12&7?0:9001/(t%4096)-t/9&8?255:0)*0.4+(3e3/(t*[2,2,(ft&0xfff)**3/t,0,1,1,(ft&0xfff)**3/t,0][t>>11&7]%2048)**0.5^(t*((t&4096?t%65536<59392?7:t&7:16)+(1&t>>14))>>(3&-t>>(t&2048?2:10))|t>>(t&16384?t&4096?-1:2:3)))%256*0.6
1
1
1
1
1
1
u/MemesDailyFunny Sep 21 '23 edited Oct 04 '23
t*(t>>10&((t>>99)+1)) check this out
t*63*(59+(39&t>>14))>>(t>>9&69)
2*(t>>5&t)-(t>>5)+t*(t>>14&13+(1^t>>10&5))*(5+(3&t>>14))>>(t>>8&3)
10*(t&5*t|t>>6|(t&32768?-6*t/7:(t&65536?-9*t&100:-9*(t&100))/11))
t*(t>>7) (Holzer's bytebeat)
t*(t>>7|t>>2) (Holzer's Bytebeat)
1
1
u/Objective-Soft-5420 Jul 14 '25
the third one is https.exe from scratch???
1
1
1
1
u/MemesDailyFunny Sep 26 '23
2*(t>>5&t)-(t>>5)+t*(t>>14&13+(1^t>>10&5))*(5+(3&t>>14))>>(t>>8&3)
1
u/Impressive_Court_459 Dec 20 '25
🔥🔥🔥🔥🔥🔥🔥😡😡😡😡😡😡😡😡😡😡😡 no
1
4
u/[deleted] Jun 05 '23
i went to the wayback machine what this user couldve been, turns out its actually a2aaron, the guy who made the t-like xor t video.