label_export_audio_segments
Exports each labeled segment as its own mono WAV file, named from label text. Skips point labels and existing files are never overwritten.
Instructions
Export the audio under each label as its own mono WAV file.
Splits a long recording into per-segment audio files, named "01_Segment_Title.wav" and so on from the label text. ALWAYS tell the user which directory the files will be written to BEFORE calling this. Point labels (zero length) have no audio to export and are skipped. Existing files are never overwritten - they are skipped and reported. This can take a while for many or long segments.
Only mono WAV output is available - v4's underlying export-wav command (unlike v3's Export2) has no format/channel-count parameters yet.
Args: directory: Absolute path to the output directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes |