
Tone Lab – Dynamic Audio Synth Toy in Flash
by scott on Dec.18, 2010, under Experiments, Flash
I’ve been working on synthesizing audio in Flash for about a year off and on and decided to make something usable. I plan to add sharing at some point if people seem to enjoy it enough to make it worth it. Let me know what you think!

Flash Audio Synthesis Toy V1
by scott on May.08, 2010, under Experiments, Flash, Games, Music, post
NOTE: I’ve improved this and released some much better source code. Check out the Tune Lab Flash Audio Synth!
I’ve finally gotten around to making something out of the Flash Audio Synth code I’ve been working on. This is just a simple sound toy, inspired by Andre Michelle’s Tone Matrix. I’ll be working on some original ideas for sound toys now that I have a decent code base to work from. Make sure to hit the start button when you’re ready to hear your creation. Enjoy!

Flash Linear Audio Envelopes
by scott on Feb.20, 2010, under Experiments, Flash, Games, Music, post
This morning a put together a quick and dirty audio envelope class to use with my Flash synth demo. It uses linear functions to determine attack, sustain and decay. I just realized that I misnamed decay, as it should be release, so I’ll fix that in the code. Here’s an explanation of sound envelopes for synthesis if you’re not familiar. The animated block mirrors the volume in the envelope.
My next step is to clean all of this up and make a propper package out of it, so check back for cleaner code in a couple days. After that I need to make optimizations to how the synthesis works so I can put it to use. This is very processor hungry right now because I’m doing a lot of calculations at sample rate (44.1kH). After that I plan on adding log and exponential functionality along with some other curves. I’ll get around to trying out Pixel Bender for optimizing this stuff once it gets too processor intensive to handle.
Short Attack
Long Attack
Long Release
Long Sustain
To play with the envelope, change the values in the initValues method in SoundDemo.as. There are two envelopes, one for sound and the other for the animation, because using the exact same levels don’t always produce an optimum animation. The maximum number of samples long the envelope can be right now is 88200 because of the lazy way I looped it. The project is completely purged of resources from others, so feel safe to use it in any projects you want.

Flash Synth Blocks Demo 1
by scott on Feb.16, 2010, under Experiments, Flash, Games, Music, post
So I decided to make something with the Flash synth experiment I did yesterday. This is a chord builder in the key of C, with seven different notes from low to high. This is just another step in the evolution of my Flash audio tool for a grand game scheme I’m working on. Try clicking around to make a nice sound!












Leave a Comment -
--------------------------------
Tags: audio, dynamic sound, experiment, Flash, post, synthesis