Mod Archive Forums

Music Production => Players => Mobile Phone Players => Topic started by: m0d on July 10, 2009, 10:50:12

Title: UPDATE #3: Android Proof of Concept Player
Post by: m0d on July 10, 2009, 10:50:12
DroidSound is a proof of concept module player for Android mobile devices, and is developed by Sasq.

This thread is for news and development testing feedback regarding this player.

*UPDATE 3*

Version pre3 is out.:

Download Mirror (http://modarchive.org/extras/mirrors/droidsound/)

or Forum mirror download (backup) (http://modarchive.org/forums/index.php?action=dlattach;topic=2248.0;attach=425)

Supports: MOD, S3M, XM, IT, STM, MTM, 669, NSF, GBS, SPC, SID

Confirmed Issues:

- IT playback is a bit buggy in that it occasionally corrupts samples, this seems to be an issue with the library and not the android loader.

- SID works but TinySid is not a very good SID-emulator so many songs sound completely wrong.

- Some SPC songs do not play correctly

Updated: Dec 2009:

The download appears to have disappeared, so has the author, for some time since this was originally posted. You can find the droidsound.apk file as a download on one of the following replies to this thread.
Title: Re: Android Proof of Concept Player
Post by: Garian on July 11, 2009, 16:12:57
this is great!  I just bought a G1 yesterday and was immediately thinking "i hope there's a module player for the platform!"  So far the mods/s3ms i've listened to already sound great, can't wait to see future progress :)
Title: Re: Android Proof of Concept Player
Post by: sasq on July 12, 2009, 17:46:02

I put up a new version with some more features & formats, and hopefully a bit more stable, let me know if it works.

-- Sasq
Title: Re: Android Proof of Concept Player
Post by: m0d on July 13, 2009, 03:11:19
Super, I had it playing non-stop mods/s3ms for 5 hours tonight, no problems so far.

I bet Garian will be happy about the NSF support

Title: Re: Android Proof of Concept Player
Post by: m0d on July 13, 2009, 16:41:45
Updated main post with new info
Title: Re: Android Proof of Concept Player
Post by: Garian on July 13, 2009, 18:01:35
yes!  The NSF playback sounds pretty good, but i can't seem to access subsongs, even though it recognizes them.  hitting next/previous switches to the next actual file, and letting the songs play through will eventually just loop or end in silence while the player continues to run.  I also tried out the SPC playback, the songs started out just fine (i tested it with a few tracks from mega man x), but after a minute or so it would start skipping portions of the song... other than that though the songs i tried sounded fine... I'll have to do a bit more testing.  Thanks sasq :D
Title: Re: Android Proof of Concept Player
Post by: sasq on July 13, 2009, 18:55:32
Ok new version, fixed XM, IT, STM, MTM, 669 support - and SPC should work better now.
(Subsongs can be accessed with Long press on the Play button by the way).

I have only tested a few random songs of the more obscure formats so let me know if you find any song that sounds wrong or crashes.

http://swimmer.se/droidsound/ (http://swimmer.se/droidsound/)
Title: Re: Android Proof of Concept Player
Post by: m0d on July 13, 2009, 21:09:08
Awesome, just playing with it right now, plays elwood's "deadlock" perfectly.

I really appreciate you dedicating some time into this stuff.
Title: Re: Android Proof of Concept Player
Post by: sasq on July 13, 2009, 23:31:33
I just noticed that IT stereo samples often gets corrupted. I've gone the loading code and it seems to work so it seems like somewhere in the mixer and that code is hairy as hell... we'll see.
(modplug was written for X86 only and still has bugs)

Title: Re: Android Proof of Concept Player
Post by: m0d on July 14, 2009, 02:32:05
Yep, noticed this too on a track called 'nelly in 8bit land' and one of eftos's tracks 'antiverse'

http://modarchive.org/module.php?154494 - nelly in 8bit land

http://modarchive.org/module.php?158368 - Antiverse


Both above get corrupted samples.
Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: laserbeak43 on July 14, 2009, 15:10:15
I'd love to be able to help/learn. How can i join this project(if possible)? I'd like some practice with android programming as well as blargg's libs
Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: Garian on July 15, 2009, 16:18:34
I tried loading a few .vgz (genesis/megadrive .vg.gzip) files when i saw that the game music library you're using supported them, but they wouldn't actually play, the time-bar would scroll along but there was silence.  I tested out KSS while writing this and it wasn't extensive, but it works and sounds pretty good to me, subsong detection seems to work fine.  I don't have any AY files to check out, nor any .HES files, but I'll ask some friends of mine if they have any to send my way.  Major thanks for the continued support :)
Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: m0d on July 18, 2009, 11:04:40
@sasq is there a way you can prevent the player from closing when switching to another app? normally it's fine, unless you switch to say, another app after that too, then android closes the process down :(

also, what happens when someone calls the phone, will the player auto-stop?
Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: sasq on July 18, 2009, 12:37:56
Hmm ? It's not supposed to stop playing unless you press pause or use Quit from the menu - the player should run in the background. What exactly is happening?

I haven't thought about incoming calls yet, goes on my TODO list.
Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: m0d on July 18, 2009, 12:51:59
im trying to reproduce it now, and funny thing is this used to happen a lot, and now its now. the only difference is that im now running off battery... since audio sucks a lot of power i usually put it on the charger while playing, so maybe that is related somehow, im not at home atm, so i'l check it later.
Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: sasq on July 18, 2009, 13:09:59
I tried loading a few .vgz (genesis/megadrive .vg.gzip) files when i saw that the game music library you're using supported them, but they wouldn't actually play

I don't think I compiled with libz support, should be pretty easy to fix.


I'd love to be able to help/learn. How can i join this project(if possible)? I'd like some practice with android programming as well as blargg's libs

Well I'll probably give read-only access to the source repository when I've cleaned it up a bit (for instance right now I'm using the android source to build the native code since I started just before the official NDK was released).
Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: m0d on July 24, 2009, 14:22:44
Any news of an update soon? :D
Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: laserbeak43 on July 24, 2009, 21:53:06

I'd love to be able to help/learn. How can i join this project(if possible)? I'd like some practice with android programming as well as blargg's libs

Well I'll probably give read-only access to the source repository when I've cleaned it up a bit (for instance right now I'm using the android source to build the native code since I started just before the official NDK was released).

I'll be waiting!! :)

-edit-
btw,
seems that the player will list .nsf tracks but only play the first.
Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: shagrath on August 04, 2009, 00:25:07
just registered to say I'm very happy to listen to my mods, on the go  :D ... Thanks a lot for this project !
Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: STuFFk on August 14, 2009, 22:46:11
Hi,

nice piece of code !

is there a chance you give your player as a standalone lib for android java sdk one day ?

I'm interrested for game or little app development (freeware only) and I would love to add some good old mod or xm in them, but using pure java player is painful & IMO very slow...

thanks, and keep going !
Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: radian on September 09, 2009, 18:43:24
Sounds really good, but the site seems to be down at the moment so I can't try it for myself  :(

Seeing interest in this raises my hopees there may be a tracker for this OS someday soon, Milky is the only thing I miss after switching from WinCE.

Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: m0d on September 10, 2009, 00:08:39
here ya go :)

Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: syphus on October 21, 2009, 20:26:06
I'm amazed I only found out about this now.

sasq - I'm desperate to know how you did it, considering Android's sound API seems to me to be crippled (media clips only, can't fill a buffer on the fly, etc). Is it partially or totally native code?

Playing with it now - great stuff!
Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: qumran on December 05, 2009, 18:54:51
Thank you for this wonderful player! Works great on my HTC Tattoo.

I have promoted you on Facebook cause i really think you deserve all the publicity in the world!

Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: Biggo on January 30, 2010, 06:14:00
Hi sasq/Mod enthusiasts. I know this forum is for MOD music, but, I am also developing a media player for Android for video game music. I have a working version that I haven't released yet because I want to add a few features before it becomes available. I know this forum is for the MOD format but my player so far is currently only using Blargg's GME libraries like sasq's player. My first version should be available in the coming weeks and I'll post here again when it is released.

I don't mean to compete; I just found this thread with a Google search because I was curious if there was someone else doing the same or similar thing as I was, and this is the only other such software I have found thus far.

I setup a Google Code page for my player; the name is terrible as I suck at naming things. You can find it at http://code.google.com/p/androidgmeplayer/ (http://code.google.com/p/androidgmeplayer/)

Once I find some time in the next few weeks where work doesn't leave me too wiped to work on it ( has been ridiculously busy since my last coding session in November), I will post here again to see what you guys think. I am a pretty novice programmer and this is my first personal coding project I am going public with. If you like what you see sasq, maybe we can work together for the ultimate video game music player/chiptune player for the Android OS (which I think is the future of mobile platforms).

Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: Biggo on February 15, 2010, 20:52:33
The first version has been released.

Check it out and let me know what you think!

http://code.google.com/p/androidgmeplayer/ (http://code.google.com/p/androidgmeplayer/)
Title: Re: UPDATE #3: Android Proof of Concept Player
Post by: m0d on February 15, 2010, 21:01:38
Please make a new thread about it :)