Source Formats

This section references the file formats supported in the sources of a Sound Composer project.

Audio Sources

Format

Description

WAV (.wav)

Standard WAV format and Sound: Analysis and Specification WAV proprietary format including specific proprietary information (calibration channel, physical unit, etc.).

*.UFF, *.UNV

The Universal File Format as specified by SDRL at The University of Cincinnati (www.uc.edu). Only UFF types 58 and 58b are supported. Additionally, Sound: Analysis and Specification only supports the following settings:

  • Record 6 Field 1 (DOF Identification Function Type) must be set to either 0 (General or Unknown) or 1 (Time Response)
  • Record 7 Field 3 (Abscissa Spacing) must be set to 1 (even)

*.d7d, *.dxd

Audio file produced by an acquisition front-end of the DEWESOFT company.

Time sample (*.txt, *.csv)

The data may be a generic file that lacks the header lines. When importing a generic file, you will need to select a "time" column or enter a sampling frequency.

The data may also be in the Sound: Analysis and Specification proprietary format for time samples (samples vs time). This file contains one or more series of samples.

A proprietary *.txt file will include the following content:

  • on line 1, the header: AnsysSound_SoundSamples 1
  • on line 2, the sampling frequency of the samples contained in the file, set in Hz, preceded by FS and a tab spacing character (for instance FS 100000)
  • on lines 3 to N, one or several columns can be specified. Each column is a series of samples.
AnsysSound_SoundSamples 1
FS  100000
0.000000000000e+000 0.000000000000e+000
1.000000000000e-005 0.000000000000e+000
2.000000000000e-005 0.000000000000e+000
3.000000000000e-005 0.000000000000e+000
4.000000000000e-005 0.000000000000e+000
5.000000000000e-005 0.000000000000e+000
6.000000000000e-005 0.000000000000e+000
7.000000000000e-005 0.000000000000e+000

Harmonics Sources

Format

Description

Order (*.ord)

The Sound: Analysis and Specification proprietary format for orders.

Harmonics (orders)

(*.txt, *.csv)

The Sound: Analysis and Specification proprietary format for level of orders vs rpm. The text file includes the levels of one or more orders as a function of RPM.

The *.txt file must include the following content:

  • on line 1: AnsysSound_Orders 1
  • the unit is defined on line 2: dBSPL, dBA, Pa, or Pa2
  • on line 3, the text string RPM followed by the rank of the orders
  • on lines 4 to N:
    • the first column contains the RPM value,
    • columns 2 to N are the levels (in Pa, Pa2 or dB according to the unit defined on line 2) of the orders corresponding to the RPM specified in the first column.
AnsysSound_Orders 1
Pa
RPM 12  24  36  48  60
500 0.00230055  0.00475752  0.00127085  0.00389983  0.00098248
510 0.00280545  0.0045141   0.00171955  0.00473541  0.00159459

You can also use Ansys Sound: Analysis and Specification to create a Harmonics model with two control parameters, see Creating a Harmonics Model (2 Parameters) for more information.

Harmonics (orders)

(*.xml)

Harmonics file coming from Ansys Mechanical simulation.

Spectrum Sources

Format

Description

Spectrum (*.spectre)

The Sound: Analysis and Specification proprietary format for spectrum storage.

Spectrum (*.xml)

Spectrum file coming from Ansys Mechanical simulation.

Spectrum (*.txt, *.csv)

The Sound: Analysis and Specification proprietary format for spectrum defining the frequency and amplitude of a spectrum.

The *.txt file must include the following content:

Version 3 (recommended format) - supports Power Spectral Density (PSD) input as well as level vs. frequency, depending on the unit.

  • on line 1, the header: AnsysSound_Spectrum 3
  • on line 2: the unit of measurement used. This can be:
    • PSD: dBSPL/Hz, dBA/Hz, Pa/Hz, Pa2/Hz
    • level vs. frequency: dBSPL, dBA, Pa, Pa2
  • on line 2 to N: 2 columns separated with a tab spacing character. The first column is the frequency, in Hz, and the second column is the spectrum level in the defined unit.

Version 2 (deprecated format) - supports level vs. frequency only.

  • on line 1, the header: AnsysSound_Spectrum 2
  • on line 2: the unit of measurement used. This can be dBSPL, dBA, Pa, or Pa2.
  • on line 3 to N: 2 columns separated with a tab spacing character. The first column is the frequency, in Hz, and the second column is the spectrum level in the defined unit.

Version 1 (deprecated format) - supports level vs. frequency only.

  • on line 1, the header: AnsysSound_Spectrum 1
  • on line 2 to N: 2 columns separated with a tab spacing character. The first column is the frequency, in Hz, and the second column is the spectrum level in dB.
AnsysSound_Spectrum 3
dBSPL/Hz
00000.00       11.15
00007.81       8.32
00015.63       5.93
00023.44       3.41
00031.25       6.02
00039.06       10.29
00046.88       12.72
00054.69       14.62
00062.50       15.22

Broadband Noise Sources

Format

Description

Broadband Noise (*.txt, *.csv)

The Sound: Analysis and Specification proprietary format for spectrum defining the frequency and amplitude of a broadband noise source as a function of a control parameter.

The *.txt file must include the following content:

  • on line 1: the header specifying the input file format - AnsysSound_BBN 2 (recommended) or AnsysSound_BBN 1 (deprecated).
  • on line 2: the unit of measurement used, followed by the type of data which will be given in the columns below.
    • For the AnsysSound_BBN 1 format, the unit can be dBSPL, dBA, Pa, or Pa2
    • For the AnsysSound_BBN 2 format, the unit can be:
      • PSD: dBSPL/Hz, dBA/Hz, Pa/Hz, Pa2/Hz
      • level vs. frequency: dBSPL, dBA, Pa, Pa2
    Data type can be NARROWBAND, OCTAVE1:1, or OCTAVE1:3 corresponding respectively to narrow band, octave, or third octave frequency bands
  • on line 3: quoted text describing the control parameter whose unit and values are on line 4. The quotes (" ") surrounding the text are mandatory.
  • on line 4: 2 or more column headers separated by tab spacing characters:
    • The first column is the unit used for the controlling parameter of the model (such as "m/s" for meters per second).
    • Columns 2 to N are the values of the control parameter that are matched to the noise levels in the column below.
  • on line 5 to N: 2 or more columns separated by tab spacing characters
    • The first column is the frequency, in Hz. Based on the data type in line 2, it can be frequencies of a narrow band spectrum, center frequencies of the octave, or center frequencies of the 1/3 octave respectively.
    • Columns 2 to N are the noise level in dB, Pa, or Pa² (based on the unit of measurement in line 2).
AnsysSound_BBN 1
dBSPL    NARROWBAND
"Speed of wind"
"m/s"   1   2   5.3 10.5    27.778
0  41.21603362 47.52701254 36.06128555 45.8003136 45.8003136
10 42.93945075 47.0708236 38.68765626 47.48655183 47.48655183
20 44.82645585 47.56715844 41.35835452 45.32085886 45.32085886
30 46.8652157 45.32860282 44.16070715 51.31474522 51.31474522
40 45.33045728 52.25354777 47.25466204 53.67350055 53.67350055

You can also use Ansys Sound: Analysis and Specification to create a Broadband Noise model with two control parameters, see Creating a Broadband Noise Model (2 Parameters) for more information.

Tip: You can refer to File Formats for more details about the file formats.