
Flash Sound Synthesis Demo
by scott on Feb.14, 2010, under Experiments, Flash, Games, Music, post
I worked on this little demo along with some Pixel Bender exploration this weekend. I used the Adobe Flash 10 demo as a start. After playing around with their code a bit I decided to add the ability to control the pitch using Midi code, which makes the jump to musical use easy. I added some optimizations like look up tables for frequency conversions as well. My apologies for the messy code, but I hate it when people talk about developing without posting the code. The demo below transfers your mouse Y value into a Midi code which is then converted to the proper frequency and played. I plan to integrate this into a game project I’m working on, so the code will get cleaned up and I’ll keep posting as I make improvements.
Update: Cleaned up the source code. Check out SoundDemo.as to see how it works.












Leave a Comment -
--------------------------------
Tags: experiment, Flash, math, Music, sine waves, sound design, synthesis