Spleeter is based on tensorflow
. As
described in their documentation, we can easily run the inference of such a
model in C++.
We base our work on cmake
.
mkdir build && cd build
cmake ..
cmake --build .
This will:
- Download the
Spleeter
pre-trained models - Download the pre-built
tensorflow
C API library - Build the
spleeter++
library and its associated tests
The developer doc is available on readthedoc.
If you ever want to build it, we provide a dockerfile:
docker build -t sp-docs -f docs/Dockerfile .
docker run -it --rm -v$(pwd):/code sp-docs doxygen
docker run -it --rm -v$(pwd):/code sp-docs make html