test/synthesizer: rework the write API to feed the phoneme name only; set pitch and envelope via other APIs