Help - Search - Members - Calendar
Full Version: Now Playing Animations
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
mortuusrex
Hey all,
Im looking for some cool now playing animations.
If anyones got any they'd like to share post the code here.
Habla
For the playlist or the track info panel?
mortuusrex
QUOTE(Habla @ Apr 15 2006, 04:50 PM) *

For the playlist or the track info panel?



Playlist, something along the lines of < then < then <
ty in advance
Habla
i use this simple one in my tracknumber column:

$select($add(1,$mod(%_time_elapsed_seconds%,4)),'/','//','///','//')
NEMO7538
CODE

$puts(Len,5)
$puts(PChar,•)
$puts(Cnt0,$mod(%_time_elapsed_seconds%,$add($get(Len),1)))

$puts(Phase,$add($div($mod(%_time_elapsed_seconds%,$mul($add($get(Len),1),2)),$mul($add($get(Len),1),1)),1))
$puts(Cycle1,$add($div($mod(%_time_elapsed_seconds%,$mul($add($get(Len),1),4)),$mul($add($get(Len),1),2)),1))
//from 1 to 7
$puts(Cycle2a,$add($div($mod(%_time_elapsed_seconds%,$mul($add($get(Len),1),28)),$mul($add($get(Len),1),4)),1))
$puts(Cycle2a,$add($get(Cycle2a),$select($get(Cycle1),0,1)))
$puts(Cycle2a,$ifgreater($get(Cycle2a),7,1,$get(Cycle2a)))
//from 1 to 6
$puts(Cycle2b,$add($div($mod(%_time_elapsed_seconds%,$mul($add($get(Len),1),24)),$mul($add($get(Len),1),4)),1))

$put(Cola,$select($get(Cycle2a)
,FFEBBF|FFEBBF
,4FA7FF|4FA7FF
,80FF80|80FF80
,FBAAFB|FBAAFB
,80FFFF|80FFFF
,FFD2D5|FFD2D5
,E1E1E1|E1E1E1
,FFFFFF|FFFFFF))
//$get(Cycle2a)

$put(Colb,$select($get(Cycle2b)
,E1E1E1|E1E1E1
,80FF80|80FF80
,FBAAFB|FBAAFB
,FFEBBF|FFEBBF
,80FFFF|80FFFF
,FFD2D5|FFD2D5
,4FA7FF|4FA7FF
,FFFFFF|FFFFFF))
//$get(Cycle2b)


//$puts(Colz,0000A0|008000)
$puts(Colz,006000|800000)
$puts(Col1,$select($get(Phase),$select($get(Cycle1),$get(Cola),$get(Colb)),$get(Colz)))
$puts(Col2a,$select($get(Phase),$get(Colz),$select($get(Cycle1),$get(Colb),$get(Cola))))
$puts(Col2b,$select($get(Phase),$get(Colz),$select($get(Cycle1),$get(Cola),$get(Colb))))


// Formatting
$if(%_isplaying%,$transition($repeat($get(PChar),$get(Cnt0)),$blend($get(Col1),$get(Col2a),$min($get(Cnt0),$sub($get(Len),1)),$get(Len)),$blend($get(Col1),$get(Col2a),1,$get(Len)))$get(Col1)$get(PChar)$transition($repeat($get(PChar),$sub($get(Len),$get(Cnt0))),$blend($get(Col1),$get(Col2b),1,$get(Len)),$blend($get(Col2b),$get(Col1),$max($get(Cnt0),1),$get(Len))),)
mortuusrex
awesome thanks guys

QUOTE(Habla @ Apr 17 2006, 03:37 AM) *

i use this simple one in my tracknumber column:

$select($add(1,$mod(%_time_elapsed_seconds%,4)),'/','//','///','//')


this didnt work for me, not too sure why though.
snively
QUOTE

$if($or(%_isplaying%,%_ispaused%),
$rgb(0,0,0)
$select($add(1,$mod(%_time_elapsed_seconds%,8)),←,↖,↑,↗,→,↘,↓,↙,)
)


I used the Calibi font with this.
mortuusrex
QUOTE(snively @ Apr 17 2006, 12:04 PM) *

QUOTE

$if($or(%_isplaying%,%_ispaused%),
$rgb(0,0,0)
$select($add(1,$mod(%_time_elapsed_seconds%,8)),←,↖,↑,↗,→,↘,↓,↙,)
)


I used the Calibi font with this.



this worked great thanks snively
Nobby Nobbs
Could someone post a zip of the vista fonts like calibri, or tell me where to get them? smile.gif
foosion
QUOTE(Nobby Nobbs @ Apr 18 2006, 05:27 PM) *
Could someone post a zip of the vista fonts like calibri, or tell me where to get them? smile.gif
You get them with Windows Vista. Please read the forum rules regarding posting links to copyrighted material.
Nobby Nobbs
ah, sorry. Didnt realise we're that strict about that sort of thing around here. I find it amusing though that 99% of copys of vista are likely illegally obtained...
Habla
CODE
$blend(FFDA09|FFDA09,F909FF|F909FF,%playback_time_seconds%,10)
$select($add(1,$mod(%playback_time_seconds%,10)),
//●••••,•●•••,••●••,•••●•,••••●,•••●•,••●••,•●•••)
// '/////','\\\\','///','\\','/','\\','///','\\\\')
●••••,●●•••,●●●••,●●●●•,●●●●●,•●●●●,••●●●,•••●●,••••●,•••••)
vonmeth
QUOTE(Habla @ Apr 19 2006, 04:17 AM) *

CODE
$blend(FFDA09|FFDA09,F909FF|F909FF,%playback_time_seconds%,10)
$select($add(1,$mod(%playback_time_seconds%,10)),
//●••••,•●•••,••●••,•••●•,••••●,•••●•,••●••,•●•••)
// '/////','\\\\','///','\\','/','\\','///','\\\\')
●••••,●●•••,●●●••,●●●●•,●●●●●,•●●●●,••●●●,•••●●,••••●,•••••)



useing the same code, here is another. =P

CODE
▓████,▓▓███,▓▓▓██,▓▓▓▓█,▓▓▓▓▓,█▓▓▓▓,██▓▓▓,███▓▓,████▓,█████


Zurman
CODE
$select($add(1,$mod(%_time_elapsed_seconds%,4)),♪♬♩♫,♫♪♬♩,♩♫♪♬,♬♩♫♪)
ww2
Sorry to ressurrect an old topic, but I have a question:

How can I do an "animation" to have Track info alternate between %artist% and %album% (for example) in the same line, like iTunes does? I don't need any complex animation really... just alternating from time to time would be fine.

EDIT

Hum, I was able to do it using the following expression (which I barely understand):

CODE
$select($add($mod(%playback_time_seconds%,2),1),%artist%,%album%)


The problem is it changes too fast. How do I modify the delay? Thanks.

/EDIT
gaekwad2
CODE
$select($add($mod($div(%playback_time_seconds%,5),2),1),%artist%,%album%)
ARiel G.
Draw choosen foreground symbol, in a choosen color, against choosen background symbol, and move the forground symbol from right to left, when it rich the end, the symbol move from left to right.

CODE

$puts(back_symbol,'● ')
$puts(back_color,C0C0C0)
$puts(fore_symbol,'● ')
$puts(fore_color,)
$puts(fragments,5)

$puts(time_total,$mul($sub($get(fragments),1),2))
$puts(time_mod,$mod(%playback_time_seconds%,$get(time_total)))

$if(%isplaying%,
$ifgreater($get(time_mod),$div($get(time_total),2),
$get(back_color)$repeat($get(back_symbol),$sub($get(time_total),$get(time_mod)))
$get(fore_color)$get(fore_symbol)
$get(back_color)$repeat($get(back_symbol),$add($sub($get(time_mod),$get(fragments)),1))
,
$get(back_color)$repeat($get(back_symbol),$get(time_mod))
$get(fore_color)$get(fore_symbol)
$get(back_color)$repeat($get(back_symbol),$sub($sub($get(fragments),1),$get(time_mod)))
),
)


And the opposite (left to right):

CODE

$if(%isplaying%,
$ifgreater($get(time_mod),$div($get(time_total),2),
$get(back_color)$repeat($get(back_symbol),$add($sub($get(time_mod),$get(fragments)),1))
$get(fore_color)$get(fore_symbol)
$get(back_color)$repeat($get(back_symbol),$sub($get(time_total),$get(time_mod)))
,
$get(back_color)$repeat($get(back_symbol),$sub($sub($get(fragments),1),$get(time_mod)))
$get(fore_color)$get(fore_symbol)
$get(back_color)$repeat($get(back_symbol),$get(time_mod))
),
)
ww2
QUOTE(gaekwad2 @ Jun 17 2006, 12:52) *

CODE
$select($add($mod($div(%playback_time_seconds%,5),2),1),%artist%,%album%)



Thanks =]
Yotsuya
QUOTE(Nobby Nobbs @ Apr 18 2006, 14:58) *

ah, sorry. Didnt realise we're that strict about that sort of thing around here. I find it amusing though that 99% of copys of vista are likely illegally obtained...


There's nothing illegal about participating in microsoft's public "Customer Review Program" of vista, I suggest you sign up for a legitimate trial key and extract the fonts yourself. It's not about being "strict", just avoid discussing illegal activities in this forum please.

http://www.microsoft.com/windowsvista/getready/preview.mspx
PonasX
Hello. I want, that animation replace %list_index% only that song what is currently playing ... How do it ? smile.gif
Bachi-Bouzouk
see here:
http://eolindel.free.fr/foobar0.9/tutorial3.shtml#content

the playlist number column
PonasX
Big Big Thanks !!! smile.gif It's working great ! smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.