-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support reading from reco2dur
in lhotse.kaldi.load_kaldi_data_dir
#788
Comments
We initially supported
|
Make sense. So for option 1 we still have to recalculate the precise duration. I would try the option 2. I guess it's fairly safe to set tolerance threshold to 0.01 s as this is usually what the frame_shift is. |
If you can contribute the relevant option for |
For now in
lhotse.kaldi.load_kaldi_data_dir
, it reads the original audio file, and get the duration info. but this is not friendly to long recodings withsox
orffmpeg
conversion, whenreco2dur
already exists in the kaldi data directory.Will you support loading
reco2dur
and get duration information from this file?The text was updated successfully, but these errors were encountered: