PM123's Sound Visualization color configuration file

The Analyzer plug-in will read a text file with color configurations if the skin configuration file contains its name in the 1=visplug/analyzer.dll... line.

This text file contains all the colors that will be shown in the visualization area when it is active (oscilloscope, spectrum or spectroscope analyzer).

Each color is defined by three decimal numbers (red, green and blue components) separated by a comma, everything between "//" and the end of a line is a comment, it won't be taken into account. Each component range between 0 (no color, black) to 255 (full color: red, green or blue), so 0,0,0 is black, 255,255,255 is white. The order of the colors is defined in the followed table: the fist two colors define the background and dots (check it to see what are the dots), the next 16 colors are the analyzer's colors from top to bottom, the next 5 colors are the oscilloscope's ones, from center to top/bottom, the last color is for the analyzer's peak markers.

Line Description
1 Background color
2 Dots color
3 Top of spectrum analyzer
4 - 17 Spectrum analyzer
18 Bottom of spectrum analyzer
19 Oscilloscope 1 (center)
20 Oscilloscope 2
21 Oscilloscope 3
22 Oscilloscope 4
23 Oscilloscope 5
24 Spectrum analyzer peak dots (Peak dots not used this time, but this color is used for very high intensities in the spectroscope mode.)

Since version 2.10 of ANALYZER.DLL the coloring file may also have the following, new format:

// ANALYZER 21 (this comment line is required at the top!)
// This file represents the default values
// general colors ...
BACKGROUND=0,0,0
DOTS=0,90,0 PEAK=0,255,0 // oscilloscope colors [0..4] ... OSCILLOSCOPE-0=0,180,0 OSCILLOSCOPE-3=0,255,0 // spectrum analyzer colors [0..30] ... ANALYZER-0=255,0,0
ANALYZER-100%=0,255,0 // spectroscope colors [0..63] ... SPECTROSCOPE-0=0,0,0
SPECTROSCOPE-8=0,0,32 SPECTROSCOPE-16=128,0,0
SPECTROSCOPE-24=255,0,0 SPECTROSCOPE-40=255,255,0
SPECTROSCOPE-55=128,255,255 SPECTROSCOPE-63=255,255,255

The color ranges OSCILLOSCOPE and SPECTRUM need not to be fully defined. The missing values are interpolated automatically. But keep in mind that the interpolation is done in YDbDr color space in cylindrical coordinates. The color index may be specified relative when followed by a % sign. Fractional numbers are allowed.

The range OSCILLOSCOPE-0 to OSCILLOSCOPE-4 maps to line 19 to 23 in the old WinAmp-compatible file format. The range ANALYZER-24 to ANALYZER-55 is equivalent to line 18 to 3 (in reverse order) in the old format. Now there are 31 colors instead of 16 colors. The range SPECTRUM-0 to SPECTRUM-63 is new and used for the spectroscope display.

When loading a viscolor.txt file in the old format the interpolation is also used to get the colors in the new format. The new color range SPECTRUM-0 to SPECTRUM-63 is created by interpolating between line 0 (background) to line 18 (analyzer bottom) following the analyzer colors to line 3 (analyzer top) and then to line 24 (analyzer peak). This is currently the only use of line 24.