<iframe align="center" marginwidth="0" marginheight="0" src="http://www.zealware.com/csdnblog336280.html" frameborder="0" width="336" scrolling="no" height="280"></iframe>
WINAMP 配置文件
很简单,就没有翻译了 ;-)
Configuration Files
|
|
Any skin file is not complete without first finishing up the configuration files. These configuration files control such things as the background and foreground colors of the Winamp visualizations, or areas that are designated areas to be displayed to the end user. There are three text files that allow you to change these various aspects of Winamp. The first of the three that we will cover is called VisColor.txt.
Configuration File | VisColor.txt |
|
VisColor.txt is the file that sets the colors for the Visualization panel. It contains 24 lines. Each line is an RGB value followed by a comment. (See RGB for more Info). Here is a brief explanation of the lines:
- Row 0 is the background color of the visualization area.
- Row 1 is the color of the dots that appear in the visualization area
- Rows 2 through 17 affect the colors of the Spectrum Analyzer. Row 2 is the peak value, the highest part of the graphical bar that is visible. This means that when you hit a high frequency, the top of the bar becomes the color specified. As you move from row to row, you can color each level of the frequency spectrum a different color to signify the peak levels of the frequencies in the file you are playing at that moment.
- Rows 18 to 22 pertain to the oscilloscope colors. They function in the same fashion as the Spectrum Analyzer. Row 18 controls the colors that is displayed at the troughs and the row 22 is the color that is displayed at the crest. Each row between 18 and 22 sets a different level of the whole wave.
- Row 23 gives the color used to mark the last peak value. Let's take a look at what this all means, here are some screenshots with example images to help you get a clearer perspective.
![]() |
The result with row 0 set to 0,0,0 and row 1 set to 255, 255, 255. |
|
Configuration File | Pledit.txt |
|
Pledit.txt gives the font colors and font face for the Playlist Editor track listing as well as the MiniBrowser URL display, located at the bottom of the MiniBrowser.
Here are some sample settings for pledit.txt is:
[Text] Normal=#FF8924 Current=#FFFF00 NormalBG=#1A120A SelectedBG=#944E11 MbFG=#FF8924 MbBG=#1A120A Font=Comic Sans MS
The funny values are Hexadecimal RBG values (see Hex RGB). Each row has a different setting:
- Normal - Color of the regular text (Playlist).
- Current - Color of the current track text (Playlist).
- NormalBG - Background for normal text (Playlist).
- SelectedBG - Background for the selected text (Playlist)
- MbFG - Text color in the MiniBrowser status bar. (MiniBrowser)
- MbBG - Text background in the MiniBrowser status bar. (MiniBrowser)
- Font - Font face that's used in both windows
|
Configuration File | Region.txt |
|
So you want a skin with areas that are simply put, transparent? Well, this is a highly tricky task. The file you need is called region.txt and the way to do it is a lot like playing connect-the-dots.
Region.txt provides a set of names such as Normal, WindowShade and so fourth. These set points define how many points make up each window. Another set defines how to draw the picture over Winamp.
Region.txt has 4 regions (the sets). They are delimited with the following tags:
[Normal] [WindowShade] [Equalizer] [EqualizerWS]
Each of these provides a list that constist of two parts. The first gives the number of points that make up a region. The second is a list of the points used to make those regions.
The lines are:
NumPoints= PointList= The NumPoints list must be on a single line with comma separated numbers.
Example: NumPoints = 4, 4
Each number, x, says to read the next x points of the list and plot the region they define. The points list is comma seperated pairs of x,y co-ordinates. For example:
[Normal] NumPoints = 4, 4 PointList = 0,1, 275,1, 275,14, 0,14,3,15, 272,15, 272,113, 3,113 Defines two rectangular regions to be drawn. For more information read the comments in the region.txt file in the base skin. You will find a little more explanation in this file. The only item missing is the EqualizerWS group which is new and will be defined at a later time. "Normal" defines the regions drawn for the main window, WindowShade is the regions drawn in the windowshade mode. Equalizer and EqualizerWS are the same as above. Use the examples above to work out the other points. |
RGB stands for "Red, Green, Blue". A certain combination of each of these colors at various percentages can make millions of different colors. For example, combining 100% Blue and 100% Green will make the brightest achievable Yellow. Using this model, RGB has become a method of defining color.
Since a computer displays light using pixels which are really three lights one Red one Green and one Blue (well close enough description for our purposes), we can define a color as the amount of red, green and blue. The ranges we use to help put into perceptive for each of the colors on a computer, we use 0 all the way to 255. Basically, that means, there are 256 different shades of each of those primary three colors, and any combination of those three shades will result in a color. For example, 128, 128, and 128 would make a gray in about the middle of the spectrum. Here are the different values of each of those colors.
Red |
Green |
Blue |
Color |
255 |
0 |
0 |
Pure Red |
0 |
255 |
0 |
Pure Green |
0 |
0 |
255 |
Pure Blue |
0 |
0 |
0 |
Black |
255 |
255 |
255 |
White |
100 |
150 |
38 |
Interesting Green |
46 |
23 |
92 |
Dark Purple |
|
Configuration File | Hexadecimal |
|
Hexadecimal RGB numbers are exactly the same as RGB, except the value is represented in Hexadecimal notation. Digit position has less meaning (no hundreds tens and units). And each digit can be 0-9 then A-F. To convert from Hex to Decimal use Windows Calculator in Scientific mode. |
|
分享到:
相关推荐
该插件的核心在于其内置的CFG插件默认配置文件,这个配置文件包含了优化音频性能的一系列参数设置,使得音乐播放更加细腻、饱满,为用户带来身临其境的听觉享受。 安装DSP_XFiSound插件的过程简单而直观。首先,你...
每个皮肤通常是一个包含图像、配置文件和有时甚至有额外音频效果的压缩文件(.zip或.wsz格式)。安装皮肤时,用户只需将这些文件复制到Winamp的skin目录,然后在程序中选择新皮肤即可。 总的来说,这个压缩包是一个...
而"winamp.q1"可能是一个特定的音效插件或配置文件,用于提升Winamp的音质。后缀".q1"可能代表特定的文件格式,与Winamp的音效处理有关。 综上所述,这个压缩包提供了一个用于改善Winamp音质的工具或插件。用户需要...
用户在下载并解压后,按照提供的指南进行安装和配置,就有可能让Winamp的音质得到显著提升。不过,值得注意的是,“3倍音质提升”这个说法在实际中可能有些夸张,因为音质提升的程度往往因人而异,取决于原始音源的...
在安装DFX时,需要将这个文件正确地复制到Winamp的插件目录下,以便Winamp能识别并加载DFX。 "DFX_10.jpg"可能是一个展示DFX界面或者版本信息的图片,用户可以通过查看这张图片了解DFX的外观或者更新内容。通常,...
2. **启动安装**:下载完成后,双击"Winamp_setup"执行文件,启动安装程序。系统会提示你是否接受许可协议,阅读并同意后继续。 3. **选择安装类型**:通常有标准安装和自定义安装两种选项。标准安装会自动为你配置...
1. 插件接口:了解Winamp的插件API,如IN_WINAMP_PLUGIN结构体,它是所有Winamp插件的核心,包含了初始化、卸载、配置等函数指针。 2. DLL编程:掌握如何创建和使用DLL,包括导出函数、延迟加载、模块间通信等技术...
10. vis_spectrum.dsp:这是一个Visual Studio的项目文件,包含了编译和构建插件所需的配置信息。 通过这些文件,开发者可以学习如何编写Winamp插件,特别是关于音频分析和图形界面设计的部分。对于想要深入理解...
"资源"可能包括图像、配置文件等辅助材料,对于构建插件是必要的。 从压缩包子文件的文件名称列表来看,我们可以推测这个项目的组成部分: 1. matroxamp_analyser_skin.bmp 和 skin.bmp:这两个可能是皮肤文件,...
3. 配置编译环境:运行`./configure`,系统会自动检查依赖并配置构建环境。 4. 编译源代码:执行`make`命令,这将编译源代码。 5. 安装程序:最后,使用`sudo make install`将编译好的程序安装到系统路径。 安装...
5. **自定义配置**:用户可以根据自己的设备和听音习惯,保存和加载不同的配置文件,实现快速切换。 总的来说,foo_dsp_winamp.dll插件是提升foobar2000播放体验的重要工具,它通过汉化让用户更易于理解和使用,...
此外,XML配置文件也可用于保存用户的播放列表、设置等个性化信息。 ### 3. 界面设计与模仿 模仿千千静听和Winamp的界面,意味着我们要实现类似的功能布局和视觉效果。这包括但不限于: - **主窗口**:设计简洁...
综合以上分析,这个压缩包包含了一个轻量级、类似WinAmp的MP3播放器的源代码和执行文件。开发者和爱好者可以通过研究源代码了解其设计思路,改进功能,或者用作学习多媒体播放器开发的实例。而对于普通用户而言,这...
3. **皮肤资源管理**:皮肤通常包含多个图像文件、颜色配置和布局信息。我们需要设计一个系统来加载和管理这些资源,可能需要使用到文件I/O操作,以及XML或JSON等格式来存储和解析皮肤数据。 4. **事件处理**:皮肤...
通过这些文件,开发者可以理解项目的结构,查看并修改源代码,以及编译和运行这个类似WinAMP的图形界面。这对于学习Windows GUI程序设计、MFC(Microsoft Foundation Classes)框架,以及如何实现自定义媒体播放器...
【压缩包子文件的文件名称列表】中的"MPlayer"可能是该项目的主程序文件或相关组件,可能包含了播放器的核心代码、资源文件、配置文件等。MPlayer通常是一个开源的跨平台媒体播放器,但在这个上下文中,它可能是仿...
4. `MSSCCPRJ.SCC`:这是版本控制系统(可能是Visual SourceSafe)的配置文件,用于跟踪源代码的版本和修改历史,帮助团队协作开发。 5. `Winamp.vbp`:这是Visual Basic工程文件,包含了项目的整体信息,如引用库...
4. Shell32.vbp:这是一个Visual Basic工程文件,包含了项目的配置信息,如引用的库、模块列表、启动对象等。它是项目管理的关键,可以帮助开发环境理解如何构建和运行整个应用程序。 5. Shell32.vbw:这是Visual ...
1. `modCommon.bas`:这可能是一个模块文件,包含了通用函数和变量,供播放器的其他部分共享,例如文件操作、错误处理或配置设置。 2. `nodir.bmp` 和 `nocover.bmp`:这些可能是默认的图像文件,用于在播放器中...
Unit1.ddp是Delphi项目依赖文件,记录了项目的配置信息。Unit1.dfm和Unit2.dfm是窗体文件,存储了界面上控件的布局和属性。Unit1.h和Unit2.h是C++头文件,定义了公共的类和函数。Project1.exe则是编译后的可执行文件...