Renders any file as pixels and plays it as audio
Requires MSYS2 + UCRT64.
pacman -S mingw-w64-ucrt-x86_64-SDL2gcc main.c -o bytefall.exe -I/ucrt64/include/SDL2 -L/ucrt64/lib -lmingw32 -lSDL2main -Wl,-Bstatic -lSDL2 -Wl,-Bdynamic -lm -mwindows -lole32 -loleaut32 -limm32 -lwinmm -lversion -lsetupapi -lcfgmgr32Requires SDL2
sudo apt install libsdl2-devgcc bytefall.c -o bytefall $(sdl2-config --cflags --libs) -lmRequires SDL2 via Homebrew
brew install sdl2gcc bytefall.c -o bytefall $(sdl2-config --cflags --libs) -lmDrag and drop any file onto the window or pass it as an argument: ./bytefall myfile.bin
| Mode | Bytes per pixel |
|---|---|
| 8G | 1 - grayscale |
| RGB | 3 - color (default) |
| RGBA | 4 - color with alpha |
| 16G | 2 - 16-bit grayscale |
| Key | Action |
|---|---|
Space |
Play / Pause |
R |
Restart |
M |
Mute |
↑ / ↓ |
Speed |
? |
Help |
| Mouse wheel | Scroll |
You can create images like that using img2bin
