LogoLogo
  • Home
  • Projects
  • About
  • Contact

Quick Sound Effects Generator

Devon O. · May 12, 2010 · Flash, Life · 5 comments
5

Need some beeps, boops, or bops, to go with your UI or games? Here’s a quickie for you. Got the idea from my Making Waves post.

Just mess around with the sliders (or choose a preset), press ‘play’ to preview the sound, and ‘save’ to save the sound locally as a .wav file. There’s a bit of a strange bug though. The saved files play slower than previewed sounds. But that’s what you get in a lunch hour.

If I sort that problem out (and if anyone has any ideas on what would cause that, post a comment), I may elaborate on this a bit more and create a desktop version in AIR. We’ll see.

Get Adobe Flash player

  Facebook   Pinterest   Twitter   Google+
sound effects
  • “Fleximagically Searchable” – By the Rules
    July 13, 2008 · 9 comments
    2360
    4
    Read more
  • The Tendency Towards Web Dependency
    August 02, 2008 · 2 comments
    2025
    4
    Read more
  • Kinect Application Running in Dublin
    March 06, 2011 · 0 comments
    1737
    8
    Read more
5 Comments:
  1. This is Awesome Devon, I wish I had this about 200 projects ago. Very cool! Hard to say what the problem is without looking at the code but I wonder if the playback speed has to do with framerate at all?

    Dave G · May 12, 2010
  2. Thanks Dave. It’s not framerate dependent – it just uses the SampleDataEvent to play back a generated bytearray (which is saved when you save the file). May have something to do with the sample rate and/or bit rate of the generated wav (I’m using 16 and 44.1k).

    Devon O. · May 12, 2010
  3. Since audio in Flash is stereo, 44.1kHz and 32 bit float and your wav is mono, 44.1kHz and 16 bit fixed I would have guessed that the issue is not to do with samplerate as such.

    What’s happening is that in effect you get double the samplerate in the Flash Player or half the samplerate in the wav, but that is probably because of samples going missing or doubling somewhere. Either in the routine to convert from 32 bit stereo to 16 bit mono, or when filling the output buffer.

    Leo · May 12, 2010
  4. Thanks for ideas Leo (definitely not much of a sound programmer). I’ll make checking that out today’s lunch hour project.

    Devon O. · May 13, 2010
  5. A little simplistic compared to SFXR (also available as a Flash version, with open source AS3 code), but still fun

    Billy · June 17, 2010

Leave a Comment! Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Devon O. Wolfgang

AIR | Unity3D | AR/VR

Unity Certified Developer

Technical Reviewer of “The Essential Guide to Flash CS4 AIR Development” and “Starling Game Development Essentials”

Reviewer of “The Starling Handbook”

Unity Engineer at Touch Press.

Categories
  • Actionscript (95)
  • AIR (16)
  • Flash (99)
  • Games (7)
  • Liberty (13)
  • Life (53)
  • Shaders (20)
  • Unity3D (21)
Recent Comments
  • MainDepth on Unity Ripple or Shock Wave Effect
  • Devon O. on Unity Ripple or Shock Wave Effect
  • Feral_Pug on Unity Ripple or Shock Wave Effect
  • bavvireal on Unity3D Endless Runner Part I – Curved Worlds
  • Danielius Vargonas on Custom Post Processing with the LWRP
Archives
  • December 2020 (1)
  • December 2019 (1)
  • September 2019 (1)
  • February 2019 (2)
  • December 2018 (1)
  • July 2018 (1)
  • June 2018 (1)
  • May 2018 (2)
  • January 2018 (1)
  • December 2017 (2)
  • October 2017 (1)
  • September 2017 (2)
  • January 2017 (1)
  • July 2016 (1)
  • December 2015 (2)
  • March 2015 (1)
  • September 2014 (1)
  • January 2014 (1)
  • August 2013 (1)
  • July 2013 (1)
  • May 2013 (1)
  • March 2013 (2)
  • December 2012 (1)
  • November 2012 (1)
  • September 2012 (3)
  • June 2012 (2)
  • May 2012 (1)
  • April 2012 (1)
  • December 2011 (2)
  • October 2011 (3)
  • September 2011 (1)
  • August 2011 (1)
  • July 2011 (1)
  • May 2011 (2)
  • April 2011 (2)
  • March 2011 (1)
  • February 2011 (1)
  • January 2011 (2)
  • December 2010 (3)
  • October 2010 (5)
  • September 2010 (1)
  • July 2010 (2)
  • May 2010 (5)
  • April 2010 (2)
  • March 2010 (7)
  • February 2010 (5)
  • January 2010 (5)
  • December 2009 (3)
  • November 2009 (1)
  • October 2009 (5)
  • September 2009 (5)
  • August 2009 (1)
  • July 2009 (1)
  • June 2009 (2)
  • May 2009 (6)
  • April 2009 (4)
  • March 2009 (2)
  • February 2009 (4)
  • January 2009 (1)
  • December 2008 (5)
  • November 2008 (2)
  • September 2008 (1)
  • August 2008 (6)
  • July 2008 (6)
  • June 2008 (9)
  • May 2008 (4)
  • April 2008 (3)
  • March 2008 (4)
  • February 2008 (9)
  • January 2008 (7)
  • December 2007 (6)
Copyright © 2021 Devon O. Wolfgang