Tech News
← Back to articles

My Experience of building Bytebeat player in Zig

read original related products more articles

I left my job at startup last month to have break and enjoy some time being bored, on the weekend i decided to write a bytebeat player for fun, which i was thinking from long time.

This was my first time with Zig, and I actually enjoyed writing the code, writing Zig feels like C with friendly defaults.

It is a joy to write, I am not fighting borrow checker or fighting with syntax.

You can call this a passion project, there is no goal or agenda behind building this, I built it because I wanted.

Demo(play with sound on): #

Your browser does not support the video tag.

Try here: https://kmj-007.github.io/zigbeat/

For many people who don't know what is bytebeat, let me explain:

Bytebeat is music generated from short programs. These programs generate PCM audio as a function of time, see one below which is called 42 melody

t*(42&t>>10)

... continue reading