IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
haXe Apple Lossless decoder, Port of Apple Lossless decoder with demo Flash player
soiaf
post Mar 5 2011, 23:23
Post #1





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



This will probably be of more interest to programmers smile.gif

I have ported the open source ALAC decoder written by David Hammerton into haXe. haXe is a programming language that can be used to generate code for different target platforms/code ( see http://haxe.org/doc/intro ). This means that its possible to automatically generate a version of the code in different languages; for example AS3 (used in Flash), C, Neko and within the next couple of months Java and C# (they're currently working on getting both these languages added as target languages).

The link to view/download the source code for the decoder is

https://github.com/soiaf/haXe-Apple-Lossless-decoder

The code supports everything the original code did i.e. mono or stereo files, 16 or 24 bit files.

Apart from porting the code over I made a few small changes/improvements to the code e.g. the C version of the code did not support fixed sample sizes in the stsz atom, this new version now does.

I also made a very simple Flash demo in order to show the code working, you can get the code from the above link, or you can try the demo here:

http://members.upc.ie/p.mc.quillan/alac/alac.htm

The demo only plays standard CD type files i.e. 16-bit, stereo, 44.1kHz files.

Hopefully there are no bugs left in the code, but if you do encounter a problem, please let me know.



Go to the top of the page
+Quote Post
soiaf
post Apr 3 2011, 21:55
Post #2





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



While they are making good progress adding support for C# and Java targets to haXe, C# is the current priority.

So I decided to port my haXe code to Java. You can find the source code to my Java Apple lossless decoder at

https://github.com/soiaf/Java-Apple-Lossless-decoder

Same basic code as my haXe version, however I tidied up the demo decoder by adding various API methods that can be used by any program that wants to utilise the code.

As with the haXe version, any issues or questions just let me know.
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 September 2014 - 15:27