Scott Cummings

Tag: math

Flash Synth Blocks Demo 1

by 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!

Demo: Warning, Sound On Load!

Code

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

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

Demo

Code

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!

Blogroll

A few highly recommended websites...

    Archives

    All entries, chronologically...