The problem of pulse pile-up is very often encountered in precise measurements of γ-rays using germanium detectors. The standard method of treating the pile-up events is to identify and reject them using an appropriate electronics system. Digital acquisition techniques now allow the recording of waveforms of pile-up events that can be analysed and the contributing single pulses recovered, rather than simply tolerating the losses associated with pile-up. In this paper, a method for the off-line digital