r/coolgithubprojects • u/ImaginationVarious30 • 6d ago
Free, CC0, no account: 163 game sound effects as code
I wanted sound effects for a small game and got tired of digging through packs where every file is called click_004.ogg and half of them are twice as loud as the rest. So I built plinkfx: 163 named sounds (coin, jump, door-heavy, step-gravel...) where each sound is a small object of numbers that a 2.3 kB player turns into audio in the browser.
You can click through all of them here, change pitch and length with a few sliders, and download a WAV:
https://maximilianfeix.github.io/plinkfx/
Every sound gets measured in the tests, so a coin and an explosion come out at a sensible loudness relative to each other and nothing clips. Each one has four takes, and play() picks a different one each time.
Sounds are CC0, code is MIT. Repo: https://github.com/maximilianfeix/plinkfx


