Removed setSineLevel() and offset setting in updateSine()