Ideally, the sensors would have been set on the ground and worked similar to the laser sensor in Laser Harp (see the video above). But, the sound triggering system is opposite. That is to say, in contrast to the effect of Laser Harp where sound is generated when the laser beam is covered, there would not have been be any sound when the balls are static (completely covering the sensors).
A rough illustration is as follows:
Is this a good/useful/informative piece of content to include in the project? Have your say!