DrPetter's sound effect generator ported to SDL2.
sfxr is a generator for simple sound effects, created by DrPetter (http://www.drpetter.se). You can use it to create easy retro sounds for remixing or video games.
Ported to SDL2 from: grimfang4/sfxr.
- You can find pre-packaged releases for macOS and Windows.
- Make sure you have Xcode command line tools installed.
- Install SDL2 via
brew install sdl2
(get Homebrew first), or your method of choice. - Run
make
in the same directory as the Makefile.
- Install SDL2 using your package manager of choice.
- Run
make
in the same directory as the Makefile.
- Install MinGW and SDL2.
- Extract SDL2 to the sfxr-sdl2-master directory or wherever you wish.
- Using MinGW's command line,
cd
into the sfxr-sdl2-master and rung++ src/*.cpp -ISDL2-2.0.14/x86_64-w64-mingw32/include -LSDL2-2.0.14/x86_64-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2 -mwindows -o sfxr-sdl2.exe
. Make sure to adjust your "include" and "lib" directories to your actual SDL2 location if needed.
Build files will be in the build
subdirectory.
You can use sudo make install
on Linux and macOS to install the program as sfxr-sdl2
. The uninstall
target is also available.
On Windows, you can copy the files in the build
subdirectory to wherever you want.