HeHe, pseudocode time..



int BassdB = 0, TrebdB = 0;


if (current_eq=="Flat"){
AddHijackMenuItem(&BassAdjust,"Bass");
AddHijackMenuItem(&TrebAdjust,"Treble");

for (channel=1;channel<=EqChannels;channel++){
SetEqBand (1, BassFreq, BassQ, BassdB); /* Band, frequency, Q, dB */
SetEqBand (2, TrebFreq, TrebQ, TrebdB); /* frequency / Q from config.ini */
};
};

void BassAdjust() {
while (true) {
Key = GetKeyPress()
switch (Key) {
case "Up Button": return();
case "Knob Right": { if (++BassdB >12 ) then{BassdB=12;} }
case "Knob Left": { if (--BassdB <-12 ) then{BassdB=-12;} }
}

for (channel=1;channel<=EqChannels;channel++){
SetEqBand (1, BassFreq, BassQ, BassdB);
}
}
return(0); /* should never get here */


void TrebAdjust() {
/* Ditto. */
}




Would that principle work??
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.