Text this: PH and pIon control in process and waste streams