# Audio Segment Extraction


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

------------------------------------------------------------------------

### extract_audio_segment

``` python

def extract_audio_segment(
    input_path:Path, # Path to the input audio file
    output_path:Path, # Path where the extracted segment is saved
    start_time:str, # Start time as "HH:MM:SS" or seconds
    duration:str, # Duration as "HH:MM:SS" or seconds
    verbose:bool=False, # If True, shows verbose ffmpeg output
    pbar:bool=False, # If True, shows a progress bar
    copy_codec:bool=True, # Stream-copy without re-encoding (fast)
)->None: # Raises subprocess.CalledProcessError if extraction fails

```

*Extract a temporal segment from an audio file.*

``` python
assert callable(extract_audio_segment)
print("extract_audio_segment importable")
```
