Tag Archive for 'tinic uro'

Sound.extract() rocks!

When Tinic Uro was implementing the dynamic audio features he was also giving us a very nice present called Sound.extract(). And it is simply awesome!

I wrote a simple experiment yesterday night using the popforge library. Yes — you can use it still with the new features and it is a great help. I just had to convert the sample data into a format for popforge.

The experiment is a simple flanger applied to an MP3. André wrote the flanger about a year ago but it is still fun listening.

The sourcecode will also show you how to loop sounds using Sound.extract(). It is a very safe way so that you get always as much data as you need.

There is only one problem right now. I wanted to use the new FileReference features so that you can load your own MP3s into the flanger. But unfortunately there is currently no easy way to do this. You would have to load the bytes, then create a SWF at runtime and inject the MP3. Then you could load that SWF with Loader.loadBytes() and once that is complete you can extract the sound. I thought doing that would be a little bit too much for a small demo :)

Adobe is awesome

Adobe released today the beta of the Flash Player 10 on its labs website. Among a couple of really great features is also one that made my day.

Dynamic Sound Generation — Dynamic sound generation extends the Sound class to play back dynamically created audio content through the use of an event listener on the Sound object.

If you do not know what this means: Flash is now finally capable of doing real dynamic audio streaming. I am so happy that Adobe was listening to the community and implemented this feature. A special thanks goes out to Tinic Uro for implementing it. He has also very detailed information about this feature on his blog.

I will post soon some example about how you can use Adobe Pixel Bender (Hydra) to synthesize sound in Flash. Think of it — its fantastic!




Close
E-mail It