home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 April
/
PCWorld_2005-04_cd.bin
/
software
/
temacd
/
winamp
/
winamp508e_full.exe
/
$0
/
scripts
/
eq.m
< prev
next >
Wrap
Text File
|
2004-12-20
|
517b
|
23 lines
#include <lib/std.mi>
Global Group frameGroup;
Global Button btnEQp12,btnEQ0,btnEQm12;
System.onScriptLoaded() {
frameGroup = getScriptGroup();
btnEQp12 = frameGroup.findObject("EQ_p12");
btnEQ0 = frameGroup.findObject("EQ_0");
btnEQm12 = frameGroup.findObject("EQ_m12");
}
btnEQp12.onLeftClick() {
for(int i=0; i<10; i++) setEqBand(i, 127);
}
btnEQ0.onLeftClick() {
for(int i=0; i<10; i++) setEqBand(i, 0);
}
btnEQm12.onLeftClick() {
for(int i=0; i<10; i++) setEqBand(i, -127);
}