The amplitude of the signal collected from the PbWO4 crystals of the CMS electromagnetic calorimeter is reconstructed by a digital filtering technique. The amplitude reconstruction has been studied with test beam data recorded from a fully equipped barrel