Foobar2000:Preferences:Columns UI/Appearance: Difference between revisions

From Hydrogenaudio Knowledgebase
mNo edit summary
Line 8: Line 8:
== Now Playing Animations ==
== Now Playing Animations ==
These are strings that use %playback_time_seconds% ''(%_time_elapsed_seconds%)'' to do some work.
These are strings that use %playback_time_seconds% ''(%_time_elapsed_seconds%)'' to do some work.
''Note: The following may not view correctly because of wiki formatting and user fonts.''
=== Examples ===
=== Examples ===
{| border=1 cellspacing=0
{| border=1 cellspacing=0
! Color
! colspan=2 align="center" | Color
|-
|-
| Fade to a new color
| Fade to a new color
Line 18: Line 21:
| $blend($rgb(0,0,255),$rgb(255,255,255),$mod(%playback_time_seconds%,5),16))
| $blend($rgb(0,0,255),$rgb(255,255,255),$mod(%playback_time_seconds%,5),16))
|-
|-
! Text
! colspan=2 align="center" | Text
|-
|-
| Basic
| Basic
| <nowiki>$puts(anisep,$select($add($mod(%playback_time_seconds%,4),1),| , ∕ ,─, \ ,))</nowiki>
| <nowiki>$select($add($mod(%playback_time_seconds%,4),1),
| , ∕ ,─, \)
</nowiki>
|}
|}
=== Text ===
=== Text ===
{| cellspacing=0 border=1 style="background-color:#EEF"
|'/////','\\\\','///','\\','/','\\','///','\\\\'
|-
|●••••,•●•••,••●••,•••●•,••••●,•••●•,••●••,•●•••
|-
|●••••,●●•••,●●●••,●●●●•,●●●●●,•●●●●,••●●●,•••●●,••••●,•••••[http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=43670&view=findpost&p=384042]
|-
|▓████,▓▓███,▓▓▓██,▓▓▓▓█,▓▓▓▓▓,█▓▓▓▓,██▓▓▓,███▓▓,████▓,█████[http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=43670&view=findpost&p=384105]
|-
|♪♬♩♫,♫♪♬♩,♩♫♪♬,♬♩♫♪[http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=43670&view=findpost&p=384126]
|}
'''Usage:''' replace the $mod parameter by the number of frames, and $select with a row of the table. Some animations will only work with certain fonts, some can be improved by changing fonts.
''Note: We add 1 to the $mod because $select counts from 1 while $mod counts from 0.''
=== Additional Reading ===
=== Additional Reading ===
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=43670 Forum Discussion Thread]
* [[Foobar2000:Titleformat_Reference|Titleformat Reference]]
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=43670 Forum] Discussion Thread
* [http://tagz.brother-john.net/create_animation.html Adding Now Playing Animation] by Brother John
* [http://tagz.brother-john.net/create_animation.html Adding Now Playing Animation] by Brother John

Revision as of 06:50, 11 May 2006

This is really a Columns UI kinda thing...

Public Columns UI setups


Now Playing Animations

These are strings that use %playback_time_seconds% (%_time_elapsed_seconds%) to do some work.

Note: The following may not view correctly because of wiki formatting and user fonts.

Examples

Color
Fade to a new color $blend($rgb(0,0,0),$rgb(255,255,255),%playback_time_seconds%,%length_seconds%)
Rotate between different levels of blue $blend($rgb(0,0,255),$rgb(255,255,255),$mod(%playback_time_seconds%,5),16))
Text
Basic $select($add($mod(%playback_time_seconds%,4),1), | , ∕ ,─, \)

Text

'/////','\\\\','///','\\','/','\\','///','\\\\'
●••••,•●•••,••●••,•••●•,••••●,•••●•,••●••,•●•••
●••••,●●•••,●●●••,●●●●•,●●●●●,•●●●●,••●●●,•••●●,••••●,•••••[1]
▓████,▓▓███,▓▓▓██,▓▓▓▓█,▓▓▓▓▓,█▓▓▓▓,██▓▓▓,███▓▓,████▓,█████[2]
♪♬♩♫,♫♪♬♩,♩♫♪♬,♬♩♫♪[3]

Usage: replace the $mod parameter by the number of frames, and $select with a row of the table. Some animations will only work with certain fonts, some can be improved by changing fonts. Note: We add 1 to the $mod because $select counts from 1 while $mod counts from 0.

Additional Reading