Scott Cummings

Tag: Music

Flash Sound Synthesis Demo

by 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 to see how it works.



Leave a Comment :, , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!


A few highly recommended websites...


    All entries, chronologically...