Evil fridge project, built with:
- Orange pi zero 2w
- Old CRT monitor
- Zig
zig build -Dtarget=aarch64-linux-gnu -Doptimize=ReleaseSafemonitor resolution: (cols)x(lines):128x48
Current version supports playlist: queue of tracks, which will be playing along with alive animation when the door is open.
To add a track add your mp3 file (<=5Mb) into assets/sound directory and CHANGE meta.playlist file: add new record into json array with file name prepended with /, playing queue respects order of records in meta.playlist file.
You can't add a new animation without changing code, though I give you some explanation of animations:
You have separate directories inside assets/, each one for separate animation, each animation-directory contains .txt frame files and meta.animascii file which defines which frames, in which order and with which duration to show.
I've used this project to draw ascii animation. It has hosted version. It is buggy, but usable. You'll need to postprocess frames to make paddings, the one, that you will have in the app would be cut after export. I have an example of cutting frames and postprocessig them in split_frames_add_margin.sh.
ssh fridgehead@10.0.24.38Execute directly on orange pi mounted on the fridge inside /user/fridgehead directory
./sound_checkscp:
ssh:
-into server and change tracks and meta.playlist in assets/sound directory (described in Assets.Sound)
- playlist engine
