Digital signal conditioning and conversion