Join #ludumdare on irc.afternet.org
Ludum Dare 13 :: December 5th-7th Weekend :: Theme :: Roads

Sign In | Write your Journal
Home | Planet Ludum | Rules Wiki | Mailing List

R1 | R2 | R3 | R4 - Results

Time to start rating entries and giving out trophies!

(be sure to tag your post as Final, and upload a screenshot)

sfxr - sound effects for all!

Posted by DrPetter

Been tinkering with this over the last couple of days.

EDIT: I’ve put up a proper page for sfxr on my homepage: http://www.cyd.liu.se/~tompe573/hp/project_sfxr.html

As the audio geek I am, I find it a bit unfortunate that most LD48 entries are usually silent. I figure it’s probably due to the authors not having a quick ‘n’ easy application at hand for making sound effects and therefore neglecting that aspect of the game in favor of code and, usually, graphics. Even simple sound effects can add a huge amount of immersion and fun to a game, though.

What I present here is, if you will, an MS Paint for sound effects… or something along those lines. It’s meant to make it dead easy for anyone to whip up a few simple sound effects and save them as .WAV files for playback using most game/media libraries like SDL or pygame.

Basic usage involves clicking the left-most buttons to automatically generate random sounds loosely targeted at certain categories. For more advanced users it’s possible to spend some additional time to manually create fairly varied and interesting sound effects.

The interface is based entirely around sliders for controlling sound parameters, along with a few buttons. Even if you don’t want to spend time learning about all the sliders you can still have some fun just hammering away at them and listening to the various sounds that come out.

Hopefully this will mean that there’s no longer any valid excuse for anyone to get N/A in sound!

Download: sfxr.zip (win32, 48 kB) - Latest update: 2007-12-15 (see screenshot)

EDIT: Apparently it sort of works in wine 0.9.50, though with some stability issues. Fortunately though, the good Gerry JJ/mjau managed to port it properly. Here’s a copy of his post:

 

I ported DrPetter’s excellent sfxr (info) to SDL, so it can now be compiled and run natively in Linux!

Download: sfxr-sdl.tar.gz

Just type ‘make’ to compile. You need SDL and GTK 2.

Source code is obviously included in the portable archive, and anyone is free to use or modify it for anything they please. There’s no need to credit me, although it would be nice if you did. I would also appreciate a little email note if you do create something cool based on my code.

If I get around to making a little update I’ll include source code in the win32 archive as well.

sfxr.gif

Tags: , , , , , , ,

100 Responses to “sfxr - sound effects for all!”

  1. PoV Says:

    Fan-Freaking-Tastic!

  2. RB0 Says:

    Wow, so is this kinda like Musagi for sfx?
    I’m definitely going to look into this a bit before teh compo tomorrow, but will probably resort to mic’d sfx unless this is just toooo easy :)

  3. Endurion Says:

    Freaking awesome :)

    This could be made in a really big app.

    I’d love to have something like this, that lets me
    a) create a general sound like your app does
    and b) use that sound MOD-like to do small sound jingles

  4. Nathan Ostgard Says:

    Oh man, I’ve been DYING for something like this. Thank you! <3

    It would be great if there was a way to copy/paste settings to/from other people without having to send a wave.

  5. GirlFlash Says:

    this totally kicks ass, I had all of my old games factory sound files copied to my pc in case I needed them, but this covers just about everything I could need, heck if I have time I might make something to generate some music with this stuff :D

  6. Xenthar Says:

    This made my day!! Brilliant!

  7. arandomJohn Says:

    aggggh! Windows????
    let’s see if it will run in my vm….

  8. Papper Says:

    This is incredible! Thanks a lot, you saved project as far as ever getting sound goes :)

  9. greencow Says:

    Great tool! My only complaint is that it’s too fun to play with and I probably lost a good half hour to mutating sounds..of course that was probably your plan all along >=P look forward to familiar pewpewpews from my game.

  10. Popoyt Says:

    Cool ! Looking forward to some “export to mp3/ogg” function though ;)

  11. alkama Says:

    You rule BIG time ;)
    this is just plain great ! Even for lofi/techno music making !

  12. Zaratustra Says:

    Really nice. I’m going to join the suggestion bandwagon and add that you could have a displayed image of the generated waveform like windows recorder or goldwave or whatnot.

  13. Jos Hirth Says:

    Plain awesome! :D

    Those generators were a nice idea as well.

  14. Guru Says:

    Fantastic. A must have.

  15. Marc Says:

    I got your app to run in Linux by typing “./sfxr.exe” at the terminal, but no sound. Oh well.

  16. Orangy Tang Says:

    Very, very cool. No more silent games ever again!

  17. Isaac’s Blog » SFXR Says:

    [...] I’ve just downloaded a program called SFXR by DrPetter. Windows only unfortunately, but really worth having. It’s a really simple [...]

  18. the2bears.com » DrPetter’s sfxr Says:

    [...] Tim I see that DrPetter has posted sfxr, a “a quick ‘n’ easy application … for making sound effects”. I haven’t [...]

  19. DrPetter Says:

    Oh. Just discovered this bunch of comments now. Thanks for the kind words :)

    Everyone who had concerns about portability or program features should make sure they get the latest version (the one with the randomize button, wohoo) and see if it’s been resolved.
    Nathan: The sfs files are rather small, but not ascii/”copy-pastable”… small enough to email easily though, and be worked on + explored by other people.
    Endurion: MOD-like? Doesn’t seem like quite the right place for it, have you tried musagi? ;)
    Popoyt: Ogg export would be quite possible, but in the meantime use oggdrop.

    Basically the main goal of the program was to be dead simple to use, without lots of crazy features that almost nobody would need. Sometimes it would be nice to have the option of stringing sounds together in a more complex way, but there are always proper audio editors where you can process the exported sounds. For jingles and musical bits you’re instantly looking at something much more complicated as you need to specify notes and timing etc, so that’s probably best done in some kind of dedicated music app/composer/tracker.

    Thanks again. I’ll update this post if I make significant changes/improvements to the program.

  20. Abiyasa Says:

    This is a great application!!!

    I’ve been using FamiTracker to generate 8-bit sound but yours are much easier. A life saver for indie or 8-bit game developer.

    Thank you for such a great tool :-)

  21. Outer God Says:

    Brilliant, absolutely brilliant. Here’s hoping that later versions will include more generated options like sword slashes/gun shots/etc. Very Cool.

  22. Arch Bars - Arch Duke Says:

    [...] one of the most useful application that a game developer could have. DrPetter has written a program which randomly generates a sound effect based on selected options and slider settings. The results [...]

  23. breadguy Says:

    amazing piece of software :D

  24. sol_hsa Says:

    Yes. Thumbs up!

  25. Paco_777 Says:

    Great software!
    Thanks.

  26. Bad Sector Says:

    Hi!

    Nice application :-). I’ve also made a similar application called Slashstone SoundFX Builder, which you can download from

    http://www.badsectoracula.com/projects/soundfx/

    It uses a different approach to sound generator. I used it to make the crude effects of my game, Nikwi :-)

  27. Roger Says:

    I was able to compile the cource on linux after installing the gtk2 dev libraries. You should add a license to this and someone should add it to the distros. This seems like a very useful tool.

  28. Indie Games » sfxr - sound effect generator Says:

    [...] one of the most useful application that a game developer could have. DrPetter has written a program which randomly generates a sound effect based on selected options and slider settings. The results [...]

  29. Jakob Berglund Rogert Says:

    Awesome Awesome Awesome!
    My poor game development students will love this!

  30. Unknownguy Says:

    Great tool!
    Look forward to using it!

  31. The Independent Gaming Source Says:

    [...] yes! The ever-inventive Dr. Petter has released a free sound program that lets you easily create retro-style sound effects: What I present here is, if you will, an MS [...]

  32. Adigun A. Polack Says:

    DrPetter, I MUST congratulate you on creating such an *truly and most splendidly* excellent little program called sfxr for creating some really hot sound effects for retro-game developers and also for even inspiring game developers alike!!! I have tried it at least twice, and it creates some RATHER impressive arcade-quality/8-bit sounds… and I sure will be using it a lot to add to my game developing tools, definitely!!! ^-^ !

    I am working right now on developing the world’s very first original Native American shmup entitled “Native Legend Shorakee”, and with your sound-effects program, it will richly help MUCH greatly and then some in my original creations like this game, and I will keep you posted about the project on my site (http://aapproj.phatcode.net) as it develops!! :D

    In the meantime, my man, God bless you big-time for creating this phenomenal and simple-to-use sound effects creator/editor, and my splendid congratulations to you on such an VERY awesome job well done and then some!!! (^-^)v !!

  33. Prospero Says:

    Truly fantastic piece of software! I’ll be using this in my future projects and will be sure to give you a mention on my website later in the week :)

    I honestly can’t see how you could improve sfxr (apart from somehow further improving the range / complexity of generated sounds), but if you do continue working on it, I wish you all the best.

    *goes off to fiddle with it some more*

  34. Matt Says:

    Excellent tool! I try to utilise some effects in a game. Reminds me at vorgotten days when I played with the C64 sound chip. A pimped up version for longer effects would be cool, though.

  35. bolig Says:

    has anyone tried running the linux version using fink or something in osx? looks like a rockin app btw.

  36. josh g. Says:

    This is amazing! Thanks! Heck now I want to make a pixel-art platformer just to go with these awesome sounds.

  37. monoRAIL Says:

    An essential piece of software that every game developer should have. Brilliant!

  38. Benoit Says:

    Do you intend to make a mac version? Pleaaaaaase… :p

  39. John H. Says:

    The Commodore-like font is a nice touch, heh.

  40. mjau Says:

    bolig/Benoit: There’s nothing Linux-specific about the SDL port, perhaps except for the use of GTK for the file dialogs. If you’ve got both SDL and GTK on your Mac, it should compile if you tweak the makefile a bit.

  41. Dave S Says:

    OH YES!!!!! This is awesome! Linux version too! :-D

    I’m a confirmed but currently feeling a bit lazy synth head, but I just love tools like this! “Randomize” should be a function on just about every synth out there.

    Thanks so much!

  42. timdoug Says:

    Huzzah!

    http://www.timdoug.com/sfxr-sdl-macosx-intel-10.5-alpha.zip

    It’s very hackish right now (intel/10.5 only), but all the functions work. Make sure to read the readme! I’ll make it 10.3+ and Universal when I’m done with exams; keep an eye on my website.

    Cheers!
    -timdoug

  43. sfxr by DrPepper, a freeware sound effect generator Says:

    [...] has released sfxr, a sound effect generator created for LD48, a bi-annual 48 hour solo game development competition. [...]

  44. Making your own sound effects « Coffee Induced Games Says:

    [...] Link [...]

  45. starpause Says:

    this is a lot of fun … easy to make fodder for piggy tracker =)

    i suppose since this is only for sound effects, there’s no way to determine the frequency of the sound (to use it as a lead or bass instrument in a tracker)

  46. Download tiny little sound generator for retro sound effects Says:

    [...] browsing the indiegamer forums i found a post about sfxr wich is a little tool that generates sound effects. You just select a category of sound effect like [...]

  47. PROTMAN Says:

    Does anyone have the zip file? Since I found the link to SFXR.zip about 24hrs ago, the http://www.cyd.liu.se domain has been unaccessible. I want to try it out! :D

  48. bill Says:

    i get an error compiling on linux here

    sdlkit.h: In function ‘void error(const char*, unsigned int, const char*)’:
    sdlkit.h:13: error: ‘exit’ was not declared in this scope
    sdlkit.h: In function ‘void sdlinit()’:
    sdlkit.h:131: error: ‘atexit’ was not declared in this scope
    make: *** [sfxr] Error 1

    probably something pretty basic in a header or something, but i couldn’t track it down.

    b

  49. matt Says:

    @PROTMAN, I couldn’t download the file, too. But the SDL port mentioned in the post contains a Windows compiled EXE. Works fine for me.

  50. Volt Says:

    Hi everyone,

    I ported timdoug’s Leopard/Intel port to Tiger/PPC. Everything _seems_ to work. I also made sure to make it so settings saved with Intel boxes (including Windows) work on PPC machines. It’s PPC only, and only tested on 10.4.

    App only: http://www.absoluteterritory.org/software/sfxr-mac-ppc.zip
    Xcode Project:http://www.absoluteterritory.org/software/sfxr.tar.bz2

    Hope it will be useful to those of us who use older Macs.

  51. hippy dave Says:

    nice tool!
    thanks to the author, and the two guys who posted mac versions. i’m running tiger on my intel mac, i found that volt’s ppc app appeared to work fine in rosetta - but i’ve also used his xcode project to compile an intel version. i didn’t change anything except telling xcode to build intel (i actually asked it to make a universal binary, but it didn’t seem to want to). i’ve not done thorough testing but had a bit of a play and it seems to work fine.

    so, tiger-compatible intel version:
    http://www.mediafire.com/?391wiynwrly
    (sorry for the crap free web-hosting, feel free to mirror)

  52. hippy dave Says:

    just realised, i didn’t alter the readme in the zip i just posted, so it still claims to be a ppc version. no biggie :)

  53. surt Says:

    Excellent stuff!
    The only extra feature I could really want is the ability to easily (no need to tweak settings) generate clean looping sounds for engine noises and such.

  54. Justin Chase Says:

    I made a game and used your utility for a few sounds, here is the post with the link back to you: http://www.justnbusiness.com/Blogs/Drop_In.aspx

  55. links for 2007-12-22 « mghicks Says:

    [...] Ludum Dare » Blog Archive » sfxr - sound effects for all! (tags: audio freeware gamedev music tools) [...]

  56. pixelame.net Says:

    sfxr: un generador de efectos de sonido…

    sfxr es un sencillo generador de efectos sonoros de pequeño tamaño y sencillísimo uso; un programa verdaderamente útil para el programador de juegos….

  57. Bananattack! » Notably Negligible Nonsense Says:

    [...] routines from the textbox code, allowing me to reuse the box style in other UI elements. Oh, and I messed around with sfxr a tad and made a few sound effects, only about two of which are included. Press Z to hear an [...]

  58. kometbomb Says:

    Excellent, thank you. I’ll be using this for my upcoming game.

  59. XNAbox Says:

    This is brilliant! Wonderfully quick and simple to use for spot effects, which is exactly what I was after. Many thanks!

  60. Zenith Says:

    This is awesome, it reminds me of Shoot ‘Em Up Construction Kit’s sound editor from waaaay back on the Atari ST and Amiga, anyone remember that? Or am I telling my own age? Well.. I was 3-5 years old when I had it, so nya!

  61. Digital Tools Says:

    Feel free to read an Interview with DrPetter on this SFXR at Digital Tools: http://digitaltools.node3000.com/5minutes/tomas_pettersson_on_sfxr_and_the_ludumdare_48hour_game_competition.php

  62. Making sounds, building models, playing games | Whack News Says:

    [...] feeding finished the Ludum Dare contest’s blog, I institute a nifty lowercase agency which generates 8-bitish sfx, without me having to undergo [...]

  63. phylum sinter Says:

    What an amazingly sexy little program!

    Look forward to hearing it all over my percussion bits in the future :D

  64. Jony Says:

    Very nice program, it is much faster and easier than anything I’ve ever used before! Thank you very much!

  65. The Crime in your Coffee » Blog Archive » sfxr - Sound Effects Generator Says:

    [...] Sfxr von DrPetter ist ein kleines Tool, mit dem man auf ganz einfache Weise Effekte und Klänge im typischen 8-Bit-Spiele-Sound erzeugen kann. Das Ganze funktioniert über Schieberegler, mit denen sich Dauer, Frequenzen und diverse Filter einstellen lassen. Zudem lassen sich über Buttons Zufall-Sounds und Klänge aus Kategorien wie Pickup, Shoot, Powerup, Explosion und Jump generieren. [...]

  66. Mars Attacks Says:

    Downloaded and compiled with no problems, and works great!

    ( ubuntu 7.10, previously had to do a sudo apt-get install libsdl1.2-dev libgtk2.0-dev g++ )

    Thank you so much, cheers!

  67. Space Station Lambda » Retro sound effects with sfxr-sdl Says:

    [...] a month ago, sfxr was [...]

  68. Leslie P. Polzer Says:

    The SDL port failed to start on my system, I needed to patch it.
    Look here for the solution: http://blog.viridian-project.de/2008/01/24/retro-sound-effects-with-sfxr-sdl/

  69. post-mortem: Ludum Dare 10 | fydo.net Says:

    [...] Audacity. For the sound effects, I used DrPetter’s lovely retro sound effect generator, sfxr. If you happen to play guitar, you might be interested in the guitar tab for the in-game [...]

  70. mjau Says:

    I’ve updated the SDL port with a fix for the SDL_OpenAudio issue (same dl link as before). Also, cancelling a save dialog would save to a random filename, fixed that too (thanks vegard =)).

  71. Equinox Sounds Says:

    I have to try this out!! so much good feedback

  72. Hernan Says:

    Thanks for the app. Incredibly useful and simple to use.

  73. pew pew dice « peng ink blog Says:

    [...] best parts are the sound effects, made with the super awesome indie sound tool sfxr. I don’t know how I ever got by without [...]

  74. James Says:

    Very cool! I’ve been wanting something just like this! The principle of allowing quick experimentation is dead-on.

    One bug: If I save the file as 22K, both Windows Media Player and Game Maker refuse to recognize it. Oddly, QuickTime has no problem with them. 44K is fine across the board.

  75. cheep cheap download mp3 Says:

    download mp3 cheap cheep chip mp3 cheap download

  76. Generating game content - kometbomb Says:

    [...] Discuss it here [...]

  77. Anonymous Says:

  78. salvo daze Says:

    very simple and useful tool for 8-bit sounds, thanks a lot.

  79. Larry Says:

    http://www.isoundfx.com

  80. finefin Says:

    I love that tool, ‘cos it’s simple and effective!
    I’ve made a retro-flashgame. all sounds have been created with SFXR!
    Take a look: http://finefin.com/games/bugbc.htm

  81. Ben Says:

    Best ever.
    Mixed with the swave instrument in Musagi, thing’s get quite interesting :)

  82. Christoph Aschwanden Says:

    Wow! I just downloaded it not expecting too much and then this! Great work!!!

  83. ali Says:

    Wow it’s so good Pro i’ll get it now

  84. PaRa Says:

    thanks so much for this fantastic tool

  85. Jadan Says:

    THANK YOU!

  86. Nathan Beavis Says:

    OMG, this program… this program OMG! DrPetter, this program…OMG!

  87. Sven Son Says:

    Something small .. but nonetheless very useful. One might say the degree of usability is in inverse proportion to its size :D

    Great work!

  88. Joachim Bengtsson Says:

    I’ve made a real Cocoa port of sfxr, which is an universal Mac binary with proper saving and exporting with mac dialogs and all. Eh, I hope that was okay, I didn’t look for a license on the original source code, and I couldn’t find one now that I looked.

    Anyways, I call it cfxr and it’s available at http://thirdcog.eu/apps/cfxr . Enjoy!

  89. Peter’s Blog » 非常不错的游戏音效小软 Says:

    [...] 地址:http://www.ludumdare.com/compo/2007/12/13/sfxr-sound-effects-for-all/  [...]

  90. Thankful Says:

    Thanks you very much.

  91. oypsword Says:

    this is wonderful!!!!!!

  92. Anonymous Says:

    WIKKID!

  93. agitatedString Says:

    Will save hours of sound effect tweaking so I can get back to wasting my time playing games. Thank you.
    Did two things and sfxr is running on my MacOSX 10.5.4 with no problems:
    1) Changed sklkit.h line 95 from,
    #include
    into,
    #include
    2) Added the following alias to .bashrc file,
    alias sfxr=’cd /Users/ppffffft/Programs/SourceCode/CPP/sfxr-sdl; ./sfxr’ # sfxr must be run from its home directory

  94. agitatedString Says:

    Seems the
    #include \
    and the
    #include \
    got mangled in prior entry.

  95. protman Says:

    I am curious about the chances of getting the gui shrunk a bit and ported to the nintendo ds. It would be great to have a softsynth on the ds that can generate one-shot wav files for use in nitrotracker. iirc, there is an sdl lib available for the nds.

  96. Kryten Says:

    What a brilliant little application - perfect for someone like me who doesnt know his reverb from his elbow.

    Thanks very much!

  97. Kristopher Windsor Says:

    Great tool, especially since I was tired of looking at pre-recorded SFX of low quality that didn’t match each other! :D

  98. SovMax Says:

    Great SFX Tool! Big Thanks to DrPetter!

  99. siegfried Says:

    great tool! I will add a post about it soon ;)

  100. Sam Says:

    Brilliant SFX tool saves sooo much time!

Leave a Reply


All posts, images, and comments are owned by their creators.