maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Synesthesia: Audio Player - python+pygame+easy+Gstreamer (https://talk.maemo.org/showthread.php?t=27451)

ciroip 2009-03-11 23:23

Synesthesia: Audio Player - python+pygame+easy+Gstreamer
 
Im still not completely bored with python and Im curios to see how reactive can remain using gstreamer.

https://garage.maemo.org/frs/downloa...-0.0.5.all.deb

http://repository.maemo.org/extras/p...sso2_armel.deb

http://repository.maemo.org/extras/p...sso2_armel.deb

http://repository.maemo.org/extras-d...sy_0.7_all.deb

Dependencies: python, pygame, easy and not sure how gstreamer.
http://farm4.static.flickr.com/3596/...90160ec0_o.jpg

By now was .debbable just the 'browsermode' but it begin to take a shape.
Download only for waste on it a couple of minutes but dont bore to signal bugs:
is way too early :)
Anyway is a cute frontend for gstreamer with some wacko use of color fades.
Probably on the N800 it cant use the keys to stop the mp3 (the space on the n810)
The 5sec skip have some serious issue and the scrub on the positon bar does not work
but the hidden 'volume slide' on the song's title should work...

tso 2009-03-20 10:29

Re: Synesthesia: Audio Player - python+pygame+easy+Gstreamer
 
funny issue, it does not show a icon in the task switcher area or home menu, so its somewhat hard to access in the background.

but beyond that, love it :D

ciroip 2009-03-20 10:44

Re: Synesthesia: Audio Player - python+pygame+easy+Gstreamer
 
Quote:

Originally Posted by tso (Post 273160)
funny issue, it does not show a icon in the task switcher area or home menu, so its somewhat hard to access in the background.

but beyond that, love it :D

yes, I keep reusing the same modules from other my projects for fast prototyping (aka lazy a** syndrome) so I probably used the flipclock hildon integration. I thinked this (like this kind, not like this specific player) is what the advanced tablet user want: as you pointed on the other thread smart users made their own file organizations and database solution seem just wrong on the tablet (and if u ask me I never digest it even on PCs, but I have to admit have some advantages in some cases).
I guess Ill spend a bit of time in the weekend to atleast have the alphabetic order and fix a bit the skipping/scrubbing

Thank you for spending a bit of time on

ciroip 2009-03-26 21:29

Re: Synesthesia: Audio Player - python+pygame+easy+Gstreamer
 
Next weekend Ill probaby be able to upload a small update with a rudimental playlist managment and leds candies

http://farm4.static.flickr.com/3208/...11da8ab5_o.jpg

ciroip 2009-03-28 01:45

Re: Synesthesia: Audio Player - python+pygame+easy+Gstreamer
 
Progress on the playlist side
http://farm4.static.flickr.com/3594/...72db72b9_o.png
Since I want the thing remain usable on the N800 I was thinking to dedicate the dpad for navigation (up and down trough the filesystem, left and right trough the playlist) and use the touch screen control for the player controls.
I still have no idea how access to the fullscreen/+/-/home/back button from pygame

tso 2009-03-28 02:14

Re: Synesthesia: Audio Player - python+pygame+easy+Gstreamer
 
iirc, they are f-keys...

btw, i have had some issue starting another some while one is playing...

ciroip 2009-03-28 02:29

Re: Synesthesia: Audio Player - python+pygame+easy+Gstreamer
 
Quote:

Originally Posted by tso (Post 275184)
iirc, they are f-keys...

btw, i have had some issue starting another some while one is playing...

yes originally I was thinking to use the dpad button for start/pause and the space to stop. Just an experiment. Now Im trying to use the dpad button for add the mp3 to the playlist... We'll see. Now is better if I try to sleep a bit. HHappy weekend

pycage 2009-03-28 09:00

Re: Synesthesia: Audio Player - python+pygame+easy+Gstreamer
 
Quote:

Originally Posted by ciroip (Post 275180)
I still have no idea how access to the fullscreen/+/-/home/back button from pygame

You access them like any other keys:

fullscreen = F6
+ = F7
- = F8
Home = (occupied by the system, thus not accessible)
Back = Escape

ciroip 2009-03-29 01:57

Re: Synesthesia: Audio Player - python+pygame+easy+Gstreamer
 
It seem everything procede smooth how I visualized in my head...
summary:
http://farm4.static.flickr.com/3208/...26ea8652_m.jpg
http://farm4.static.flickr.com/3245/...0a4b5017_m.jpg
http://farm4.static.flickr.com/3571/...6f0a8c5b_m.jpg
http://farm4.static.flickr.com/3559/...1306243d_m.jpg
I was thinking to use the player screen for something more usefull (like mp3 tags or more infor about the file or maybe the album art?) and use the now useless about screen for something more mondane like the karaoke (probably not a lot of mp3 have the .lrc anyway)

for higher resolution I opened a flickr account to try to make the forum page a bit lighter...
I like the flickr 'add note' feature that could be usefull to explain some idea.
Like my usual if nothing bad happed I should be able to upload something workable for sunday night.

tso 2009-03-29 02:07

Re: Synesthesia: Audio Player - python+pygame+easy+Gstreamer
 
looks interesting :)


All times are GMT. The time now is 08:52.

vBulletin® Version 3.8.8