IPB

Welcome Guest ( Log In | Register )

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


WavPack Developer


Group: Developer (Donating)
Posts: 1287
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
Replies (1 - 2)
soiaf
post Jun 17 2012, 16:37
Post #2





Group: Members (Donating)
Posts: 73
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
bryant
post Jan 1 2013, 20:06
Post #3


WavPack Developer


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



Peter McQuillan has updated both the WavPack encoder and decoder that he created in Haxe to be compatible with Haxe v2.10 (he actually completed this several months ago, but I have been tardy posting it). One nice improvement is that you can now use the same Haxe sources to generate C# and Java!

Links to these new versions are on the WavPack downloads page. The Flash decoder demo is here and the encoder demo is here.

Thanks again for this, Peter, and my apologies for taking so long to get this up here. Happy New Year to you (and everyone on HA)! smile.gif

David
Go to the top of the page
+Quote Post

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: 20th April 2014 - 05:20