XM Audio, Second Try: Success!
After my previous capitulation in front of Extended Module playback via Flash, I could not keep my hands off that topic. I started a second attempt and rewrote the whole code from scratch. This time I used a more flat (less object oriented) approach with less function calls; plus: I made some research and profiling regarding which constructs and data types are faster in Action Script 3.
Many problems in my previous attempt were caused by implicit type conversions and function call overheads. I also made some major architectual mistakes which made the whole project less controllable.
Now, everything runs smoothly and I’m happy with the results. However, not all features are implemented yet. Many XM-specific effects and stereo processing will follow. But this won’t have a big influence on performance, since the performance critical parts are basically done. I also was able to test the module player in my current game project and everythink went fine.
My special thanks go to Christian Corti and Richard Davey since I learned a lot from the FlodPro code. This is a quite decent chunk of work which I learned to respect and appreciate while working on my own module player.
Now it’s time for a small demo. The player below is playing the demo track “milk in veins” (by raina & . from the CoolPHat demo group) which comes with the Milkytracker release.
P.S.: I sign off for the next two months since this semester’s exams are drawing near.
In: music, programming · Tagged with: AS3, flash, FlodPro, flxmp, Milkytracker, Module, music
on 2010-07-28 at 11.39 pm
Permalink
Hi Paul,
Are you still implementing this XM as3 player? Have you released it?
I would like to know more about your progress, thank you.
on 2010-07-31 at 10.33 pm
Permalink
Hi Danny,
The XM Player in its core is finished and working, but most effects are missing and I will implement them step by step. I Haven’t released it yet but I intend to do it soon