Waveform coding and auditory masking