record_audio
Capture audio played during a session between start and stop actions, then report duration, peak/RMS levels, clipped samples, silence gaps, and detected audio issues.
Instructions
Record what a session started with audio plays, from a call with action start to one with action stop, across the calls between that make the sound. stop's answer: the sound's length, peak and RMS level (dBFS), samples clipped, and each gap of exact silence between the first sound and the last, as a program that falls behind leaves; then what's wrong, if anything (gaps, clipping, silence). Sounds meant to be apart, two beeps say, need a gap longer than the silence between them. For a video of the screen with its sound, up to a minute, use record_video with sound.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | Silence, in milliseconds, said as a gap (1) | |
| action | Yes | start, then stop | |
| session | Yes | Its name, from start_session |