IPB

Welcome Guest ( Log In | Register )

WavPack in the Land of C#, ...including a Silverlight player!
bryant
post Nov 9 2010, 09:06
Post #1


WavPack Developer


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



To complement his previous Java work, Peter McQuillan has now created C# implementations of both the tiny encoder and tiny decoder. These are in packages that include command-line demo programs and are available on the regular WavPack download page.

After seeing great apps like Java Tunes and Musique using the Java versions, I am very keen to see what will come from this effort. For starters, Peter created a very fun demo of a functional WavPack file player in Silverlight that you can try here (source also available).

Of course, for some C# applications it might make more sense to just create a wrapper for the WavPack DLL. Thatís what Jean Van Laethem did for a WavPack player and made the code available on the WavPack site here.

Many thanks to Peter and Jean! smile.gif
Go to the top of the page
+Quote Post
 
Start new topic
Replies
soiaf
post Nov 10 2010, 00:29
Post #2





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



Well, as David points out, there are already software solutions using the Java implementations i.e. JavaTunes and Musique. The advantage of these players is that they can run on multiple O.S. environments e.g. Windows, Mac, Linux.
So certainly the Java code is not restricted to use on phones.
I have done testing (on a Google Nexus One phone) and the Java code is certainly more than fast enough to encode in realtime, say if recording from the microphone, but in the case of Android it would probably still be best to use the C implementation. However, this is the great benefit of having WavPack implementations available in different programming languages, you're able to choose a solution that meets your needs smile.gif

There is a lot of .net code out there (and programmers who use it), so hopefully the C# implementations will be of interest to some people; as I said, its nice giving them a choice.
The Silverlight demo is to give a demo of potential usage of the C# code, unfortunately it really only works properly at the moment if you access it with Silverlight rather than Moonlight, there seems to be bugs (which I've reported) in the current Moonlight preview release (2.99.0.9) that prevent it playing WavPack files properly, but I'm hoping that this will be fixed in the next version of Moonlight, so then people on linux will be able to try it out also.
Silverlight is (as far as I know) the development framework used on Windows Phone 7, so the code could be used there I imagine.
But if you were looking for a Web based solution, it would probably be best to use the haXe implementation which provides a Flash player, and Flash is available on most computers - again, there is flexibility in having a decoder implementation in this language!
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: 24th April 2014 - 13:08