measure_audio_io_disparity
Measure the live gap between an audio input area and its output while streaming, revealing dropped frames, missing columns, phase mismatches, and magnitude errors.
Instructions
Measure the live gap between an audio input area and its audio output.
Call while the Sensory Generator is streaming and the Perception Inspector is decoding that output. Columns are matched by frequency, because the phase row changes every frame.
Args: src_area: Audio input cortical id (base64). dst_area: Audio output cortical id (base64). duration_s: How long to sample, from 0.2 to 8 seconds.
Returns:
dominant_gap plus frame drop, input-gap, missing-column,
phase-mismatch, and magnitude-error fractions. input_gap_fraction is
the share of bursts that carried no new input frame; each one is a hole
in the original audio even when the copy through FEAGI is exact.
dominant_gap is not_streaming when fewer than two input frames arrive.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"src_area": "<src_area>",
"dst_area": "<dst_area>"
},
"name": "measure_audio_io_disparity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dst_area | Yes | ||
| src_area | Yes | ||
| duration_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||