Definition of the acoustic spectrum are the distribution of energy as a function of frequency for a particular sound source .