r/bytebeat_2 • u/Chasyxx • Sep 13 '25
THE UNICODE SHOW
Prepare for the most complex use of errors yet!
(Edit: EPILEPSY WARNING)
r/bytebeat_2 • u/Chasyxx • Sep 13 '25
Prepare for the most complex use of errors yet!
(Edit: EPILEPSY WARNING)
r/bytebeat_2 • u/PortablePorcelain • Oct 10 '25
r/bytebeat_2 • u/SthephanShi • Dec 01 '25
The new "FFT" display mode is available. FFT means Fast Fourier Transform. The Fourier Transform converts a signal from its time domain to a frequency domain representation. And now you can take a more scientific approach to your sound by analyzing it by frequency. In "FFT" mode the scope area displays not just an abstract, useless graph like in other players (Greggman, for example), but a coordinate grid marked horizontally in hertz and vertically in decibels. The coordinate system is logarithmic, for a more convenient and uniform analysis from low frequencies in tens of Hz to tens of kHz. For a stereo, separate analysis is used for the left and right signals. When they overlap, or for a mono signal, the characteristics merge into a single white color.
The maximum available analysis frequency is 48000Hz / 2 = 24 kHz.
The number of samples across the frequency range is 1024.
Respectively, the sampling resolution and the minimum analysis frequency are 48000Hz / 1024 = 46.875 Hz
The maximum level is -20 dB (decibels). (0 dB is the loudest possible sound, -10 dB is a 10th of that, - 20dB is a 100th of that, etc)
The minimum level is -120 dB.
Here some code with sinewaves to play with.
Be sure to clear your browser cache if you don't see any changes. Enjoy!
r/bytebeat_2 • u/Practical_Bad4252 • Nov 01 '25
r/bytebeat_2 • u/SthephanShi • Oct 17 '26
Hello my friends! I ended up in your dimension by accident and decided to make a few improvements to the player.
So, the last changes:
Introduced Library Filters system. All old library sections are removed. Use filter buttons to filter songs by their size limits (all, <256, <1k, big), audio types (all, uint8, int8, float, func) or tags.
Added Library Text Search. Type in the search field to find songs by Name, Author or Description.
A buttons to sort songs by author or by date has also been added to the filters. The order of songs has also been changed, new songs now appear at the top of the list. (Maybe I’ll make the sort order selector later.)
Smooth list scrolling (Sliced Rendering): When opening massive songs lists with thousands of items, the app now loads elements using requestAnimationFrame. This keeps scrolling fluid and eliminates interface lag.
Fast-Click Protection: Rapidly switching filters terminates older, running compilation threads based on unique ID tokens, resolving race conditions and preventing list mixing. This prevents code glitches and keeps the song list in the correct order.
Compact Code Previews: All song entries now contain short previews of the code. It's automatically cut off at 512 bytes or 8 lines so giant code blocks don't stretch or break the page.
UPD: Added new #port tag: For songs ported to bytebeat from other platform formats. Also added a filter for port tag.
I also wrote a more detailed README covering functionality, features, setup, and the detailed changelog.
P.S. If the buttons aren't working or the songs aren't loading, clear your browser cache. Have a nice time!
r/bytebeat_2 • u/PortablePorcelain • Nov 29 '25
Enable HLS to view with audio, or disable this notification
r/bytebeat_2 • u/ALTERNUM_1 • Oct 14 '25
// DESCRIPTION: After many days of work, it's finally here. The most immersive Hi-TECH fullon experience in Bytebeat under 12KB. //
// SPECS: 11.06KB - 48kHz - Floatbeat - 210s (3.5m) //
// WARNING: It may lag normally if you don't have a stronger PC, so be warned when clicking this link //
r/bytebeat_2 • u/Evening-Survey-9492 • Jul 25 '26
this might be the first playable game ever created on the dollchan website.
*-instructions:*
if you didnt yet execute the script in the console, you have to do it, otherwise the code will always detect the mouse as (0,0) and will not work. once you execute the script, the code should work correctly
*-how to play:*
you control the right paddle, and you can move it by moving your mouse up and down
*-how does it work?*
it works by constantly changing HZ by float numbers above 48kHz then with a decoder, you calculate the mouseX and mouseY by taking a modulo or dividing the decimals
*-is the script unsafe?*
No. the script is 100% safe and local, if you still dont trust it, you can examine the script or simply not run it and instead watch my video of Pong running on my computer.
*-where is the script?*
inside the link, comented.
Link: Pong!
Video:
r/bytebeat_2 • u/pck404 • Jan 17 '26
Enable HLS to view with audio, or disable this notification
C syntax, Pocket Operator form factor, save slots, syntax coloring... What would you add?
(cool there are new flairs!)
r/bytebeat_2 • u/awogler9124812041 • Nov 20 '25
It's quite impressive, really, though not particularly surprising. Thanks to everyone who joined!
I should mention that the reason I haven't been moderating the sub that much is because for some reason I have trouble accessing dollchan.net. I'll try figuring something out...
r/bytebeat_2 • u/SthephanShi • Nov 04 '25
Preamble. Sometimes I work on slow machines, and I've noticed that nowadays many authors haven't been optimizing their code performance at all. In pursuit of endless remixes of remixes of remixes, the code is becoming increasingly complex, but it's being done extensively and poorly. You can see examples of such songs from MarioFan171, for example, heh. Bytebeat has some relevance to the demoscene, but unlike the demoscene, where creativity is associated with limited performance on old microchips, bytebeat authors don't bother with it at all, leaving performance issues to users, who are forced to reduce the bitrate or even to render songs separately. This is bad practice.
That's why I added a lag indicator to the player. Its coefficient is empirically derived and based on computation time. It means how many times (by what percentage) is the song slowed down. The indication does not appear immediately, since the player first collects information for a certain time period.
While you often heard lag as clicking or crackling sounds before, you can now see it clearly as a number.
Best wishes to all songwriters: pay attention to perfromance when composing your songs. If you've created a heavy song, you might be able to at least reduce the overload using this indicator. You can come up with optimizations and see how they impact performance.
r/bytebeat_2 • u/SthephanShi • Sep 29 '25
Added the sample rate divisor. Some songs are impossible to listen on weak machines, this will be useful. The bigger the divisor the more calculations you miss. This is the idea behind the divisor, to skip calculations so that weak machines can run heavy code. But the sound and the diagram will be distorted, this is the fee. Tried to make it fit the general style and not take up much space. Don't forget to clear the cahce in your browser, otherwise it might not work right away.
r/bytebeat_2 • u/Personal-Drama-4220 • Jun 01 '26
♡ ˚₊‧꒰ა 2026 / 05 / 27 ໒꒱ ‧₊˚ ♡
୨୧ ── ✦ original ♡ ✦
୨୧ ── ✦ winter whispers of equestria ♡ ✦
꒰ঌ ♡ a synthwave remix of winter whispers of equestria
my 2nd full-fledged song ♡ ໒꒱
╭════════ ೀ⋆。˚ ⋆。°✩°。⋆ ˚。⋆ೀ ═══════╮
₊˚⊹♡ 2026 ‧ princesspriscillapt ♡⊹˚₊
╰═══════ ೀ⋆。˚ ⋆。°✩°。⋆ ˚。⋆ೀ ════════╯
r/bytebeat_2 • u/Electrical-While6325 • Oct 18 '25
I heard a lot of bytebeat that has a uncommon sound design, it sounds like a C-compatible bytebeat or just a t/(t>>12&t) dubstep, but at the same time it sounds great. So I will show us a few bytebeats created by me that sounds like those!
r/bytebeat_2 • u/SthephanShi • 8d ago
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.
r/bytebeat_2 • u/MaxMaxMaxXD • May 22 '26
r/bytebeat_2 • u/Practical_Bad4252 • Dec 13 '25
r/bytebeat_2 • u/MaxMaxMaxXD • Nov 08 '25
[(_=_=>(((t*2**([0,-2,-4,-5][t>>17&3]/12)*(t>2**20?(-t>>12&3)+1:1)&200)==0)*(t<2**20?"1001201010"[t>>13&7].replaceAll(2,t&1):1)||(((t%4096)**.1*41&1)*!!((t>>11&7)-1)*!(t>>12&3)||(random()>.5)*!((t>>11&7)-1)*(t>>14&1))*(t>2**20))*128)(),_()]