pouët.net

Go to bottom

Android mod player

category: music [glöplog]
SAP works out of the box, no need for fixing :)
added on the 2010-08-17 23:25:10 by Movi Movi
I get occasional hiccups in playback when multitasking, or when the screen is shut down. Most often with SID tunes. Not enough CPU? :(
added on the 2010-08-18 00:05:36 by Movi Movi
Quote:
Hehe, no way, sorry :)


Oh well. Another item on the list of things I need to get around to at some point...
added on the 2010-08-18 09:44:08 by xeron xeron
New beta6c - should handle the other media buttons (untried). Also hopefully slightly faster zip-scanning, recognizes SAP-extensions and a few other small fixes.

... I get hickups only when I side-scroll in the browser. I may try increasing the buffer size, but I didn't notice any difference after doubling it earlier...

added on the 2010-08-18 09:46:33 by sasq sasq
other media buttons don't work, eg the old behaviour is still there. My guess is they get broadcasted as both, or something like that.
added on the 2010-08-18 10:20:59 by Movi Movi
Quote:
other media buttons don't work, eg the old behaviour is still there. My guess is they get broadcasted as both, or something like that.


Ok, I updated the apk on the server with one extra logline. If you redownload you and look for
PlayerService * MEDIA BUTTON KEY
It should show which key events I read from the media button broadcast...
added on the 2010-08-18 10:44:27 by sasq sasq
Ah, nevermind, it works in 6c. It's just that you didn't update your html href to the new version, i got 6b and never noticed.
added on the 2010-08-18 11:15:42 by Movi Movi
If you're still interested, the output is as follows:

All keypresses (for both keydown and keyup) fire something like this
MEDIA BUTTON android.intent.action.MEDIA_BUTTON
MEDIA BUTTON KEY KeyEvent[action=0 code=85 repeat=0 meta=0 scancode=164 mFlags=8}

I'm guessing action=1 is keydown and 1 is keyup,

code/scancode for buttons:

Play/Paus = 85/164
Next = 87/163
Previous = 88/165
added on the 2010-08-18 11:23:12 by Movi Movi
Quote:
Ah, nevermind, it works in 6c. It's just that you didn't update your html href to the new version, i got 6b and never noticed.

oops, fixed.
added on the 2010-08-18 12:33:44 by sasq sasq
Cool stuff. Works nicely on my 2.1-based phone.

Any chance of it ever supporting VGM, KSS and/or FC ?
added on the 2010-08-18 12:53:00 by mic mic
Seems to work pretty well on my Milestone. Drains the battery quite quickly though. My phone was fully charged when I unplugged it an hour ago and now it's 50% after about 40 minutes of listening to sids. According to battery usage statistics, Droidsound did 40% of that (and display 30%).

One feature request: Pause the music when headphones are unplugged :)
added on the 2010-08-18 17:01:11 by teel teel
Quote:
Any chance of it ever supporting VGM, KSS and/or FC ?


Actually VGM and KSS should already be supported by libgme, although I have never tried it. If by FC you mean Amiga Future Composer then you have to wait until I add UADE support... shouldn't be that far into the future.
added on the 2010-08-18 17:25:50 by sasq sasq
Quote:
Actually VGM and KSS should already be supported by libgme, although I have never tried it.

The files weren't detected though.

Quote:
If by FC you mean Amiga Future Composer then you have to wait until I add UADE support... shouldn't be that far into the future.

Yeah, I mean Future Composer mods. I'll reinstall when there's an update then.
added on the 2010-08-18 17:42:52 by mic mic
Quote:
The files weren't detected though.


I just tried a few of both formats and they worked fine (Space Harrier, Sonic, Golden Axe ...)

added on the 2010-08-18 18:06:21 by sasq sasq
Quote:

Seems to work pretty well on my Milestone. Drains the battery quite quickly though. My phone was fully charged when I unplugged it an hour ago and now it's 50% after about 40 minutes of listening to sids. According to battery usage statistics, Droidsound did 40% of that (and display 30%).


That does not sound too strange - sidplay2 does take a lot of CPU, maybe 10x more than an Amiga mod.

Quote:

One feature request: Pause the music when headphones are unplugged :)


Added, will be in beta6d.
added on the 2010-08-18 18:40:33 by sasq sasq
Quote:
I just tried a few of both formats and they worked fine (Space Harrier, Sonic, Golden Axe ...)

Huh. Maybe I needed to restart the phone or something. All I did was mount the SD card on my computer, add some VGMs (VGZ actually) to the same subdirectory under MODS where I have the rest of my tracks, unmount the SD card and start droidsound (which had previously been running).
I'll try again tomorrow. Gör om gör rätt..
added on the 2010-08-18 19:41:02 by mic mic
I do love this app so much. Any chance of SC68 & SNDH support please?
Quote:
Huh. Maybe I needed to restart the phone or something.

Droidsound only scans when it starts, not when its temporarily switched out - I may have to look into a smarter way of of doing it..
Anyway, eiter press Back to get to the Home screen and click Droidsound again, or select "Rescan" in settings.

Quote:
Any chance of SC68 & SNDH support please?


Sure, as long as there are C/C++ source code available.
added on the 2010-08-18 23:01:52 by sasq sasq
Quote:
Sure, as long as there are C/C++ source code available.


The guy that wrote the sc68 player for the iPhone has the source for that app on his site:

http://www.peylow.se/sc68player.html
great job! i'm thinking of moving to android platform for some time :]
added on the 2010-08-19 08:36:51 by nula nula
Quote:
Quote:
The files weren't detected though.

I just tried a few of both formats and they worked fine (Space Harrier, Sonic, Golden Axe ...)


It seems like files won't be detected if the filename contains spaces (which it's likely to do if you've downloaded a soundtrack from Project2612, where the typical naming convention is "Game - nn - Track Name.vgz").

I still can't get KSS files to play though. All I get is a brief period of silence, and then it skips to the next track. It doesn't matter what the Silence Detection option is set to.
added on the 2010-08-19 09:57:55 by mic mic
Have you had a look at the hively replayer?
added on the 2010-08-19 10:04:20 by xeron xeron
Quote:
Have you had a look at the hively replayer?

Not adding any new features until I get a v1.0 release out on Market - which hopefully will happen this weekend...
added on the 2010-08-19 10:40:19 by sasq sasq
I noticed that the database updater crashes when it encounters certain VGM files (a fairly large percentage of the ones I tried in fact). Buggy GD3 scanner maybe?
If you want to reproduce the crash you can use songs from e.g. Red Zone (available at project2612.org) or Tintin In Tibet (available at smspower.org). I decompressed the songs before putting them on the SD card since VGZ doesn't seem to be supported.
added on the 2010-08-19 19:02:03 by mic mic
I just tried Tintin in Tibet - GME can not handle them for some reason, but it doesnt crash the scanner for me, they just aren't added...
added on the 2010-08-19 19:41:55 by sasq sasq

login

Go to top