Spectrum as a txt File

This section describes the spectrum as a txt file used for the sound creation.

To create a sound, Sound: Analysis and Specification needs two inputs.

  • First input is the txt file which contains the spectrum (dB SPL vs frequency).

  • Second input is the type of the method used for the sound creation. Two methods are available in Sound: Analysis and Specification for this purpose.

    Note: For more information, see Methods for Sound Creation and the Supported Spectrum Types.

    The txt file loading is done from File > Open spectrum for sound synthesis.

Text file description

The text file which contains the spectral data is formatted as follows:

  • 1st line: AnsysSound_Spectrum X.

    where X is the version number. The current version is 1.

  • 1st column: frequency in Hz

  • 2nd column: Sound Pressure Level, in dB SPL

  • Each column is separated by space or tabulation.

Example:

AnsysSound_Spectrum X

300

78.85

1378

77.08

2756

74.76

4134

70.10

5512

67.15

6890

63.71

8268

63.42

9646

62.73

11025

58.09

The sound generated as output is stationary and exhibits the same spectrum as the input spectrum. The created sound signal is stationary.