Active Topics

 



Notices


Reply
Thread Tools
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#21
Originally Posted by tso View Post
and if someone tries to add a song multiple times, maybe just jump to the song in the list and start playing it
yes, that could be pretty easy to implement and I thinked at some point but what if I want listen 3 times the same song because is the brainworm of the day? I hate when applications try to oversmart me
Originally Posted by tso View Post
hmm, now i got thinking about eyecandy. some kind of slide animation from left to right or maybe a flash of the playlist tab when a song is added to said list.
I still didn't find a decent way to move 300x300 pixel at decent speed in python+pygame(sdl). The 'bar' interface is initially thinked to workaround the limit and just move the checkered bar graphics and keep filling the rest with the backgrounds color: that could probably reach a decent speed (to see some movements and stay belove the 300 ms each slide: I had same problem with the vertical flipclock slide).
Yes, the playlist now is completely counterintuitive (thats why I add the number on the top (user should always know more or less what is going on): I had to write a little subtle thin line to show the lists position (like a scrollbar) so watching the bar shrinking should help people to understand what is going on: I suppose I can add some glowing there.
Writing everything from scratch have some advantages
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]

Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#22
The trick with smooth sliding is that you only draw what's new on screen each frame. The rest simply gets shifted by some amount. I can only speak of GDK, but SDL (pygame) should be able to perform the shifting at least equally well.
Vertical sliding looks better on the N800 and N810 because horizontal sliding causes tearing on these devices. The 770 doesn't have this tearing problem.
 

The Following User Says Thank You to pycage For This Useful Post:
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#23
Just to jump in with the sliding comment there... Ciro, have you taken a look at the latest build of Flipclock? I put the basic sliding animation in there (needs some work still obviously as I'm sure we could clean it up in terms of what actaully moves, etc, but demonstrates one attempt at vertical sliding).
 
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#24
Originally Posted by jolouis View Post
Just to jump in with the sliding comment there... Ciro, have you taken a look at the latest build of Flipclock? I put the basic sliding animation in there (needs some work still obviously as I'm sure we could clean it up in terms of what actaully moves, etc, but demonstrates one attempt at vertical sliding).
yep! Is great to watch something doing things u always just imagined: it feel like meet mickeymouse at disneyland.
I just have to reinstall the virtualbox to open the .deb and check if I can understand enough to steal something from that slide or at least adapt some of the graphics elements.
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]

Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito
 
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#25
The slide code itself is pretty easy... the trick that I ran into with it was getting it to generate the "new screen" before actually displaying it. (and the math was a bit of a pain at first because I had to think about it lol)
Code:
## Crazy animate screen change function
# change the clock mode, then call this function instead of init directly to redraw the screen!
def slideNewScreen(direction, newScreen):
	#grab the existing screen
	oldScreen = pygame.display.get_surface().copy();
		
	#now animate the oldScreen moving up and the buffer coming into replace it
	for i in range(11):
		currScreen = pygame.display.get_surface();
		currScreen.fill((0,0,0))
		if (direction == "down"):
			currScreen.blit(oldScreen, (0, 0), (0,(48 * i),800, 480))
			currScreen.blit(newScreen, (0, 480 - (48 * i )))
		elif (direction == "up"):
			#Move existing up as new one appears
			currScreen.blit(oldScreen, (0, (48 * i )))
			currScreen.blit(newScreen, (0, 0), (0, 480 - (48 * i ), 800, 480))
		
		pygame.display.flip()
		ci.pygame.time.wait(10)
 
LABAUDIO's Avatar
Posts: 315 | Thanked: 71 times | Joined on Oct 2008 @ €@$T Montreal Quebec Canada
#26
I try to install easy_0.7_all.deb but in detail error
lightblue1 (>= 0.3.1-1osso1) missed
maemo extra activated

a clue for probably fix my issue and probably adopte you appli
__________________
N900 Owner N95 + N810
Fremantle Tester
Diablo Dacker
French Noob

BorgTheme ¤ BorgSounds ¤ BorgStartUp ¤ BorgClock

Last edited by LABAUDIO; 2009-04-02 at 08:28.
 
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#27
Originally Posted by LABAUDIO View Post
I try to install easy_0.7_all.deb but in detail error
lightblue1 (>= 0.3.1-1osso1) missed
maemo extra activated

a clue for probably fix my issue and probably adopte you appli
no idea, 'easy' should just be a pretty 'simple' collection of python modules: they probably add some dependecies just to play with people minds.
Anyway is still way to early to jump on this boat
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]

Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito
 

The Following User Says Thank You to ciroip For This Useful Post:
LABAUDIO's Avatar
Posts: 315 | Thanked: 71 times | Joined on Oct 2008 @ €@$T Montreal Quebec Canada
#28
Ok i waiting for indepandant pack.
__________________
N900 Owner N95 + N810
Fremantle Tester
Diablo Dacker
French Noob

BorgTheme ¤ BorgSounds ¤ BorgStartUp ¤ BorgClock
 
LABAUDIO's Avatar
Posts: 315 | Thanked: 71 times | Joined on Oct 2008 @ €@$T Montreal Quebec Canada
#29
any advance in this app?
__________________
N900 Owner N95 + N810
Fremantle Tester
Diablo Dacker
French Noob

BorgTheme ¤ BorgSounds ¤ BorgStartUp ¤ BorgClock
 
ciroip's Avatar
Posts: 334 | Thanked: 366 times | Joined on Nov 2008 @ Italy
#30
yes but nothing exciting enough to share
__________________
I can't do it. No one can help.
[SIGPIC][/SIGPIC]

Flip Alarm Clock - 3DMania Theme - Synesthesia - Deluxepain
http://ciroip.blogspot.com/
http://twitter.com/ciroippolito
 

The Following User Says Thank You to ciroip For This Useful Post:
Reply

Tags
audio, mp3, pygame, python, synesthesia


 
Forum Jump


All times are GMT. The time now is 07:29.