Text this: Principles of waveform diversity and design /