Hanging out in Japan with a messed up body clock, which means I wake up at odd hours of the morning and have nothing much to do. For more on my Japan trip, see my personal blog.
But the last couple of mornings I’ve been playing with the sound API in Flash Player 10. Managed to come up with a crude version of the Tenori-On in Flash:
[kml_flashembed movie=”http://www.bit-101.com/blog/wp-content/uploads/2008/05/soundgrid.swf” width=”690″ height=”700″/]
Click on a square to select/deselect it. All else is explained right there.
I have a very basic sound envelope started (attack/decay/sustain/release), which I plan to develop a lot more. Interestingly I found that playing more than a single synthesized sound at once has really bad results. So I’m pre-combining multiple sounds into a single one here. Hopefully that will work better later, cuz it’s a pain.
Itterashai! The weather is going crazy around here. Today it’s like January again, seems Spring was skipped altogether this year (at least in Tokyo).
Uhmm, The SWF takes forever to load. I think it could need a Preloader. Still loading while I type, there’s text at the bottom but no sound (FF3 RC1, Flash Player 10).
grmpf, somehow I have both Flash Player 10 and 9 installed in FF3. Why is this that some sites/apps want re-install v9 when I have v10 installed?!
Hehe… this thing is trippy. Can’t wait for CS4.
yeah, it’s 8k, so a preloader would be overkill. 🙂
Cool 😀
Sometimes strange sound clicks appear here after a note plays though.
And sometimes the whole thing bugs up and the sound starts to resonate around 1 or 2 notes(a bit like an arpeggio) and this doesn’t stop even after pressing space.. only right click with the mouse fixes it o.O humm.. strange..
FF 2.0.0.14 FP10 here.
Have you seen the Monome project? Its very close to this, but very open-source. I’ve been working with Processing and Flash applications an a monome 40h. Also MAX/MSP is an amazing way to interface with OSC audio, which is how most Monom apps are built!
Hi,
nice stuff!! mind saying anything about you maintained the timer consistent? doesn’t look like there’s any delay in between the calls.
Thanks,
A.
I use Goldwave to create sounds. You can save the reacks as mp3 or wav and iclude them later into Flash applications.
Yea Goldwave is pretty Cool.