home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 November
/
CDVD1105.ISO
/
Util
/
Winamp
/
Skins
/
Pimeer_Modern_v2.wal
/
scripts
/
eqstats.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2004-09-13
|
6KB
|
247 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Text Text17;
Global Slider Slider18;
Global Slider Slider19;
Global Slider Slider20;
Global Slider Slider21;
Global Slider Slider22;
Global Slider Slider23;
Global Slider Slider24;
Global Slider Slider25;
Global Slider Slider26;
Global Slider Slider27;
Global Slider Slider28;
Global Timer Timer29;
Global Button Button30;
Global Button Button31;
Function func2848(String "0");
System.onScriptLoaded()
{
Group Group36;
Group Group34;
Group34 = System.getContainer(( "main")).getLayout(( "normal"));
Group36 = System.getContainer(( "egaliseur")).getLayout(( "normal"));
Slider18 = Group36.getObject(( "preamp"));
Slider19 = Group36.getObject(( "eq1"));
Slider20 = Group36.getObject(( "eq2"));
Slider21 = Group36.getObject(( "eq3"));
Slider22 = Group36.getObject(( "eq4"));
Slider23 = Group36.getObject(( "eq5"));
Slider24 = Group36.getObject(( "eq6"));
Slider25 = Group36.getObject(( "eq7"));
Slider26 = Group36.getObject(( "eq8"));
Slider27 = Group36.getObject(( "eq9"));
Slider28 = Group36.getObject(( "eq10"));
Button30 = Group36.findObject(( "Eq_Power"));
Button31 = Group36.findObject(( "Eq_auto"));
Text17 = Group34.findObject(( "Songticker"));
if(( Text17 == Null)) {
System.messageBox(( "ooch\!\!"), ( "ooch"), 0, ( ""));
}
Timer29 = ( new Timer);
Timer29.setDelay(750);
return Null;
}
System.onScriptUnloading()
{
delete Timer29;
return Null;
}
Slider18.onSetPosition(int newpos)
{
Float Float55;
Float55 = newpos;
Float55 = ( Float55 / ( 10.5833301544189));
if(( Float55 <= 0)) {
func2848(( ( ( ( "Preamp\ \:\ ") + ( "\+")) + System.floatToString(Float55, 1)) + ( "\ dB")));
}
if(( Float55 > 0)) {
func2848(( ( ( "Preamp\ \:\ ") + System.floatToString(Float55, 1)) + ( "\ dB")));
}
return Null;
}
Slider19.onSetPosition(int newpos)
{
Float Float61;
Float61 = newpos;
Float61 = ( Float61 / ( 10.5833301544189));
if(( Float61 <= 0)) {
func2848(( ( ( ( "60\ Hz\ \:\ ") + ( "\+")) + System.floatToString(Float61, 1)) + ( "\ dB")));
}
if(( Float61 > 0)) {
func2848(( ( ( "60\ Hz\ \:\ ") + System.floatToString(Float61, 1)) + ( "\ dB")));
}
return Null;
}
Slider20.onSetPosition(int newpos)
{
Float Float64;
Float64 = newpos;
Float64 = ( Float64 / ( 10.5833301544189));
if(( Float64 <= 0)) {
func2848(( ( ( ( "170\ Hz\ \:\ ") + ( "\+")) + System.floatToString(Float64, 1)) + ( "\ dB")));
}
if(( Float64 > 0)) {
func2848(( ( ( "170\ Hz\ \:\ ") + System.floatToString(Float64, 1)) + ( "\ dB")));
}
return Null;
}
Slider21.onSetPosition(int newpos)
{
Float Float67;
Float67 = newpos;
Float67 = ( Float67 / ( 10.5833301544189));
if(( Float67 <= 0)) {
func2848(( ( ( ( "310\ Hz\ \:\ ") + ( "\+")) + System.floatToString(Float67, 1)) + ( "\ dB")));
}
if(( Float67 > 0)) {
func2848(( ( ( "310\ Hz\ \:\ ") + System.floatToString(Float67, 1)) + ( "\ dB")));
}
return Null;
}
Slider22.onSetPosition(int newpos)
{
Float Float70;
Float70 = newpos;
Float70 = ( Float70 / ( 10.5833301544189));
if(( Float70 <= 0)) {
func2848(( ( ( ( "600\ Hz\ \:\ ") + ( "\+")) + System.floatToString(Float70, 1)) + ( "\ dB")));
}
if(( Float70 > 0)) {
func2848(( ( ( "600\ Hz\ \:\ ") + System.floatToString(Float70, 1)) + ( "\ dB")));
}
return Null;
}
Slider23.onSetPosition(int newpos)
{
Float Float73;
Float73 = newpos;
Float73 = ( Float73 / ( 10.5833301544189));
if(( Float73 <= 0)) {
func2848(( ( ( ( "1\ kHz\ \:\ ") + ( "\+")) + System.floatToString(Float73, 1)) + ( "\ dB")));
}
if(( Float73 > 0)) {
func2848(( ( ( "1\ kHz\ \:\ ") + System.floatToString(Float73, 1)) + ( "\ dB")));
}
return Null;
}
Slider24.onSetPosition(int newpos)
{
Float Float76;
Float76 = newpos;
Float76 = ( Float76 / ( 10.5833301544189));
if(( Float76 <= 0)) {
func2848(( ( ( ( "3\ kHz\ \:\ ") + ( "\+")) + System.floatToString(Float76, 1)) + ( "\ dB")));
}
if(( Float76 > 0)) {
func2848(( ( ( "3\ kHz\ \:\ ") + System.floatToString(Float76, 1)) + ( "\ dB")));
}
return Null;
}
Slider25.onSetPosition(int newpos)
{
Float Float79;
Float79 = newpos;
Float79 = ( Float79 / ( 10.5833301544189));
if(( Float79 <= 0)) {
func2848(( ( ( ( "6\ kHz\ \:\ ") + ( "\+")) + System.floatToString(Float79, 1)) + ( "\ dB")));
}
if(( Float79 > 0)) {
func2848(( ( ( "6\ kHz\ \:\ ") + System.floatToString(Float79, 1)) + ( "\ dB")));
}
return Null;
}
Slider26.onSetPosition(int newpos)
{
Float Float82;
Float82 = newpos;
Float82 = ( Float82 / ( 10.5833301544189));
if(( Float82 <= 0)) {
func2848(( ( ( ( "12\ kHz\ \:\ ") + ( "\+")) + System.floatToString(Float82, 1)) + ( "\ dB")));
}
if(( Float82 > 0)) {
func2848(( ( ( "12\ kHz\ \:\ ") + System.floatToString(Float82, 1)) + ( "\ dB")));
}
return Null;
}
Slider27.onSetPosition(int newpos)
{
Float Float85;
Float85 = newpos;
Float85 = ( Float85 / ( 10.5833301544189));
if(( Float85 <= 0)) {
func2848(( ( ( ( "14\ kHz\ \:\ ") + ( "\+")) + System.floatToString(Float85, 1)) + ( "\ dB")));
}
if(( Float85 > 0)) {
func2848(( ( ( "14\ kHz\ \:\ ") + System.floatToString(Float85, 1)) + ( "\ dB")));
}
return Null;
}
Slider28.onSetPosition(int newpos)
{
Float Float88;
Float88 = newpos;
Float88 = ( Float88 / ( 10.5833301544189));
if(( Float88 <= 0)) {
func2848(( ( ( ( "16\ kHz\ \:\ ") + ( "\+")) + System.floatToString(Float88, 1)) + ( "\ dB")));
}
if(( Float88 > 0)) {
func2848(( ( ( "16\ kHz\ \:\ ") + System.floatToString(Float88, 1)) + ( "\ dB")));
}
return Null;
}
System.onEqChanged(int newstatus)
{
if(newstatus) {
func2848(( "Equalizer\ \:\ ON"));
} else {
func2848(( "Equalizer\ \:\ OFF"));
}
return Null;
}
Button31.onActivate(int activated)
{
if(( activated == 1)) {
func2848(( "EQ\ Auto\ \:\ ON"));
} else {
func2848(( "EQ\ Auto\ \:\ OFF"));
}
return Null;
}
Timer29.onTimer()
{
Text17.setText(( ""));
Timer29.stop();
return Null;
}
func2848(String "0")
{
Timer29.stop();
Text17.setText(String96);
Timer29.start();
return Null;
}