Skip to content
/ .. / .. /
Audio References Configuration










Audio References Configuration

Speech channel monitoring uses different reference audio files for both of the speech channel's directions. In addition to the default set of reference audio files, custom audio files can be provided as a configuration to intaQt and used for speech channel monitoring.

Syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
AudioReferences = {
        reference1 = {
            name: <String>,
            sineFrequencyHz: <Number>,
            offDurationMillis: <Number>,
            onDurationMillis: <Number>
        },
        reference2 = {
            name: <String>,
            sineFrequencyHz: <Number>,
            offDurationMillis: <Number>,
            onDurationMillis: <Number>
        }
        referenceDirectory = <String>
}

Parameters

  • name - The name of the reference audio file

    • It should match the filename (without the file extension) of the actual audio file used by the Audio Service
  • sineFrequencyHz - The nominal frequency of the reference audio file in Hz

  • offDurationMillis - The duration of the pause between two consecutive beeps in milliseconds

  • onDurationMillis - The duration of the beep in milliseconds

  • referenceDirectory - The location of the audio reference files, relative to the working directory

    • Default is set to ../audio-ref
    • By default, the audio reference files are provided in the audio-ref directory, which is located at the same level as the bin directory that contains the executable for intaQt and intaQt Phone Service.

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
AudioReferences = {
    reference1 = {
        name: "REF-800"
        sineFrequencyHz: 800,
        offDurationMillis: 300,
        onDurationMillis: 300
    },
    reference2 = {
        name: "REF-1100"
        sineFrequencyHz: 1100,
        offDurationMillis: 300,
        onDurationMillis: 300
    }
    referenceDirectory = "../audio-ref"
}

The example above demonstrates the default values provided by intaQt.

The default references can be overwritten with custom values, as shown in the following example. The file names of these custom references must match those configured in the Audio Player Configuration within the project structure.

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
AudioReferences = {
    reference1 = {
        name: "customRef1"
        sineFrequencyHz = 1650,
        offDurationMillis = 700,
        onDurationMillis = 300
    },
    reference2 = {
        name: "customRef2"
        sineFrequencyHz = 2000,
        offDurationMillis = 300,
        onDurationMillis = 300
    }
    referenceDirectory  = "../audio-ref"
}

Note: Although custom values can be used, using default reference files and specifications is highly recommended. This is because the reference files must adhere to strict rules in order to be usable with the Speech Channel Monitoring process.