Bytebeat


1. Don`t create new thread for each song every time, or you will be banned!
2. Create your own thread and post all your songs in it, or post in the Common Thread.
3. Post your requests and reports here.

[ Common thread #2 / Common thread #1 / Requests / Changelog / Rules ]
absolute197 / aniruF / ANoUserXD / aturned777 / BaenHoHoHo / Blueygray / botbeat / BrokenCircle / Chasyxx / ChrisRM380 / Decent-Manager-6169 / emelchenko / eSlashMachine / Glebguything / Greaserpirate / hcdphobe / Holiday-Charge-1313 / HypernovaHeathen / IgorZevel / kOLbOSa_exe / Kouzerumatsu / LarkeyFactorial / lhphr / MarioFan171 / MT2023 / n3409 / nickdoesthings / OnixIsThePewterGod / ØMEGA 777 / p8192 / PortablePorcelain / PrincessPriscillaPT / psubscirbe / rubi / SArpnt / SentleXR / Slinx92 / SthephanShi / Syranero / Thinguy / TKBMC1845 / trashimpossible3699 / Two2Fall / Underline / Unname4798 / Zackx

CAPTCHA
 Deletion password
  • Supported file types are JPG, PNG, GIF, AVIF, WEBP, WEBM, MP4 and MOV.
  • Limit: 4 files, 30 MB per file (60 MB for Passcode users).
  • Images greater than 250x250 will be thumbnailed.
  • 3307 unique users on the board.

C compatible version is almost the same but with an extra decimal point:

unsigned char f(int t){
 return (t&(t>>12))/4096.*t+3e5/(t&16383)+((t>>(t>>13))&128);
}


Without the decimal point it becomes integer division, which has a different result but is still a valid C expression

bytebeat_player.png
79.68KB, 1130x869
Hello to the music and programming fans!
This is a thread dedicated to the bytebeat player.

Here I will keep a log of changes, as well as show new formulas and code (my own, or someone else's), which I will add to the player's library list.
78 posts omitted. Click Reply to view.
>>18083
The Dollchan player has a long history. It evolved from an era of the players by Hayes, Wurstcaptures, and Greggman, when a relatively complex song could cause a browser to freeze. Compared to those, this player is highly optimized. Of course, it cannot compete with an application running at a low level as C++. I will remove this description.

> "floored" in the description of Bytebeat is also misinformation, because it uses truncation instead (-0.9 becomes 0)
-0.9 is not in range from 0 to 255. So, technically, for Bytebeat mode, where it is mentioned, floored is valid and is not misinformation. However, if we consider the Signed Bytebeat mode to simply be a Bytebeat with an offset, then the description should certainly be corrected for greater reliability.

Thanks for the technical feedback! I will update the documentation.

Message edited: 21.10.26 Wed 23:01:17
>>17990
You should split the "Sort by date" into newest and oldest
01 - Dollchan with cache.png
444.23KB, 1789x892
02 - Dollchan controls with cache.png
384.51KB, 1030x466
03 - Dollchan settings with autoplay.png
25.61KB, 839x287
Implemented song caching. This will make it possible to play even the most demanding songs on low-end devices.

- A song loaded from an URL upon page load begins to be cached immediately. Caching also occurs when playback is paused or stopped. Data is also written to the cache during playback - a segment of a song that has been played once will be retrieved from the cache the next time it is played. If the code is edited or the mode is changed (for example, from Bytebeat to Floatbeat), the cache is cleared. The cache is limited to 2^24 t samples / 48000 Hz = 349.525 seconds for 48kHz audio. The cache counter on the control panel is limited to 2^21 t samples / 48000 Hz = 43.69 seconds for 48kHz audio. The cache counter counts up until it hits the first gap, in cases where you have cached a song in parts.
- Added "Autoplay songs from the library" checkbox into the Settings section. You can disable it if you're playing heavy songs from the library on mobile device, this can be very useful. Previously, due to the nature of mobile architecture, the player might freeze during playback of heavy song and stop responding to button inputs. Now, when loading tracks from the library (provided that autoplay is disabled) you can wait for the song to load into the cache without causing the page to hang.
- Data from the audio worker is now sent in batches and less frequently, which reduces the load.
- More precise lag detector.

Also, now it will be very easy to implement exporting to WAV format from the cache, I will get it done soon.

Message edited: 09.11.26 Mon 18:02:48
>>18453
Does Math.random() also get its values cached, or is it still different every time?
Screenshot 2026-11-11 at 16-26-13 Bytebeat composer.png
100.38KB, 518x585
Added the toggle cache button to the control panel, for quick enabling/disabling.

>>18463
The purpose of caching is to avoid redundant calculations and unnecessary CPU load, thereby preventing freezes. A cache is simply a collection of precomputed samples. All calculations are performed only once, at the moment they are written to the cache, including any randomized elements. The cache stores static data that does not change.
Now that there is a button to toggle the cache, you can play songs in real time, or reset the cache, by toggling it off and back on, to cache new data.

210 posts omitted. Click Reply to view.
won't this thread roll off if not active for some time
im no longer supporting dophaminey.ru, soon all of the available links will be transfered to fh.birdarmageddon.site
i've moved all of the data, now you can access old links by replacing dophaminey.ru with fh.birdarmageddon.site/rkrkrkrk

1735723757438.gif
865B, 16x16
playground (Obsession with output)
sq=(f,p=0.5)=>2*((s*tone(f)%1)<p)-1, 
s=t/48000,
b=94,
r=-1/0,
tone=(note)=>440*(2**((note-9)/12)),
q=(a)=>s%(60/a)*a/60,
F=(a)=>sin(2*PI*s*a),
st=(j)=>F(tone(j)),
bass=(k)=>asin(sin(s*2*PI*440*(2**((k-9)/12))))/PI*2,
cyc=(p,l)=>(floor(p/60*s))%l,
dec=(s,r=1)=>(1-q(s))**r,
lfo=(f,a,w,p=0,o=0)=>
[sin(f*2*PI*s+p)*a+o,
sign(sin(f*2*PI*s+p))+o,
(s+p)%(1/f)*f*a+o,
random()][w], 
sum=(Ar)=>Ar.reduce((a,b)=>a+b,0),
R=random(),
Cho=(Ar,Fn)=>sum(Ar.map(Fn))/Ar.length,
ω=(a)=>{throw a},
p=(a,b)=>a!=b?a:r,
avg=(a)=>sum(a)/a.length,
Kick=_=>F(exp(q(_)*-19)*30/s),
Snare=(a)=>Kick(a)/2+R*dec(a,2)/2,
T=(M)=>(M[0].map((_,i) => M.reduce((A, R) => [...A, R[i]], []))),
Hat=_=>R*dec(_),
Chords={Maj:[0,4,7],
Min:[0,3,7],
Dim:[0,3,6],
Aug:[0,4,8],
Qua:[0,4,7,10],
Mi7:[0,3,7,10],
Ma7:[0,4,7,11],
Di7:[0,3,6,9],
mM7:[0,3,7,11]},
output=st(">@BEGJLN".charCodeAt(cyc(b*2,8))-64)*dec(b*2,2)+bass(">2;9".charCodeAt(cyc(b/4,4))-64)/2*dec(b/4,2)// the deafult code


Message edited: 03.11.25 Mon 11:45:39
66 posts omitted. Click Reply to view.
Someone remix this pls
127sin(t/112.5[6,4,8,3,5,5,8,2,6,5,9,3,5,5,6,3,6,5,8,3,6,5,8,2,6,5,8,2,6,4,2,1][t/11025&31])+100*sin(t/5E3)
Someone remix this pls
127sin(t/112.5[6,4,8,3,5,5,8,2,6,5,9,3,5,5,6,3,6,5,8,3,6,5,8,2,6,5,8,2,6,4,2,1][t/11025&31])+100*sin(t/5E3)
Or
Or link

320 posts omitted. Click Reply to view.
here
sampleRate=44100,
bpm=140,
tTempo=t/150*bpm/40960*sampleRate,
ksBeat='k   s   k  ks  k',

tt=13,
T=tTempo&(1<<tt)-1,
T2=tTempo>>tt&15,

sideChain=ksBeat[T2]==' '?1:max(min(sqrt(tTempo/16384%.5)*6-2,.5),0),

dTemp=t*(t&tTempo>>12&255)>>11,
dub=(((((dTemp&16)/8-1)*(dTemp*(dTemp^15)+dTemp)+127)&255)-127)*sideChain*2,


kick=tanh(sin(cbrt(T)*6)*60)*(ksBeat[T2]=='k')*(1-max(min(sqrt(tTempo/16384%.25)*5-3,.5),0)*2),
snare=(tanh(sin((sqrt(T)*4+t/32)/3)*79)*(max(1-sin(T/32767*1.5707)*6,0))+(sin(sin(t>>3)*t))*min(sin(T/32767*1.5707)*6,1))*(~tTempo&(1<<tt)-1)/16384*(ksBeat[T2]=='s')*(8192>>tt)*4,
hihat=sin(sin(t*(tTempo>>12&1^2)>>3)*t)*cos(min(tTempo&4095,2047)/4096*PI)*sideChain*2,

hihat+snare+kick+dub/64
>>16441
sampleRate=44100,
bpm=140, // change this to anything, reccomended like 100-200 bpm
tTempo=t/15*bpm/sampleRate*4096, //DO NOT CHANGE THIS!
ksBeat='k   s   k  ks  k',

tt=13, //do not change unless you know what you are doing!
T=tTempo&(1<<tt)-1,
T2=tTempo>>tt&15,

sideChain=ksBeat[T2]==' '?1:max(min(sqrt(tTempo/16384%.5)*6-2,.5),0), //you can change this to make different sidechain effects, but make sure the ranges of the sidechain are 0-1

dTemp=t*(t&tTempo>>12&255)>>11,
dub=(((((dTemp&16)/8-1)*(dTemp*(dTemp^15)+dTemp)+127)&255)-127)*sideChain*2, //code from the original "Crude Sinewave Dubstep" by Gabriel Miceli


kick=tanh(sin(cbrt(T)*6)*60)*(ksBeat[T2]=='k')*(1-max(min(sqrt(tTempo/16384%.25)*5-3,.5),0)*2),
snare=(tanh(sin((sqrt(T)*4+t/32)/3)*79)*(max(1-sin(T/32767*1.5707)*6,0))+(sin(sin(t>>3)*t))*min(sin(T/32767*1.5707)*6,1))*(~tTempo&(1<<tt)-1)/16384*(ksBeat[T2]=='s')*(8192>>tt)*4,
hihat=sin(sin(t*(tTempo>>12&1^2)>>3)*t)*cos(min(tTempo&4095,2047)/4096*PI)*sideChain*2,

hihat+snare+kick+dub/64

the other one had tTempo inaccuracy, but i fixed it now
fixed ver

I mean ^
|


65 posts omitted. Click Reply to view.
Screenshot 2025-12-28 163858.png
65.00KB, 1130x845
>>15597
im bored
q = `bpm=t/(1.5),
F=1.335,
G=1.498,
A=1.682,
t*[A,G,A,G,A,G,A,G,G/1.04,F/1.04,G/1.04,F/1.04,G/1.04,F/1.04,G/1.04,F/1.04][(bpm>>12)%16]|(sqrt(2048*(bpm&16383)/8))*9`,

h=t=>(eval(q)&255),

ce()/256-1;

function ce(){
    let out=h(t)/4;
    for (ij=1;ij<10;ij++){
        out+=h(t-(ij*(1+tan(t/8192*PI)*9)))/(ij);
    }
    return out/2;
}
1000000006445.png
2.74MB, 1503x2002
random
p=(2*(t-((t>>10&4|t>>13&3)|(t>>17&6|t>>14&4))*t/((t>>16&7)+4))),atan(expm1(sin(16*p/512*PI)))+sin(p/81)/8

Screenshot_2026-11-01-17-04-53-87_f9ee0578fe1cc94de7482bd41accb329.jpg
106.17KB, 413x684
S1 E2 Seed Eats The Entire Universe Trailer #seedpite #observableuniverse.mp4
0:10, 1.37MB, 720x1280
https://hpinfinikjulio-source.github.io/newbeat/#4AAAA+ka9ks1qwzAMx5+mIdYUbMkfycU99NR3MBnso6GDlYYlh1L28LPsHcrIefwFkqWfZaHkMF8iBYPHe3SOjMF1ii+vS7tq0Me7psGABct9GOAwX0ArnD/Wt3NkgJasJlYgYTJoMGCPRGJ9VijnHqUinrO2CanYLJe1TUhFfEdi20xnixXif6apuUw4sb898rUxrfs9cUPcj7Kqujsuy0uES0y2PJWdq6xtaKyRa+yIHstiDaaO0WwiuY1gA4oSGSTe4moUmt9Blvl0eo+Mt/Kx2XuYPq/Xr3aFMuKOfdBtgbSDddoF7234fshoy88Pp+BUZRQUp3ODHSuF0p54gO4mPdVT+bfqI1wymn8A
https://hpinfinikjulio-source.github.io/newbeat/#4AgAA+ka9VFtr1EAUfs+vmJfEmcnkMpPLbsFp8dJi0cKiBSnLVtI0dVPT3ZpMvcA+9M1fIGgfRUTwReiLqOCvqei/8JzELW1ZX80Mczvfucx3ziQINqdkraxMUZO1omjGO3WR7VpmNqN7L/RwJOqigYmJvRelDoVVHe7pe9Png6xpOi199vX17+OTn9/e/zx9d/b2o6aZyEWtQ6aXLWoRQkBTaRhcF4wMcTdaWUFbIAPrV07mEFefy1yw6c3PGc890n3nAE6ld1BOaC38pSXGLCasMcR5p3w8vhDo709v/hVo5sG9uj3o7oDuzWyye1H3+OTsy4dLuuNcVHN98EY7C1VrYtwZOiyyJ3oAw5yq089nx99//XgFhq5GgHfImYtWvHkgQbDekPVmcs2QzXFBBnU5yYumgbnJy6rKBptk46gypbeZHZLbRZW9tAzXUoYqCeJYhsDo/aJ59KAwRlMZUOlSuRrxbKehJlCcy54tPT9hLFDxasRE+DdmihRQqwFKrcxkMNKAb02PIBbyMHtW7E3rA3IjL3fJTaCIrG3wABda+orjBSg1POZ0S0vwAn4oHUoBZRQJbDDFo6FZXpbSkaNupZxoJBIxDAW2oadEuBACZhDWF9iGMhRSLcJ1q9jpjVggFWOOSiLGaXz9Ou3AOIazFs7sSNkgxdsavsUH60BUCsgWqrZxjFqFGEy0h6GjmBsxRybMhnpzQU85Bjz10VOCPvsehPq0Nkh0ktqSga70pQeoUMW25H4PFBfxOri1QeCFkUFLbVs4PNgoKo3MgiNOO0aRqFT0hJTYe9DSdt9rKcRZQVuMQAmmIoa2GIESnOEa0BdjvKjtLeL/RNOdASLGftUGqHWJDx2peiNXdsnnsQ0pCLAm7TRJonRGzTakhQX9bs84yB05m8E94AeyhPwaOw6XUnwZYED6PfdCeaRQCH5qMW7Rfd0mGX8+YDGM+zaEwS5n9nZ9dEDulvkTcierd/NpXZC8aiJF1o4muSmnEx6gVKOHpIiCv77dfsi2JZaNt8/grfoRj5kFZEpv/qjFfNGeh36f/QE



4:16, 2025-12-14 22-53-55 (1).mp4
29.31MB, 1280x720
so js free to use midi to funcbeat converter

put ur midi in the same folder as code name it song.mid and run the program then take the code from output.txt and paste it to the funcbeat, done!

if someone can do better, please do, ik its possible to do much better

(if someone wants details its just midi player with use of base64 encrypted midi song)

const fs = require('fs');

const midiBuffer = fs.readFileSync('song.mid');
const midiBytes = Array.from(midiBuffer);

var midiString = Buffer.from(midiBytes).toString('base64');

let code = `
var BASE64_CHARS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
function base64ToBytes(str){var clean=(str||"").replace(/=+$/,""),out=[];for(var i=0;i<clean.length;i+=4){var n=(BASE64_CHARS.indexOf(clean.charAt(i))<<18)|(BASE64_CHARS.indexOf(clean.charAt(i+1))<<12)|(BASE64_CHARS.indexOf(clean.charAt(i+2)||'A')<<6)|(BASE64_CHARS.indexOf(clean.charAt(i+3)||'A'));out.push((n>>16)&0xFF);if(clean.charAt(i+2)&&clean.charAt(i+2)!=='=')out.push((n>>8)&0xFF);if(clean.charAt(i+3)&&clean.charAt(i+3)!=='=')out.push(n&0xFF);}return out;}
function readVarLen(bytes,i){var value=0,b;do{b=bytes[i++];value=(value<<7)|(b&0x7F);}while(b&0x80);return {value,nextIndex:i};}
function splitTracks(bytes){var i=0;if(String.fromCharCode(bytes[i],bytes[i+1],bytes[i+2],bytes[i+3])!=='MThd')throw new Error('Invalid MIDI header');var hl=(bytes[i+4]<<24)|(bytes[i+5]<<16)|(bytes[i+6]<<8)|bytes[i+7];var format=(bytes[i+8]<<8)|bytes[i+9],nTracks=(bytes[i+10]<<8)|bytes[i+11],tpq=(bytes[i+12]<<8)|bytes[i+13];i+=8+hl;var tracks=[];for(var t=0;t<nTracks;t++){if(String.fromCharCode(bytes[i],bytes[i+1],bytes[i+2],bytes[i+3])!=='MTrk')throw new Error('Invalid track header');var tl=(bytes[i+4]<<24)|(bytes[i+5]<<16)|(bytes[i+6]<<8)|bytes[i+7];tracks.push(bytes.slice(i+8,i+8+tl));i+=8+tl;}return{format,tpq,tracks};}
function parseTrackToEvents(bytes){var events=[],i=0,tick=0,lastStatus=null;while(i<bytes.length){var dt=readVarLen(bytes,i);tick+=dt.value;i=dt.nextIndex;if(i>=bytes.length)break;var statusByte=bytes[i],status;if(statusByte>=0x80){status=statusByte;lastStatus=status;i++;}else{if(!lastStatus)break;status=lastStatus;}var cmd=status&0xF0,channel=status&0x0F;if(status===0xFF){var mt=bytes[i++],lenInfo=readVarLen(bytes,i),len=lenInfo.value;i=lenInfo.nextIndex+len;if(mt===0x51&&len===3){var tempo=(bytes[i-3]<<16)|(bytes[i-2]<<8)|bytes[i-1];events.push({tick,type:"setTempo",tempo});}continue;}if(cmd===0xC0){var program=bytes[i++];events.push({tick,type:"programChange",channel,program});continue;}if(cmd===0x90||cmd===0x80){var d1=bytes[i++],d2=bytes[i++];if(cmd===0x90&&d2>0)events.push({tick,type:"noteOn",note:d1,velocity:d2,channel});else events.push({tick,type:"noteOff",note:d1,channel});continue;}if(cmd===0xA0||cmd===0xB0||cmd===0xE0){i+=2;continue;}if(cmd===0xD0){i+=1;continue;}i++;}return events;}
function ticksToSecondsAndNotes(bytes){var midi=splitTracks(bytes),tpq=midi.tpq,all=[];for(var t=0;t<midi.tracks.length;t++){var evs=parseTrackToEvents(midi.tracks[t]);for(var k=0;k<evs.length;k++)all.push(evs[k]);}all.sort((a,b)=>a.tick-b.tick);var tempo=500000;for(var i=0;i<all.length;i++){if(all[i].type==="setTempo"){tempo=all[i].tempo;break;}}var lastTick=0,lastSec=0;for(var i=0;i<all.length;i++){var ev=all[i];var dt=ev.tick-lastTick;var secDelta=(dt*tempo)/(tpq*1000000);lastSec+=secDelta;ev.time=lastSec;if(ev.type==="setTempo")tempo=ev.tempo;lastTick=ev.tick;}var notes=[],openNotes={},channelPrograms=new
Post too long. Click to view.
>>11335
I have better instruments that I made for MIDI synthesis: https://old.reddit.com/r/bytebeat/comments/1vrigu2/synthesizing_instruments/

Integrated better instruments into midi player:
var BASE64_CHARS="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
var samples=[];
var freqmap=[];
var instrumentmap=[
 0,1,1,0,0,0,0,0,4,4,4,4,4,4,4,4,
 5,5,5,5,5,5,5,5,2,2,2,2,2,2,2,2,
 1,1,1,1,1,1,1,1,5,5,5,5,5,5,5,5,
 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
 3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,
 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
 4,4,4,4,4,4,4,3,3,3,3,3,3,3,3,3,
];
var instrumentfade=[-4,-4,-4,0,-4,0,];
var drumsamples=[13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,13,];
var drumpitches=[1,2,4,8,8,4,2,1,8,8,8,10,12,16,8,8,16,4,16,16,];
var drumfades=[9,10,11,12,8,7,6,5,9,11,13,7,7,6,5,3,4,10,12,9,];
//index 0-60 maps drums 27-87 to internal drums 0-19
var drummap=[1,3,18,9,9,3,10,8,0,0,3,2,17,2,7,8,6,9,5,11,5,4,13,4,12,16,16,18,15,19,14,12,15,10,9,10,1,0,2,1,17,9,18,10,18,13,18,16,18,9,17,2,1,10,8,18,13,12,10,0,1,];
function selectSample(inst,n){
 switch(inst){
  case 0: return [1,1,2,3,4,5,6,7,8][n<12?0:n>=96?8:n<36?((n-12)/6|0):((n+12)/12|0)];
  case 1: return 0;
  case 2: return 9;
  case 3: return 10;
  case 4: return 11;
  case 5: return 12;
 }
}
function generateSamples(){
 for(var i=0;i<128;i++){
  freqmap.push(8.25*pow(2,i/12|0)*pow(2,[0,13,28,42,55,71,84,100,113,127,142,155,][i%12]/171.));
 }
 var fN=15;
 for(var ii=0;ii<fN;ii++){
  s=[]; eg=[]; od=1; ev=1; ex=-1; ea=0; eb=0; vo=1; ep=(sqrt(5)-1)/2; efb=9; fft=1;
  if(ii>=0&&ii<9){ //piano
   eap=[4,5,6,7,8,10,12,14,16,]; ex=-1; ea=eap[ii]/-16.; efb=(ii<4?9:8);
  }
  else if(ii==9){ //guitar
   ex=-1.5; eg=[7,2.5,1.5,]; efb=9;
  }
  else if(ii==10){ //square
   fft=0; efb=10; for(var j=0;j<1<<efb;j++) s.push((j>>(efb-1))&1 ? -0.5 : 0.5);
  }
  else if(ii==11){ //percussive
   ex=-2.75; eb=1; eg=[3.25,1,-2,]; efb=9;
  }
  else if(ii==12){ //organ
   ex=-1.75; eg=[2.5,1.5,1,7.5,2,-1,]; efb=9;
  }
  else if(ii>=13&&ii<15){ //noise
   fft=0; efb=11; r=1; s=new Float32Array(1<<efb); for(var j=0;j<1<<efb;j++) {s[j]=(((r&0xFFFF)-32768)/32768.); r^=r<<13; r^=r>>17; r^=r<<5;}
   if(ii==14) {var t=new Float32Array(s); for(var j=0;j<1<<efb;j++) s[j]=(t[j]+t[(j+1)&((1<<efb)-1)]*-2+t[(j+2)&((1<<efb)-1)])*0.25;}
  }
  if(fft){
   const fftbits = efb;
   const fftsize = 1<<fftbits;
   let fft1 = new Float32Array(fftsize);
   let fft2 = new Float32Array(fftsize);
   let tmp1 = new Float32Array(fftsize);
   let tmp2 = new Float32Array(fftsize);
   let costable = new Float32Array(fftsize);
   for(i=0;i<fftsize;i++) costable[i]=cos(i*(2*PI)/fftsize)
   let sintable = new Float32Array(fftsize);
   for(i=0;i<fftsize;i++) sintable[i]=sin(i*(2*PI)/fftsize)
   for(i=1;i<=fftsize/2;i+=1){ //harmonic magnitude adjustment
    la=log2(i*2-1); lb=log2(i);
    a=pow(2.,ea*floor(la)); b=pow(2.,eb*floor(lb)); //ea, eb - octave roll off
    z=1; for(j=0;j<eg.length/3;j++) z*=exp(-exp(-pow((i-eg[j*3+0])/eg[j*3+1],2))*eg[j*3+2]); //eg - fine tuning with gaussian function
    p=(i&1?od:ev); //od, ev - odd/even harmonic control
    fft2[i]=a*b*pow(i,ex)*z*p*vo; //ex - uniform roll off
   }
   for(i=1;i<=fftsize/2;i++){ //harmonic phase adjustment
    a=fft2[i]; j=i; b=ep*(j*j-1); //ep - harmonic phase shift
    fft2[i]=a*cos(b*(2*PI)); fft1[i]=a*sin(b*(2*PI));
   }
   for(i=1;i<fftsize/2;i++){ //finish fft frequency symmetry
    fft2[i]*=0.25; fft2[fftsize-i]+=-fft2[i]; fft1[i]*=0.25; fft1[fftsize-i]+=fft1[i];
   }
   let pass = fftsize;
   let dist = 1;
   for(let i=0; i<fftbits; ++i){
    for(let counter=0; counter<dis
Post too long. Click to view.


205 posts omitted. Click Reply to view.
Bytebeat-code

218 posts omitted. Click Reply to view.
Kinda cool melody thing
https://bsquareii.github.io/BSquare_BytebeatComposer/#4AAAA+kUNi0EOwCAIwF4jAeaiIiPz4keM3vYD/p+R9NImdcZ2YQf0OVerORj53Su0KfRNRHCHyNFPC3rSOoxOFIuHlZ2SPFbkBw

lossing time
https://bsquareii.github.io/BSquare_BytebeatComposer/#4AABELEZNizsSgCAMRE9DJpFx8sEgWOClKD28wcqt9u0H54aaUWGOoSex048rcQm2jL54FQ32cJ1Cz4oWqYLe5YqZfbcSZTKvHAk2EWGc6ZBeWYXA3ImNXg

sinewave dancing
https://bsquareii.github.io/BSquare_BytebeatComposer/#4AgAA+kYrzszTKNEK8NQ3NLLQ1C9JhPHMjC1MNLWLYbJmpqbGZpr6cD5EHsG3MLQ00gQA
>>16897

1.
https://bsquareii.github.io/BSquare_BytebeatComposer/#4AAAA+kUr0dIw1NYwViuxs9PWVrK0tDBXigayDU3UjGM1NdV0gWyjOJNUE32NElUTA0szzTigiJlaiZaJVomqkamZvhEA

2.
https://bsquareii.github.io/BSquare_BytebeatComposer/#4AABELEZNisERgDAIBKuRATMOASQmPmI1dpCnxYt5+brbu8WxoiQUGL3LQez040JswZrQJyessEVpRPRE4gciIJedIemULM5FvXAs9TbGsey5FZZMoO7E+gI

3.
https://bsquareii.github.io/BSquare_BytebeatComposer/#4AgAA+kbTCLYtzszT1CjRCvDUNzSy0NQvScyD8Ey0tMw1tYPhHKBcMJIMjGNhaGmkCQA

Oops I meant "cool waveform I guess (second one)"
>>18325
Tags: stereo.

But for me, im bored as HELL and wanted to make a song based off of a Disney show's bossfight music,
Here it is
Bossfart

IMG_20261029_175918.jpg
17.53KB, 166x159
(t>>9&31^8?2**([NaN,0,12,15,21,6,19,-3,9,3,4]['0x'+'10231040123141231023104012315152102310401231412310231041231521521023104012314123102310401641315210231040123164231023104123152152708270607827678270827060782797987082706078276782708270678279879850645040a064a060'[(t>>12)%208]|0]/26)||0:sin(t))*t%541*!!(-t>>9&15)+128

or
Play
>>18235
Thanks, this helps.
Tip: Instead of creating a thread for one specific post, you could instead create a universal thread for all of your posts or put this in the Common Thread.

export_20261031_215333.png
6.61KB, 1024x1024
This is the real good melody! I made it LOL!
BPM=125,b=(t/48000BPM/30),m=[0,0,0,0,0,0,7,9,7,7,7,7,4,4,2,2,4,4,4,4,7,7,9,9,7,7,7,7,5,4,2,-1,0,0,0,0,0,0,7,9,7,7,7,7,9,9,9,9,5,5,5,5,9,9,4,4,7,5,4,2,0,0,0,-t][b&63],C=48000/PI/523.25/(2(m/12)),r=2-2((b)%1),n=(2*((b%256>224)(((b>>3)&7)-4)))(b%256>64)(b%32<30),this.build??=0,build=build0.38+(round(((int(b)%64)/641+1)565(b%(b%64<48?1:0.5))*0.9)%2/2-0.25)sqrt(1-(b%(b%64<48?1:0.5)))(b%256>192|(b%256<64&b%256>32))sqrt(b%64)/8(1+sin(t3)/4),bs=[0,7,[4,7][(b>>2)&1],0,0,7,9,[7,0][(b>>2)&1]][(b>>3)&7],bas=(261.7[1,2,1,1,2,1,1,2,1,4,2,2,4,2,2,4][b&15]/4(2(bs/12))(b%32<30)t/48000)%1-0.5,bs2=[0,7,9,5,0,7,9,12][b>>3&7],sub=sin(PI(4-b%14)cos(2*(bs2/12)261.7PIt/48000))sqrt(1-b%1)/2min(1,b%4/2),saz=(sin(t/C+PIsin(t/C4+PIsin(t/C/2)/4r)/4r))max(0,min(1,abs(r-0.25)-0.25))/2,left=sqrt((b%2)/2)(saz+int(bas8)/16)+tanh(sin(2.5/((b)%(2/n)+0.03125)))(2-b%(2/n)n)/3,saz=(cos(t/C+PIcos(t/C4+PItanh(cos(t/C/2))/4r)/4r))max(0,min(1,abs(r-0.25)-0.25))/2,righ=sqrt((b%2)/2)(saz+int(bas8)/16)+tanh(sin(2.5/((b)%(2/n)+0.03125)))(2-b%(2/n)n)/3,hihat=abs(sin(t*3))(1-b%0.52)42[0.125,0.25,0.5,0.25][(b2)&3](b%256>96),snare=sin(int(t((b%1<0.03125)?0.3125:0.3125))*4)/4(b%4>2&b%4<3)2(1-b%1)(b%256>64)(b%1<0.125?((0.03125-b%0.03125)32)2:1),bu=round(1130(b%0.5)*0.9)%2,t?(b<320)?[left+build+hihat-snare+sub,righ-build+hihat+snare-sub]:(bu-0.5)max(0,1-(b-320)/4):eval("throw 'This is truly a great melody! Please support me! LOL'")



peak lwk
Fixed Misery


Screenshot 2026-10-21 8.10.42 AM.png
82.64KB, 1364x686
https://dollchan.net/bytebeat/#4AAAA+kUr0Yo20DHQMdIxNNCx1DE00zEEMk10DI3ByAjKACkx1DMCqrAAixiApQzBCMg2jI3WKLGzMzTSVDUyjQViMwA


Also, had to use this random file to start the thread.



captcha.png
5.82KB, 175x55
i dont know if i already made a thread for a song uhh

anyway i made some drums
r=random,s=sin,kf=50+r()*10,sf=300+r()*200,hf=4000+r()*2000,st=t>>12,p=t%4096,k=st%4==0?s(p*kf*0.001)*exp(-p/400):0,sn=st%4==2?s(p*sf*0.003)*exp(-p/300):0,h=st%2==1?s(p*hf*0.01)*exp(-p/100):0,[128+127*(k+sn*0.8),128+127*(k+h*0.8)]
13 posts omitted. Click Reply to view.
captcha.png
9.72KB, 175x55
wow guys more music yes i cant believe it awesome
??????
by the way its pretty laggy on old computers
i made an amen break on the tts thingy
brke
i dont know
tr5yhjuk

27 posts omitted. Click Reply to view.
set it to diagram and zoom out to 2-8
Bytebeat-code
256 pixel version Bytebeat-code
Bytebeat-code

52 posts omitted. Click Reply to view.
Imagem colada.png
3.64KB, 182x48
Reddit: https://www.reddit.com/r/bytebeat/comments/1xgctuz/qwertyuiopasdfghjklzxcvbnm/
Direct Link: https://chasyxx.github.io/EnBeat_NEW/#EB3AgCAO0cAAAAAAFiDQJVT0WrbQBD8l9CCDSWhf5QQTF9CCS3pswMKyJCAAwo4RAEJ5FRny7Z0OsVysd1/2cGn3+jeWXLSOA8tCOnutLs3Mzvb+XFy1rr42vl+enLeaW0/xxQqLFMIieKy6kl9taCghLOAK2jxpIeJTmN0BUVJdTOHs6puhC7jqj/bJBncKdwE0RT9BEGC61fPzeMm4bA1ygx9QV65USNOoXTKkVQ+m8Xtq5iAY9RGzTaXvfou9+UuOFN4/54+YlLk5XDnGJQUzXAt4T8jGFEwJj9FN4Xz8yXX2+YKylTlZ1AxhaHu5RTEpo54MDSdxGDwC0ozKnMLY467fQAs1BAeKzOBW2AgaMnrklRmUAUZrjN0mdrEItxthQHp5HBS+NLi/69L16ZB2XjXHVwxhtnfItiARlJWUnumrH0X2lOUyuZENee7t9oUD8Yn5RqOMgTDR1oyhqHxwCBHYFKaxdY8CfopIm6TRFcZbzA1d//vXhZLFMm9rF2YQneBQX3+FpXzbPVPKtc2MVqhjGud3d/o/qr8VdUL9SLSqwmxdLG0fUkqn8WRLA4fQq2570wNjrRzMUfBQzHVtzNtao5MZx2On1Mc12iVjd+uWedlMz5ZhCJnR1ESW5yZJVWwFblOdTu3dYZcnxa5DoW+VwZVxtu0usu1sV9Ek6HxQ8kEk2Y7tgjXcFlDLlLAfaJ7hTRHxO1mrVJrIfbDmEIJJ7bea5ywRVtPhHhnOt6OhrSqipd72bR9ZiERvHOvnVzRUFZGin7OxGtIri3iSsN0ssXGirFu4zoxCo4Pv3XOz05OO62ji9bhYfvoy6eDD58/HrTb7T8AAAA

oh nooooo i changed to chasyxx's bytebeat composer cuz i dint like the new dollchan gui oh nooooooooooo the dollchan headquarters are gonna expldoe-

captcha.php (1).png
10.30KB, 175x55
(lj=(d=(k,l)=>({k:(sin(sqrt(t%4089)))*9*(1,exp(-t/4089%1*5))," ":0,s:((sin(t/20+sin(t/10))*sin(t/20)+sin(abs(t/200))+random()*2)/5*min(1,exp(-t/4089%1*6))*10)*3-1,c:sin(t*t*t-sqrt(t%4089))*9*min(1,exp(-t/4089%1*5)),ĺ:(sin(sqrt(t%4089))*9*min(1,exp(-t/4089%1*5))+(sin(t/400)+sin(t/420)+sin(t/4*t)+sin(t/34*t*random()))*(-t>>4&255)/128)}[k[(t>>l)%k.length]]),d("k k c kĺkĺk c kĺ",12.3)),t?hl+=(lj%256/2-hl)/10*(-t>>4&255)/128:hl=0)

514 posts omitted. Click Reply to view.
>>247
Oh god why does it sound like humbug from msm
>>1570
bro i am so using this in a game. I'll credit you:]
uhhhh

image.png
32.89KB, 250x112
Hello, this is my homepage. This thread will be entirely in Vietnamese instead of English, and I'm happy to be able to share posts in this thread.
Đây là trang chủ của tôi, chủ đề này sẽ nói toàn tiếng Việt thay vì tiếng Anh, và rất vui khi mình có thể chia sẻ bài đăng ở chủ đề này

Bytebeat-code
27 posts omitted. Click Reply to view.
i thought this was the common thread
Hello

images (18).jpg
5.47KB, 170x296
There you go, Absolute917! :D

T=t/4,main=(t*2**([-5,2,3,5,7,0,-2,9,7,0,12,12,7,7,10,3][15&t/1.5>>12]/12)*2.08%256*(-t/1.5>>7&31)/96+(2.08*t/2**(t/1.5>>13&3)/8&31)),main+(30000/(T&4095))+(t*random()&32|(t-(t>>4&t>>8)&16)^t>>6&63)



ye.png
14.48KB, 256x256
I want to share my progress in front of the chaos happening here. I decided to post on dollchan due to the stupid moderation on Reddit. They're suspending my accounts over and over, but I didn't do anything. I just deleted my first account where I didn't do anything.

But here is some of the work I've made.

Reverb AI ahh tool (used trig from lhphr as an example)

Omega

Text visualizer (I modified May_I_Change_My_Name's code in that way to let it draw on the diagram mode, oh yeah, set visualizer to the "Diagram" mode and zoom out to the 1/32 scale, 1/64 on mobile)
25 posts omitted. Click Reply to view.
Laggy bass with filter sweep + my engine (From BBCloud, tags: stereo, slow.); (90377) Sedna (From BBCloud, tags: stereo, slow. Winner on the 30th week challenge.).

BotB OHBs series:
1. Oddness (didn't follow the bitpack);
2. Danger (almost the same);
3. HNO3 (winner);
4. No (winner again);
5. Looking for a book during an eruption (progressive, at 2nd place);
6. Sapphire-ish (probably the worst song of all series in here).

Message edited: 01.11.26 Sun 05:35:02
Sorry if the text isn't formatted as it should be. >>16833
A cool yet simple Am9-CΔ9-FΔ9-GΔ9 chord progression. A bit buggy because some instruments have to gain feedback effects before sounding properly, but that's a minor issue if talking about sounding.

Tags: slow, stereo.

BBCloud
Quite broke the rules with the 256 bytes thing... Significantly faster than the original from 0b5vr.

Tags: stereo.

A fork of "when the 128 voices generator is too high for your budget" by Purishira-Chan and remix of "128 Voices Generator" by 0b5vr.

BBCloud




Neurofunk - SthephanShi, YouTube.com
A few days ago, I have opened a SiIvaGunner fanchannel called ByterBeater. It's also opened for contributions like the original.

You can submit your rips through the discord!
channels4_profile.jpg
12.62KB, 512x512
"Neurofunk - SthephanShi" 25.10.2025.
https://zopium.neocities.org/bytebeat/?l@@@ZYxLCgMhEERPE1ExjN1q+yGjBxFvIa7m8DHRMIvwNkXxqsaJUvJavVqEjdt8ujv5pv7Mn3GbX1qrPWcgBisgA9cOQCGBVJe8M6sjlf4g5wy9XDQRy0hdjmOOfBoiZ27Yc26ni9qGggm0ENdqgEywZb+ATiaheAM=
Joke: Subways of Your Mind

"The 42 Melody" 26.10.2025.
https://zopium.neocities.org/bytebeat/?l@@@K9HSiLbQsdAxAEIzIATRRkgYBC3AcpjiUBgbXWJnZ2igZmwYqxVtqGOoY6IDpEyAwmqGsRBJUzXjWE0A
Joke: Who is No. 1? (that one ai vocaloid song)

"Showing off the recombination better - Greaserpirate" 26.10.2025.
https://zopium.neocities.org/bytebeat/?l@44100@@nVDLbsIwEPwa0K4zGNvEeRyWGyfgxi1yJSKQqEAFKSEnPr42oFYtl6pez9r7mB1pO+neP6ifzz3jIHbco1eibYWrpKw1PCpytEJbnNBhwF7cPsdGepzFYCeGZT4ostmOFe2ntBk7paibnHm6bdKIjkenMLHMI3K+UAPfbgYXaXLUsAbWodYOBUpUAUdpLBws4k3mQpSIqUPUPkRz6Q1Yplw60QesU/RlcZjV/onqF2azF3fnPOuJ7V/p98I3697i8FfN8if+qxewkl6tm2uAzhVRSxdUaYO6RrHIscJEF9lVaeNRctbSMZVt3HK9mKGHYR477znTVtHq8W1p92jSBb+1tHwGUW+R8yc=
Joke: Ghostbusters Theme

"chip - Butterroach" 26.10.2025.
https://zopium.neocities.org/bytebeat/?l@@@LU7LDsMgDPuWXSKgaMPhUVqt3YcgDv2ASTtw6KHqty+sU6zYshMlqhEch+MQTj4HokbsQia6qUYRrPVLRHBTuqwedstIrespXQ/gcW5GSQoPN0I/gZBy1oaNUWXDUrJF7BAOPykd1W4Q3N/bR+3Lug9R2yIhc0efmv5r8LUWuYdI/hKgsT76e4Zn9wU=
Joke: bad guy - Billie Eilish
Post too long. Click to view.


Hello! I've been doing bytebeat on and off in the recent times and I decided, why not, let's just share it with others for once! The way I will be formatting my bytebeat songs in this thread is as such:

Name: (Name); Date: (Date); Sample Rate: (Sample Rate)
(Code)

Description: (Description)

The songs will be grouped up with a quality value ranging from 0 to 3. The quality value shows how good I personally think the song is, and the rest of the info is generally self-explanatory. One thing to mention though - if the date for the song is "-", then the date is between 28 April 2019 and 12 March 2022.
Either way, here's my list of bytebeat songs!



Quality value: 0


Name: (testing)1; Date: -; Sample Rate: 8k
Post too long. Click to view.
31 posts omitted. Click Reply to view.
>>12519
it's not your falt that you managed to confuse a lowercase "L" with an upercase "I"
>>14924
I still don't understand how lhphr would be pronounced
tree.png0001.png
4.71MB, 1920x1920
oddsine looks really cool in points mode
>>14979
I pronounce lhphr as luh-fur
>>16069
for me i just spell it


I MADE NECROSIS
here is the real link to guanosine.exe Bytebeat-code

Screen Shot 2026-10-18 at 13.37.47.png
109.16KB, 1048x722
(
  ((t >= 0 && t < 128000) * (t * (t * 9 | (t >> 12) % 256) & ((t * 4 | (t >> 3) % 345) + (t >> 9))))
  |
  ((t >= 128000 && t < 260000) * (t * (t * 4 | t >> 7)))
  |
  ((t >= 260000 && t < 520000) * ((t & t >> 8) * (t >> 4)))
)
Bytebeat-code

224103.jpg
301B, 1x2
Yuay captcha

https://bsquareii.github.io/BSquare_BytebeatComposer/#4AgAAekZ1j8FOwzAQRP8lB7Tb2K7tKqJUcjggbtwqToiDmyYkUnGieAlVvp5NQG2p4GJ5POO3s8fBQdg5gOCgdkD3VeogNgFoQZjOl6XVGqWRFS6NXS1AUp5nNzbLWOtN5TSKWlG7pb4Jb2A0qvixiz9KsEYRGR0489R+lv2DjyXUiL9Jdi0N584ge8mRRs8kFIOfWh78mLowHdxexUNTlGBQqpVkR7LxR1e7vtIbzk6QaYPB/7cC1zLchdrnrjuVv95FvByHiz+3KFifgHf4qt59B2F0eRhV0YbCE4/RglB1fr8l3xO7IjHJ/PAY9t9SJ3jGEOIX

Untitled100_20260308075041.png
1.11MB, 1920x1080
Created a new thread cause Claude couldn’t find it.

(The captcha was rupi)
34 posts omitted. Click Reply to view.
>>14999
*transfer 4
>>14622
☆: .。. o(≧▽≦)o .。.:☆ we're so back

general relativity
to get to my damm thread
(kids these days)

image_2026-10-17_091112264.png
105.76KB, 1319x611
[
(SS=(s,o,r,p)=>(c=s.charCodeAt((t>>r)%p),32==c?0:31&t2(c/12-o)),3SS('0 0 7 7 037:<<',6,10,32)+5(t&4096?SS('037',4,8,3)(4096-(t&4095))>>12:0)),
(t&4096?(t*(t^t%9)|t>>2)>>1:255)
]

t=t/4,c=[1.5,1.7][t>>15&1],b=[1,0.5,2,1.5,1,0.5,2,1.5,1.55,1.5,2.55,2.5,1.50,1.5,2.50,2.5][t>>10&15]t,a=b/c,l=(9e5/(t%16380)&64)+((((a%64+a%63.8+a%64.15+a%64.35+a%63.5)/1)|-127)+125)+(tt>>5c&30),r=(((9e5/(t%16380)&64)+(((a%64+a%63.8+a%64.15+a%64.35+a%63.5)/1)|-127))+125)+(tt>>5c&30),L=[l+(random()t&30),l+(random()t&-t>>5&60),l+(random()t&30),l+(((9e5/(t%4096))|222)+(random()t&30))+10][(t>>16)&3],R=[r+(random()t&30)-6,r+(random()t&-t>>5&60)-6,r+(random()t&30),r+(((9e5/(t%4096))|222)+(random()*t&30))+10][(t>>16)&3],[L,R]

bytebeatcloud

hello-hi.gif
91.44KB, 190x112
this Thread is where I'll be posting bytebeats that i made (shocker).

Starting with the ones i already posted on the Common thread:

Sineathon

The 43 Melody

Melo-T!
12 posts omitted. Click Reply to view.
The Binomial Melodial series without "**2" at the end sounds unique too!

Binomialn't Melodial
Binomialn't Melodial 2


(SthephanShi im so sorry for when you come across this thread and have to add all these songs on the player, i truly am)
The old Binomial Melodial 2 has been made unofficial and is replaced by this. the old Binomial Melodial 2 can be found here.
here
>>17960
It's supposed to say Binomialn't Melodial and not Binomial Melodialn't.

Delete Post  

1. Don`t create new thread for each song every time, or you will be banned!
2. Create your own thread and post all your songs in it, or post in the Common Thread.
3. Post your requests and reports here.

[ Common thread #2 / Common thread #1 / Requests / Changelog / Rules ]
absolute197 / aniruF / ANoUserXD / aturned777 / BaenHoHoHo / Blueygray / botbeat / BrokenCircle / Chasyxx / ChrisRM380 / Decent-Manager-6169 / emelchenko / eSlashMachine / Glebguything / Greaserpirate / hcdphobe / Holiday-Charge-1313 / HypernovaHeathen / IgorZevel / kOLbOSa_exe / Kouzerumatsu / LarkeyFactorial / lhphr / MarioFan171 / MT2023 / n3409 / nickdoesthings / OnixIsThePewterGod / ØMEGA 777 / p8192 / PortablePorcelain / PrincessPriscillaPT / psubscirbe / rubi / SArpnt / SentleXR / Slinx92 / SthephanShi / Syranero / Thinguy / TKBMC1845 / trashimpossible3699 / Two2Fall / Underline / Unname4798 / Zackx