Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to play tracker modules on Android?

I posted this question over at anddev.org and thougt here was a good place to post this too because this site has a bigger usergroup.

I will make it shorter here: How can i play .xm or .mod files on the android platform? Is there a good android compatible library for the playback? I cant seem to find one. I dont search a player like Extended Multimedia Player, just a library.

I know i could convert all the modules to mp3 but I don't like that. It would blow up the app in filesize.

Regards.

like image 796
Sebastian Avatar asked Apr 08 '11 15:04

Sebastian


Video Answer


1 Answers

AndEngine is probably a good way to go.

Or if you just want to add mod/xm playing to your own code base, check out my page:

building libmodplug for android

there are a few caveats (using older Android NDK, building version 0.8.6 of libmodplug, could use better thread handling) but basically it works. There's an example apk with source.

Also recently added a new app using libmodplug with soundtracks from two of my games - 44 songs in 1.2MB :)

PGsoundtracks

like image 191
Patrick Avatar answered Oct 13 '22 21:10

Patrick