Foobar2000 Customization Topic


Recommended Posts

Hi

Got a problem with my foobar, when it tries to load libpng it just says

INFO (foo_ui_columns) : comctl32.dll version: 6.0.2900

INFO (foo_ui_columns) : libpng failed to load - The specified module could not be found.

INFO (foo_ui_columns) : zlib version 1.2.3 found at C:\WINDOWS\system32\zlib1.dll

INFO (foo_ui_columns) : Note: libpng is dependant on zlib. If zlib fails to load, libpng also will.

How do i solve this?

Thanks in Advance

Link to comment
Share on other sites

Hi

Got a problem with my foobar, when it tries to load libpng it just says

INFO (foo_ui_columns) : comctl32.dll version: 6.0.2900

INFO (foo_ui_columns) : libpng failed to load - The specified module could not be found.

INFO (foo_ui_columns) : zlib version 1.2.3 found at C:\WINDOWS\system32\zlib1.dll

INFO (foo_ui_columns) : Note: libpng is dependant on zlib. If zlib fails to load, libpng also will.

How do i solve this?

Thanks in Advance

extract this into foobar2000 directory

http://music.morbo.org/download/libpng128-zlib123.7z

Link to comment
Share on other sites

I posted this at HA.org in order to generate more responses. I'm really trying to implement this a la Encspot in my soon to be released fcs.

I've been playing with getting the bitrate column in my fcs to display a different background depending on the bitrate of the corresponding file. The code I've come up with so far is:

$if($strcmp(%__codec%,MP3),$blend(0000FF,00FFFF,%__bitrate%,320),$blend(00FFFF,00FF00,%__bitrate%,1200))|

As you can see, the problem arises when trying to compare the bitrates of MP3's and the lossless files in my library such as FLAC and APE. This is why I have seperated the two types of codecs in the above code. If the baseline value for all codecs is set to high (to account for the lossless files), then the color difference between the MP3's is negligible. Too low and the high bitrate lossless files will not be included in the output.

clipboard014px.png

I was wondering if someone could help me tune this to get a relative ratio going for the lossless and MP3 files so that the MP3's @ <128 would be red, and the best FLAC files would be green.

I think the blend command works the best, as I have tried to code for each type of mp3 by using the $greater command and choosing bitrates at 128, 160, 192, 256, 320, and 321, which gives pretty good results, but can't differentiate between a 192 kbps CBR MP3 and a 161 kbps VBR MP3. It may be necessary to do another string compare with VBR mp3's and generate a completely separate output.

Any help would be appreciated.

Link to comment
Share on other sites

I was wondering if someone could help me tune this to get a relative ratio going for the lossless and MP3 files so that the MP3's @ <128 would be red, and the best FLAC files would be green.

But uh, in your code lossless files are green and MP3s < 128 are red. So what exactly is the problem?

Link to comment
Share on other sites

The color difference between a 128 kbps MP3 and a 192 kbps MP3 should be much greater than the difference between a 320 kbps MP3 and a 1200 kbps FLAC file, quality-wise (even though the range between the two are much different). I know how to do it, but finding the right ratio will take me too much time. It will involve changing the blend color range and the c/d variable ratio ($blend(a,b,c,d)).

Another variable is the quality difference between a 160 kbps CBR MP3 and a 160 kbps VBR MP3. Should they display differently, and if so, by how much? I don't need someone to code this for me, but to give me values a, b, and d for lossless and lossy files (perhaps divided further into VBR and CBR categories).

Link to comment
Share on other sites

my coding skill is abit rusty.. but you could use this..

$if($strcmp(%__codec%,MP3),$if([%__extrainfo% ],00FF00)$blend(0000FF,00FFFF,%__bitrate%,320),$blend(00FFFF,00FF00,%__bitrate%,1200))|

%extrainfo% is used to differentiate between CBR and VBR MP3

in this code, a VBR MP3 will have green text color.. you can adjust that..

hope this help..

Link to comment
Share on other sites

clipboard013la.png

Maybe the above screenshot will better show you what I'm trying to accomplish. Eventually I want to have a completely color coded method of interpreting music metadata.

The RG and AG signify the presence of Replaygain and Album gain, respectively. Eventually they will be given their own columns using a solid green backgroud as indicating its presence, and a solid red background indicating is absence.

Basically, I want to be able to go through my collection, looking for any red, which will clue me into problems that I have with certain tracks.

I also want to design something more visually pleasing and that contains more information in the color when indicating bitrate (quality). It is for this reason that I do not like to use set values to determine the color that is displayed (i.e >128, >160, >192). It is for this reason that I chose the blend command.

The problem arises when dealing with a data set with a large standard deviation. It is for this reason that lossy and lossless encoders must be treated differently (as explained in my post above).

As in the example of differentiating VBR and CBR MP3's, obviosuly the former will be of somewhat higher quality. How much so is what I am trying to get some input on. Another problem is determing the comparison value of a 320 kbps lossy file to a lossless rip. Obviously it will not differ as much as say a 64 kbps MP3 to a 128 kbps MP3. The quality gained by using higher bitrates seems to be hyperbolic. This is a problem because Foobar, as of yet, does not support exponential functions. Even if it did, assigning a value to this would be quite a challenge.

What I need is someone to help determine a value for determing the relative quality of a song by its bitrate. Since logarithmic functions aren't at our disposal, the idea of comparing FLAC to MP3 is out of the question. Even when separating the two formats, as I have done in the code I posted above, a non-linear change in quality occurs within a specific encoder when moving to the higher bitrates.

What I have determined is that it will take an integration of some sort to determine these values (which may indeed be quantitative (unless there is documentation already on percieved quality differences and certain bitrates).

i.e.

blend color a to b for bitrates between c and d

blend color b to e for bitrates between d and g

blend color e to h for bitrates between g and i

...and so on and so forth.

This is what I need help determing, not coding as the above responses indicated.

EDIT: Updated Foobar. Green column is presence of RG. Far Right Column is Quality. Color of Track is Playcount. Purple Heart is presence of Ratings tag.

Edited by Bryanhoop
Link to comment
Share on other sites

<snip>

What I need is someone to help determine a value for determing the relative quality of a song by its bitrate. Since logarithmic functions aren't at our disposal, the idea of comparing FLAC to MP3 is out of the question. Even when separating the two formats, as I have done in the code I posted above, a non-linear change in quality occurs within a specific encoder when moving to the higher bitrates.

<snip>

What you are trying to do is impossible. Why? Because perceived quality difference between certain bitrates is completely subjective. I know many people who think a 128kbps CBR MP3 is equal in quality to a lossless file. And then there's other codecs with better compression. Eg: A 128k OGG Vorbis may sound just as a good as a 192k CBR MP3.

So, finding a value relative to quality difference varies with each listener and codec.

Link to comment
Share on other sites

@Bryanhoop

I don't know much about the coding format strings for foobar. But I do know a little about coding (not much though). Anyway, I suggest seperating your CODEC's completely. For example, have your mp3's as one color set (such as between red and green), and your FLAC files as another color set (such as between blue and white). That way you will be able to look and see the relative quality of your files between CODEC's.

However, if you have a lot of CODEC's, then things may get pretty confusing. Also, you may want to add a column for files that are VBR so that you can tell the difference between a 256 kbps CBR and an --Extreme-Preset VBR file.

Link to comment
Share on other sites

Hello

I'm a noob with foobar2000 .I'm using it only since some days and i've seen some very cool foobar configurations, but i don't konw how to change the layout in version 8.3. In the new beta it's easy you can use Hotizontal/vertical spltters to insert any component e.g. visualizations.. and you have an addional menu entry to config this setting but this entry doesn't exist in version 8.3. Secoundly i can already view the albumart via tha albumart plugin and the albumlist integrated in foobar but it's only a 1*1 cm picture at the top of the window

can you please help me?

If alredy installed columns ui

Link to comment
Share on other sites

You want it? You got it! :laugh:

**1MB WARNING**

Here's the fcs, the font, the 3dc & the toolbar.

**1MB WARNING**

Enjoy ;)

p/s: Oh, if you can't find the download link, press the 'X' on the top right of your screen to close that annoying pop-up. Cheers :)

Link to comment
Share on other sites

i have solved my prob on my own but there is an other question : How can I add the G-Force visualization to a tab like the albumlist or the spectrum analyzer. somewhere in a faq i read that i have to disable the border window of the viz, but this has no effect or isn't it possible to use the g-force viz in a tab :cool: :cool:

is there any possibility to divide the foobar appearence in 3 parts like the windows mediaplyer that at the left is the album list and in the middle the visualization and on the right is the playlist?

I've added a picture how i think it should become but i don't know how to realize this in foobar2000

:D :) :( :no: :angry:

post-151545-1137362636_thumb.jpg

Link to comment
Share on other sites

Little question concerning code:

I've setup my config in 'album mode' (as seen in most configs with trackinfo in tracknumber 1-3 etc), but I would like the artist of a track with no tracknumber tags to be displayed.

Basically what I'd like is "IF tracknumber is null THEN print artist". Or something similar :p

Link to comment
Share on other sites

Little question concerning code:

I've setup my config in 'album mode' (as seen in most configs with trackinfo in tracknumber 1-3 etc), but I would like the artist of a track with no tracknumber tags to be displayed.

Basically what I'd like is "IF tracknumber is null THEN print artist". Or something similar :p

try something like

$if(%tracknumber%,$num(%tracknumber%,2),%artist%)

thats basically

IF tracknumber (is available) THEN show tracknumber ELSE show artist

edit:

on a side note, my latest config - my own itunes config, from scratch

itunesfoobar4bd.jpg

Edited by moglenstar
Link to comment
Share on other sites

You want it? You got it! :laugh:

**1MB WARNING**

Here's the fcs, the font, the 3dc & the toolbar.

**1MB WARNING**

Enjoy ;)

p/s: Oh, if you can't find the download link, press the 'X' on the top right of your screen to close that annoying pop-up. Cheers :)

:laugh: I like the warning. So everyone that want a nice foobar just download that above.

*Going to convert my WMA-s to MP3 to use beta 13.....*

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.