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
StatusReleased
CategoryTool
PlatformsWindows, macOS
Authorgingerbeardman
TagsLÖVE, lua, sfxr, Sound effects, Soundtoy

Download

Download
sfxr-macos.zip 9.1 MB
Download
sfxr-win64.zip 4.2 MB
Download
sfxr-win32.zip 3.7 MB
Download
sfxr_demo.love 156 kB
Download
sfxr-source.zip 190 kB

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

Leave a comment

Log in with itch.io to leave a comment.