AS3 FVorbis Flash Ogg Vorbis Player

This project is stacked with cool, but is also useful, an ogg/vorbis player in flash/as3.  Arek Korbik at barelyfocused implemented a port for a pure Ogg/Vorbis audio library called FVorbis.  Check out the demo (need flash player 10). Groovy.

The name is: FVorbis. Which stands for more or less “Ogg and Vorbis in Flash”. That’s right, pure ActionScript 3 implementation of the Ogg and Vorbis libraries that require no kind of native support from the Flash Player. A simple Vorbis player implemented using the new FVorbis lib compiles to about 46KB SWF file. And that’s it.

To top it off the code is actually written in haXe, a favorite of the flasherati. This version was iterated from the Cortado’s JOrbis code.

Ogg Vorbis is a great open source audio format which is widely popular in game engines such as recent tools like Unity3D (which will be launching their iPhone dev kit on Oct 22 btw but I digress), so it is great to see it starting to appear in flash. Thanks Arek.

4 Responses to “AS3 FVorbis Flash Ogg Vorbis Player”

  1. Mr.doob Says:

    Bye bye MP3!!!

    But I wonder which one uses more CPU, I would says non-native OGG decompression would be a bit slower than native MP3 decompression, wouldn’t it?

  2. drawk Says:

    Yeh seems like it as anything run though a virtual machine typically has more overhead rather than native but this is still pretty cool. I hope flash gets some support for more better audio and with Andre’s hobnox audiotool mixer, adobe make some noise and stuff like this maybe we will be FMODing it soon.

  3. Thijs Says:

    Amazing! Thanks for posting this, very cool stuff.

  4. David Says:

    Code is there.

    It’s a bzr repo. Just type: “bzr clone” to get the code.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: