A downloadable tool for Windows and macOS

Download NowName your own price
I’ve released a native macOS app that does all this app can do, and much more, like mixing multiple sounds together! Read all about it: Wavelet

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)
  • add: window title reflects the most recent loaded/saved file
  • add: window title and filename reflects last operation
  • add: file selector shows data directory path
  • add: unified save directory across platforms

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.

Keys

  • SPACE = Generate and Play
  • L = Load .lua
  • O = Save .lua
  • K = Load .sfs
  • I = Save .sfs
  • ESC = close/quit
  • A–Z = skip to file in picker
  • ENTER = choose selected file

Where my files at?

  • macOS .app: ~/Library/Application Support/sfxr/sounds
  • macOS .love: ~/Library/Application Support/LOVE/sfxr/sounds
  • Windows .app:  %APPDATA%\sfxr\sounds
  • Windows .love:  %APPDATA%\LOVE\sfxr\sounds

Credits

Updated 21 days ago
StatusReleased
CategoryTool
PlatformsWindows, macOS
Rating
Rated 5.0 out of 5 stars
(2 total ratings)
Authorgingerbeardman
TagsLÖVE, lua, sfxr, Sound effects, Soundtoy
ContentNo generative AI was used

Download

Download NowName your own price

Click download now to get access to the following files:

sfxr-macos.zip 8.4 MB
sfxr-win64.zip 4.2 MB
sfxr-win32.zip 3.7 MB
sfxr_demo.love 156 kB
sfxr-source.zip 191 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.