When struck, the bar resonates at these frequencies, creating a fundamental pitch along with various. In summary, xylophones produce sound through the vibration of wooden bars when struck, with resonators amplifying these vibrations. The sound of the xylophone is governed by the natural frequencies of the wooden bars when they are struck but is also largely affected by where the bars are strung and the length of the resonator tubes.