Update README.md
Browse files
README.md
CHANGED
@@ -61,6 +61,11 @@ The dataset contains an audiobook chapter level manifest with these fields:
|
|
61 |
- **utterances.offset**: Offset of utterance within the chapter
|
62 |
- **utterances.duration**: Duration of utterance
|
63 |
|
|
|
|
|
|
|
|
|
|
|
64 |
## Download Instructions
|
65 |
|
66 |
1. Download the *manifet.json* file and *chapter.json* files corresponding to your desired sampling rate from this Hugging Face repository. Copy these into a workspace directory (in this example */home/hifitts2*).
|
@@ -83,11 +88,6 @@ During download there might be warning messages from "libmpg123". These warnings
|
|
83 |
|
84 |
By default, the script will download audio files into the workspace directory under *{workspace_dir}/audio_22khz*. The download will ignore HTTP errors and store information for any failed downloads into *{workspace_dir}/errors_22khz.json*. A new manifest will be created at *{worksapce_dir}/manifest_filtered_22khz.json* with utterances from failed audiobooks removed. You can override the default behavior by modifying the [config.yaml file](https://github.com/NVIDIA/NeMo-speech-data-processor/blob/main/dataset_configs/english/hifitts2/config_22khz.yaml) in your local SDP repository.
|
85 |
|
86 |
-
We apply the bandwidth estimation approach from the [`estimate_bandwidth.py`](https://github.com/NVIDIA/NeMo-speech-data-processor/blob/main/sdp/processors/nemo/estimate_bandwidth.py#L65) in [Speech Data Processor (SDP) Toolkit](https://github.com/NVIDIA/NeMo-speech-data-processor) to the first 30 seconds of each audiobook. The bandwidth fmax is estimated by using the mean of the power spectrum to find the highest frequency that has at least -50 dB level
|
87 |
-
relative to the peak value of the spectrum, namely,
|
88 |
-
$$f_{\text{max}} = \max\left\{f \in [0, f_{\text{Nyquist}}] \, \bigg|\, 10 \log_{10} \left(\frac{P(f)}{P_{\text{peak}}}\right) \geq -50\, \text{dB}\right\}$$
|
89 |
-
where `P(f)` is the power spectral density and `P_peak` the maximum spectral power.
|
90 |
-
|
91 |
If you want to retry the download for failed audiobooks, rerun the script with the output *errors_22khz.json* file.
|
92 |
|
93 |
```bash
|
|
|
61 |
- **utterances.offset**: Offset of utterance within the chapter
|
62 |
- **utterances.duration**: Duration of utterance
|
63 |
|
64 |
+
Bandwidth is estimated from the first 30 seconds of each audiobook using the approach from [`estimate_bandwidth.py`](https://github.com/NVIDIA/NeMo-speech-data-processor/blob/main/sdp/processors/nemo/estimate_bandwidth.py#L65) in [Speech Data Processor (SDP) Toolkit](https://github.com/NVIDIA/NeMo-speech-data-processor). The bandwidth fmax is estimated by using the mean of the power spectrum to find the highest frequency that has at least -50 dB level
|
65 |
+
relative to the peak value of the spectrum, namely,
|
66 |
+
$$f_{\text{max}} = \max\left\{f \in [0, f_{\text{Nyquist}}] \, \bigg|\, 10 \log_{10} \left(\frac{P(f)}{P_{\text{peak}}}\right) \geq -50\, \text{dB}\right\}$$
|
67 |
+
where `P(f)` is the power spectral density and `P_peak` the maximum spectral power.
|
68 |
+
|
69 |
## Download Instructions
|
70 |
|
71 |
1. Download the *manifet.json* file and *chapter.json* files corresponding to your desired sampling rate from this Hugging Face repository. Copy these into a workspace directory (in this example */home/hifitts2*).
|
|
|
88 |
|
89 |
By default, the script will download audio files into the workspace directory under *{workspace_dir}/audio_22khz*. The download will ignore HTTP errors and store information for any failed downloads into *{workspace_dir}/errors_22khz.json*. A new manifest will be created at *{worksapce_dir}/manifest_filtered_22khz.json* with utterances from failed audiobooks removed. You can override the default behavior by modifying the [config.yaml file](https://github.com/NVIDIA/NeMo-speech-data-processor/blob/main/dataset_configs/english/hifitts2/config_22khz.yaml) in your local SDP repository.
|
90 |
|
|
|
|
|
|
|
|
|
|
|
91 |
If you want to retry the download for failed audiobooks, rerun the script with the output *errors_22khz.json* file.
|
92 |
|
93 |
```bash
|