You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will automatically `git clone` Morise's World Vocoder (C++ version).<br/>
59
63
(It seems to me that using `virtualenv` or `conda` is the best practice.)<br/>
60
64
<br/>
65
+
66
+
### Installation Validation
61
67
You can validate installation by running
62
68
```bash
63
69
cd demo
@@ -66,37 +72,25 @@ python demo.py
66
72
to see if you get results in `test/` direcotry.
67
73
(Please avoid writing and executing codes in the `Python-Wrapper-for-World-Vocoder` folder for now.)<br/>
68
74
69
-
### Other Installation Suggestions
70
-
1. Use `pip install .` is safer and you can easily uninstall pyworld by `pip uninstall pyworld`
71
-
- For Mac users: You might need to do `MACOSX_DEPLOYMENT_TARGET=10.9 pip install .` See [issue](https://github.com/SeanNaren/warp-ctc/issues/129#issuecomment-502349652).
72
-
2. Another way to install pyworld is via<br/>
73
-
`python setup.py install`<br/>
74
-
- Add `--user` if you don't have root access<br/>
75
-
- Add `--record install.txt` to track the installation dir<br/>
76
-
3. If you just want to try out some experiments, execute<br/>
77
-
`python setup.py build_ext --inplace`<br/>
78
-
Then you can use PyWorld from this directory.<br/>
79
-
You can also copy the resulting **pyworld.so** (pyworld.{arch}.pyd on Windows) file to
80
-
`~/.local/lib/python2.7/site-packages` (or corresponding Windows directory)
81
-
so that you can use it everywhere like an installed package.<br/>
82
-
Alternatively you can copy/symlink the compiled files using pip, e.g. `pip install -e .`
83
-
84
75
### Environment/Dependencies
85
76
- Operating systems
86
-
- Linux Ubuntu 16.04/14.04
77
+
- Linux Ubuntu 14.04+
87
78
- Windows (thanks to [wuaalb](https://github.com/wuaalb))
79
+
- WSL
88
80
- Python
89
81
- 2.7 (Windows is currently not supported)
90
82
- 3.7/3.6/3.5
91
-
- Required packages
92
-
- Cython 0.24 (or later versions; required)
93
-
- Numpy
94
-
- Optional (for demo.py only)
95
-
- argparse
96
-
- pysoundfile
97
-
- Matplotlib
98
83
99
-
You can simply install these by `pip install -r requirements.txt`
84
+
You can install dependencies these by `pip install -r requirements.txt`
85
+
86
+
87
+
88
+
## Notice
89
+
- WORLD vocoder is designed for speech sampled ≥ 16 kHz.
90
+
Applying WORLD to 8 kHz speech will fail.
91
+
See a possible workaround [here](https://github.com/JeremyCCHsu/Python-Wrapper-for-World-Vocoder/issues/54).
92
+
- When the SNR is low, extracting pitch using `harvest` instead of `dio`
93
+
is a better option.
100
94
101
95
102
96
## Troubleshooting
@@ -124,9 +118,27 @@ You can simply install these by `pip install -r requirements.txt`
124
118
- scipy.io.wavfile.read (but this gives you `short`)
125
119
- scipy.io.wavfile.write
126
120
127
-
## TODO List
121
+
4. If you have installation issue on Windows, I probably could not provide
122
+
much help because my development environment is Ubuntu
123
+
and Windows Subsystem for Linux ([read this if you are interested in installing it](https://github.com/JeremyCCHsu/wsl)).
124
+
125
+
126
+
### Other Installation Suggestions
127
+
1. Use `pip install .` is safer and you can easily uninstall pyworld by `pip uninstall pyworld`
128
+
- For Mac users: You might need to do `MACOSX_DEPLOYMENT_TARGET=10.9 pip install .` See [issue](https://github.com/SeanNaren/warp-ctc/issues/129#issuecomment-502349652).
129
+
2. Another way to install pyworld is via<br/>
130
+
`python setup.py install`<br/>
131
+
- Add `--user` if you don't have root access<br/>
132
+
- Add `--record install.txt` to track the installation dir<br/>
133
+
3. If you just want to try out some experiments, execute<br/>
134
+
`python setup.py build_ext --inplace`<br/>
135
+
Then you can use PyWorld from this directory.<br/>
136
+
You can also copy the resulting **pyworld.so** (pyworld.{arch}.pyd on Windows) file to
137
+
`~/.local/lib/python2.7/site-packages` (or corresponding Windows directory)
138
+
so that you can use it everywhere like an installed package.<br/>
139
+
Alternatively you can copy/symlink the compiled files using pip, e.g. `pip install -e .`
140
+
128
141
129
-
-[ ] Realtime synthesizer
130
142
131
143
## Acknowledgement
132
144
Thank all contributors ([tats-u](https://github.com/tats-u), [wuaalb](https://github.com/wuaalb), [r9y9](https://github.com/r9y9), [rikrd](https://github.com/rikrd), [kudan2510](https://github.com/kundan2510)) for making this repo better and [sotelo](https://github.com/sotelo) whose [world.py](https://github.com/sotelo/world.py) inspired this repo.<br/>
0 commit comments