Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Planning to attempt porting it to native C++ #117

Open
SeleDreams opened this issue Aug 18, 2021 · 4 comments
Open

Planning to attempt porting it to native C++ #117

SeleDreams opened this issue Aug 18, 2021 · 4 comments

Comments

@SeleDreams
Copy link

SeleDreams commented Aug 18, 2021

Hi, just wanted to let you know that i'm thinking about working on porting the code of this and sinsy to C++ on my own in order to make it easier to integrate to projects
If I end up getting it working i could send updates about it

because right now the dependencies with cython + numpy etc make it hard to port to other platforms than linux

@SeleDreams
Copy link
Author

SeleDreams commented Aug 19, 2021

image
I started working on it, however i'm kind of struggling to find a c++ equivalent of the interp1d function

edit:
after checking i noticed only slinear is used in the lib anyway so I might in the meantime use a linear interpolation instead of a variable one

@r9y9
Copy link
Owner

r9y9 commented Aug 21, 2021

Cython and NumPy should work on windows without significant effort IMO. That being said, I understand that there are some demands on C++ implementation for embedded applications.

@r9y9
Copy link
Owner

r9y9 commented Aug 21, 2021

In typical DNN-based parametric TTS systems, linear interpolation is used to interpolate F0s for unvoiced regions. There's some work using spline interpolation but I think linear interpolation is good enough in my experience.

@SeleDreams
Copy link
Author

Cython and NumPy should work on windows without significant effort IMO. That being said, I understand that there are some demands on C++ implementation for embedded applications.

My concern was more because of iOS for instance that has high restrictions on python and co, also the issue on windows is that scipy and all struggle to compile with mingw and require the proprietary visual studio compiler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants