alibabasglab
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -38,9 +38,9 @@ from clearvoice import ClearVoice
|
|
38 |
|
39 |
myClearVoice = ClearVoice(task='speech_super_resolution', model_names=['MossFormer2_SR_48K'])
|
40 |
|
41 |
-
output_wav = myClearVoice(input_path='samples/
|
42 |
|
43 |
-
myClearVoice.write(output_wav, output_path='samples/
|
44 |
```
|
45 |
|
46 |
Sample example 2: use speech enhancement model `MossFormer2_SE_48K` to process all input wave files in `samples/path_to_input_wavs/` and save all output files to `samples/path_to_output_wavs`
|
@@ -50,7 +50,7 @@ from clearvoice import ClearVoice
|
|
50 |
|
51 |
myClearVoice = ClearVoice(task='speech_super_resolution', model_names=['MossFormer2_SR_48K'])
|
52 |
|
53 |
-
myClearVoice(input_path='samples/
|
54 |
```
|
55 |
|
56 |
Sample example 3: use speech enhancement model `MossFormer2_SE_48K` to process wave files listed in `samples/audio_samples.scp' file, and save all output files to 'samples/path_to_output_wavs_scp/'
|
@@ -60,7 +60,7 @@ from clearvoice import ClearVoice
|
|
60 |
|
61 |
myClearVoice = ClearVoice(task='speech_super_resolution', model_names=['MossFormer2_SR_48K'])
|
62 |
|
63 |
-
myClearVoice(input_path='samples/scp/
|
64 |
```
|
65 |
|
66 |
Model Limitations: The current speech super-resolution model is trained on a clean speech dataset and is designed to work with clean speech inputs. For speech super-resolution on noisy speech audio,
|
|
|
38 |
|
39 |
myClearVoice = ClearVoice(task='speech_super_resolution', model_names=['MossFormer2_SR_48K'])
|
40 |
|
41 |
+
output_wav = myClearVoice(input_path='samples/input_sr.wav', online_write=False)
|
42 |
|
43 |
+
myClearVoice.write(output_wav, output_path='samples/output_MossFormer2_SR_48K_input_sr.wav')
|
44 |
```
|
45 |
|
46 |
Sample example 2: use speech enhancement model `MossFormer2_SE_48K` to process all input wave files in `samples/path_to_input_wavs/` and save all output files to `samples/path_to_output_wavs`
|
|
|
50 |
|
51 |
myClearVoice = ClearVoice(task='speech_super_resolution', model_names=['MossFormer2_SR_48K'])
|
52 |
|
53 |
+
myClearVoice(input_path='samples/path_to_input_wavs_sr', online_write=True, output_path='samples/path_to_output_wavs')
|
54 |
```
|
55 |
|
56 |
Sample example 3: use speech enhancement model `MossFormer2_SE_48K` to process wave files listed in `samples/audio_samples.scp' file, and save all output files to 'samples/path_to_output_wavs_scp/'
|
|
|
60 |
|
61 |
myClearVoice = ClearVoice(task='speech_super_resolution', model_names=['MossFormer2_SR_48K'])
|
62 |
|
63 |
+
myClearVoice(input_path='samples/scp/audio_samples_sr.scp', online_write=True, output_path='samples/path_to_output_wavs_scp')
|
64 |
```
|
65 |
|
66 |
Model Limitations: The current speech super-resolution model is trained on a clean speech dataset and is designed to work with clean speech inputs. For speech super-resolution on noisy speech audio,
|