Prepare LibriTTS dataset for benchmarking
mainTo benchmark using the LibriTTS dataset, follow these steps using lhotse to download, prepare, and cut the audio files into segments:
- Download:
lhotse download libritts -p dev-clean benchmark/data/LibriTTS - Prepare:
lhotse prepare libritts -p dev-clean benchmark/data/LibriTTS/LibriTTS benchmark/data/manifests/libritts - Cut: Use
lhotse cut simpleto create the manifest files required for the benchmark command.
DIR=benchmark/data
lhotse download libritts -p dev-clean benchmark/data/LibriTTS
lhotse prepare libritts -p dev-clean benchmark/data/LibriTTS/LibriTTS benchmark/data/manifests/libritts
lhotse cut simple --force-eager -r benchmark/data/manifests/libritts/libritts_recordings_dev-clean.jsonl.gz \
-s benchmark/data/manifests/libritts/libritts_supervisions_dev-clean.jsonl.gz \
benchmark/data/manifests/libritts/libritts_cuts_dev-clean.jsonl