Text this: The formation of amplitude spectra in X-ray pixel detectors made of gallium arsenide