lhotse-speech / lhotse

Tools for handling speech data in machine learning projects.
https://lhotse.readthedocs.io/en/latest/
Apache License 2.0
936 stars 214 forks source link

Cutconcat fixed max duration #1292

Closed swigls closed 7 months ago

swigls commented 7 months ago

Adding optional max_duration parameter to CutConcatenate. It can be utilized when the ASR model consumes fixed-length audio inputs (e.g., Whisper).

pzelasko commented 7 months ago

Cool contribution, thanks!