Welcome Guest ( Log In | Register )

WavPack encoder in Haxe + Flash recording demo, also updated Haxe decoder
post May 27 2012, 20:14
Post #1

WavPack Developer

Group: Developer (Donating)
Posts: 1333
Joined: 3-January 02
From: San Francisco CA
Member No.: 900

Peter McQuillan has written a WavPack encoder in Haxe and created a very cool flash recording demo for it that captures audio from your PCs microphone and encodes it realtime into WavPack lossy (although the encoder will do lossless also). The sources for the whole project are available on github.

Also, he updated the Haxe decoder to version 1.3 with some performance tweaks (up to 20% faster on Flash) and updated the existing flash playback demo for that also. The source for that is available from the demo or on the WavPack downloads page.

Thanks for all your great work, Peter!
Go to the top of the page
+Quote Post
Start new topic
post Jun 17 2012, 16:37
Post #2

Group: Members (Donating)
Posts: 74
Joined: 13-May 05
From: Dublin, Ireland
Member No.: 22024

Thanks David!

Just as an additional note to this - one of the advantages with developing an implementation in Haxe is that you can also output a Javascript version of the code.
Right now there doesn't seem to be any Javascript API to allow access to the microphone, but apparently they will come at some stage. When they do, WavPack will be ready smile.gif

I've had a pure Javascript WavPack player now also for several months, so you can play WavPack files on your browser (without using Flash), but I'm not completely happy with it yet - nothing to do with the code, just browser support of web audio doesn't seem completely reliable yet.

As David mentions, this Flash encoder also encodes in realtime, if you look at any implementations of Flash encoding (not that there are too many), they generally record the data, then encode when recording has stopped - this demo version does it as you're recording.
Go to the top of the page
+Quote Post

Posts in this topic

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 10th October 2015 - 03:35