Enhanced sfxr for Love2D
A downloadable tool for Windows and macOS
sfxr.lua is a port of DrPetter's sfxr Flash tool to Lua and Love2D.
It features both source code that enables you to play back sounds in your games and a demo app that is used to create sounds just like the original Flash tool.
I noticed some bugs in the demo app so set about fixing them:
- fix: getDirectoryItems (from a PR)
- fix: off by one sample length error (from a PR)
- fix: space bar was not playing the sound
- fix: selected wave form was being ignored (sounds were always square wave)
- fix: loaded wave form not updating the interface (but sound was playing correctly)
Then I got carried away and added some new features:
- add: clone method added to sfxr.lua
- add: history form with list of previous sounds, save current, and undo/redo
- add: “play on changes” so that any time you adjust a sound it plays automatically
- add: keyboard navigation in file picker (A–Z: jump to files, Enter: choose, Esc: close picker)
I announced it on the Love2D forum and on my blog.
Source code download is included here, until I have to time to add it to GitHub.
Credits
- sfxr.lua by nucular
- original sfxr by DrPetter
Published | 16 hours ago |
Status | Released |
Category | Tool |
Platforms | Windows, macOS |
Author | gingerbeardman |
Tags | LÖVE, lua, sfxr, Sound effects, Soundtoy |
Download
Install instructions
- Download the app that matches your operating system
- Or download the .love file if you want to run it directly
- Or download the source code if you want to hack on it
Development log
- "Enhance!"16 hours ago
Leave a comment
Log in with itch.io to leave a comment.