Generating sound in Flash 10

Music Technology
Generating sound in Flash 10
flash10sound_20090325.jpg

One of the new features to make it into Flash 10 is the ability to generate software-based audio. There’s essentially an event callback that will trigger during audio playback that lets you fill an input buffer full of wavelength samples. I’m looking forward to seeing what types of generative music folks will be able to create with this.

gotoAndLearn has a quick introduction to the topic that lets you tweak a waveform based on mouse position (shown above), and Andy Hulstkamp has a quick rundown on the basics of generating and modulating a specific tone. If you’re a Flash hacker, go make some bleeps and blips and send us a link to your algorythmic creations in the comments.

Flash Player 10 Dynamic Sound
Generating Waveforms, Timbre and Pitch

10 thoughts on “Generating sound in Flash 10

  1. pratfall says:

    Wake me when I don’t need some sodding thousand-dollar piece of Adobe bloatware to reasonably write a Flash app…

    1. failrate says:

      For free development, the Flex SDK (free version) comes with the mxmlc compiler that is entirely sufficient for building a full game. This is good if you’re a codemonkey, like me, who doesn’t like mucking about with Flash’s IDEs. http://www.adobe.com/products/flex/flexdownloads/

      1. Amit Patel says:

        Also check out this tutorial for getting started with the free mxmlc compiler: http://www.senocular.com/flash/tutorials/as3withmxmlc/

        The compiler is written in Java so it should work across platforms.

  2. kp says:

    Fyi, we develope an online music application. Have a look at http://www.hobnox.com/index.1056.de.html

    You can play around with some 909s, 808s, 303s and a bunch of stompboxes which you can wire as you like.

    Have fun
    kp

  3. Neil says:

    You can develop flash, flex and air apps for free using FlashDevelop, its really easy you just create a new project, get into the main.as file and start developing.

    Don’t moan about the cost of products if you are not willing to at least look around for alternatives, they have been around for years now.

Comments are closed.

Discuss this article with the rest of the community on our Discord server!
Tagged

ADVERTISEMENT

Maker Faire Bay Area 2023 - Mare Island, CA

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 15th iteration!

Buy Tickets today! SAVE 15% and lock-in your preferred date(s).

FEEDBACK