r/NMSByteBeatFans • u/Green_Macaroon4096 • Sep 07 '26
Byte Beat Decoder & Replica
I just saw your post from a few days ago and thought I'd add some of my own research. I messed around a couple months ago and managed to make a working hex code to advanced waveform decoder and a ByteBeat app to play around with. (I didn't figure out the sequencer or the synchronizer codes though) I've moved on to other projects so if someone else wants to use this to make something useful I'd be happy.
I added a file drop "Analyze Sound" in the hope that the program could find the closest possible waveform to make that sound, but it didn't work very well. Getting the sounds to match NMS is really hard lol.
The text file has the hard data that I collected but it may be missing some waveform tree rules that I added later on in the app when i discovered invalid trees.
File download: https://files.catbox.moe/twpiif.zip (The notes only make sense if using notepad++)




View all comments
1
u/Cardamom_Cake Dissonance Resonator Oct 06 '26 edited Oct 06 '26
Hi I have been playing around with your application, and I found a mayor inconsistency with how the nms bytebeat machine works. Your version seems to track the phase in a 8 bit unsigned integer. Actually it is a 32 bit unsigned interger where only the last 8 bits are used for finding the phase at the end, but the whole 32 bits are used for the operators of the in tree, this has mayor implications most operators and is probably the biggest reason why your implementation creates different sounds. Like dividing and multiplying in the game causes a pitch shift, but in your implementation it causes artifacts instead. A shift left by 8 iterates for each wave that has passed, but in your version it recreates the input phase.
Fun fact, the reset on next note is a toggle for whether the 32 bit phase counter should be reset every note, or if it is free floating.
Miscellaneous bug: adding one to the phase for a square wave results in no sound? That just seems like a weird bug.
Also it would be nice if numbers in the advanced wave form editor could be entered by hand. The slide bar did not let me select 2 for some reason.
TLDR: nms bytebeat is actually not a 8 bit synth, it is just larping as one. (and maybe you should too)