Get audio clip
get_audio_clipExtract a short audio clip from a language submission and save it to a file, enabling embedding in self-contained HTML lessons.
Instructions
Cut a native-audio snippet [start, end] (seconds, max 60s) from a submission and SAVE IT to a local file, returning the file path. Use these small clips to embed audio in a self-contained HTML lesson (e.g. as a data URI). Rate limited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Clip end in seconds (start < end). | |
| start | Yes | Clip start in seconds. | |
| submission_id | Yes | The submission id. |