pymimic is a python wrapper for mimic and provides an easy way to synthesize speech from text.
It is currently highly recommended that pymimic is installed in virtualenv due to the early state of the project.
pymimic requires an installation of mimic-core to work (with plugins if desired). The default search paths are
Search order can be changed by modifying pymimic.lib_paths
.
git clone git@github.com:MycroftAI/mimic-core.git
meson builddir mimic-core --prefix="$VIRTUAL_ENV" --libdir="lib"
ninja -C builddir test install
git clone https://github.com/forslund/pymimic
cd pymimic
./setup.py install
To use pymimic you will need to activate the virtual environment and set LD_LIBRARY_PATH
.
export LD_LIBRARY_PATH="${VIRTUAL_ENV}/lib" # LD_LIBRARY_PATH is not set by activate
source ${VIRTUAL_ENV}/bin/activate