private float limit(float eq) { if (eq == BAND_NOT_PRESENT) return eq; if (eq > 1.0f) return 1.0f; if (eq < - 1.0f) return - 1.0f; return eq; }