Skip to content

Instantly share code, notes, and snippets.

View Sychamis's full-sized avatar

Sychamis

View GitHub Profile
// Experimental flat-shaded 3D renderer in bytebeat using the throw() function. Made by Sychamis in May 2025.
// Will probably not work on your system, I've had issues running this tech on Windows and macOS.
// https://dollchan.net/bytebeat 48000Hz.
process = () => {
class DisplayEngine{
constructor(){
/*
Torchkas - Can you Feel [SPC700], covered on bytebeat by Sychamis, November 2024.
You probably know this music from the Mario's Mystery Meat romhack. Samples were ripped from the .spc file using spc2it (https://github.com/uyjulian/spc2it) and converted/imported using OpenMPT, Audacity and tomeko.net file to hex converter (https://tomeko.net/online_tools/file_to_hex.php).
This cover should be pretty close to the original, although I couldn't fully match stuff like sample pitches and the main lead.
The .it file helped a bit but it wasn't ideal.
I used the audio engine from my Cocktail Hour cover with additional fixes and optimizations.
/*
FΛDE - Cocktail Hour, covered on bytebeat by Sychamis, October 2024.
Original: (https://www.youtube.com/watch?v=ucL0NTdKdb4)
As far as I'm aware this is the most accurate cover of this tune on bytebeat. It's not perfect though, some effects are a bit off, it doesn't slow down at the end (I may add this in the future) and there are "popping" issues.
I didn't manage to find all the chords on my own, so I used the source file of Esteban Trujillo's C64 cover to get them all. It can be found here: https://csdb.dk/release/?id=233361
This engine is not well optimized yet and I will add other features if I ever reuse it for other tunes. You may try to use it but I don't guarantee everything will work as it should.