audio_duration
Get audio file duration in seconds to synchronize animation scenes with narration or background music. Supports MP3, WAV, OGG, and MID formats.
Instructions
Get the duration of any audio file in seconds.
Accepts audio files (.mp3, .wav, .ogg, .mid) created by the server. Uses ffprobe internally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the audio file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||