Files
pqAutomationApp/UniTAP/dev/modules/dut_tests/cfg/[0x02]src_dut_audio.json
xinzhu.yin c157e774e5 1.1.0版本
2026-04-16 16:51:05 +08:00

86 lines
4.2 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"descriptions": [
{
"configId": "0x2020",
"defaultValue": "44100",
"description": "Sample rate that should be present when running the test, in Hz. Default setting is 44100 Hz. If the audio stream sample rate does not match, the test will result fail.",
"flag": 3,
"id": "TSI_EXPECTED_SAMPLE_RATE",
"maxValue": 2147483647,
"minValue": 0,
"name": "Expected sampling rate of audio signal",
"type": 4
},
{
"configId": "0x2021",
"defaultValue": "1000",
"description": "Expected audible signal frequency that should be present when running the test, in Hz. Default setting is 1000 Hz.",
"flag": 3,
"id": "TSI_EXPECTED_AUDIO_FREQUENCY",
"maxValue": 2147483647,
"minValue": 0,
"name": "Expected audible (sine) frequency as Hz",
"type": 4
},
{
"configId": "0x2022",
"defaultValue": "1",
"description": "Maximum allowed frequency deviation for the audible signal from the reference frequency, in Hz. Default setting is 1 Hz.",
"flag": 3,
"id": "TSI_AUDIO_FREQUENCY_TOLERANCE",
"maxValue": 2147483647,
"minValue": 0,
"name": "Allowed deviation from expected frequency as Hz",
"type": 4
},
{
"configId": "0x2023",
"defaultValue": "5",
"description": "This value defines the accepted RDV range by adding/subtracting it from the calculated base RDV when performing glitch detection. Lower values mean more sensitive to glitches please note that setting this value too low will cause even perfectly good signal to fail the test. Valid range for this setting is 0 to 32767.0; The default setting is 5.0 (327680 scaled). Important: FIXED POINT ENCODING. When setting this value parameter, the value being set must be multiplied by 65536 and set as a 32-bit integer. When reading the value, the received value must be divided by 65536 and shown as a floating point quantity.",
"flag": 3,
"id": "TSI_AUDIO_GLITCH_DETECT_TRESHOLD",
"maxValue": 100,
"minValue": 0,
"name": "The percentage deviation from the ideal sine",
"type": 4
},
{
"configId": "0x2024",
"defaultValue": "0",
"description": "Defines how many glitches are allowed before the audio test is considered failed. Default setting is 0. Important: Due to implementation specific characteristics, a single (but very audible) glitch is probably detected multiple times. The number of times a glitch is detected depends greatly on the severity of the glitch, and it's location respective to the sine waveform. Because of this, setting a non-zero but very low value may not make sense.",
"flag": 3,
"id": "TSI_AUDIO_GLITCHES_ALLOWED",
"maxValue": 2147483647,
"minValue": 0,
"name": "Number of audio glitches allowed per test",
"type": 4
},
{
"configId": "0x2025",
"defaultValue": "0",
"description": "Maximum number of frames failed frames saved per test run. Default setting is 0. If the setting is “0”, no frames are saved.",
"flag": 3,
"enumerationVariants": "0 # Save none\n1 # Save failed\n2 # Save all",
"id": "TSI_AUDIO_TEST_SAVE_CONDITIONS",
"maxValue": 2147483647,
"minValue": 0,
"name": "Tested audio save conditions",
"type": 4
},
{
"configId": "0x2026",
"defaultValue": "",
"description": "Contains the full path to the folder where failed frames are to be saved without trailing backslash (\\). No default. Failed frame file-name will be “Failed_<#>.ppm”, where <#> is replaced with an auto-incremented number.",
"flag": 3,
"id": "TSI_AUDIO_TEST_STORAGE_FOLDER",
"maxLength": 10000,
"name": "Location where the captured audio is to be saved",
"type": 11
}
],
"id": "0x02",
"name": "Audio Test",
"old_names": [
"Validate audio signal frequency and glitch-free audio reproduction"
]
}