June 4th, 2009

Make Some Noise! Creating an analog audio controller with Merapi and AIR

I got a chance to play with Merapi for the first time yesterday.  The reason behind needing Merapi was a limitation in the Flash Player on getting sound information from the microphone.

Here’s a quick demonstration and code walkthrough.

Creating an analog audio controller with Merapi and AIR from Jun Heider on Vimeo.

Couple notes:

  1. Although I could have used FFT, I based the frequency analyzer on this Java-based guitar tuner app I found online. It was a much simpler solution for my needs. Thanks John Montgomery!
  2. The sound you hear in the demo is not my guitar.  It’s actually sounds being dynamically generated using the Flash Player 10 Sound API based on the frequency information sent from Java to AIR via Merapi.
  3. This code is POC quality, basically a toy.  Things could have been optimized and there are a couple bugs to work out.  However, it’s pretty cool as is.

It’s pretty messy right now and lacking comments, etc. so I’m going to hold off on releasing it.  As soon as I do, which will probably be via merapi-examples, I’ll announce it.

In the meantime, here’s some useful links to help get you started:

Anyway, enjoy the screencast, and start playing with Merapi!  Make some noise!

4 Responses

  1. eric fickes Says:

    This is freaking sweet! Sounds like you’re on your way to writing your own DSP. ( J.A.M:DSP )

  2. jun Says:

    Oh yeah!

  3. Adam Flater Says:

    Great demo man, this is really cool!

    -adam

  4. jun Says:

    Right on, and thank you for the demo earlier today!

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Upcoming Talks





A Book I Helped Write



Community


Ignite Denver Committee

Categories

Credits