protonscr

protontts: Where does the library come from?

protonopen
ValveSoftware/Proton#9109 · opened 2025-10-17 by berolinux · updated 2025-10-17 · 1 comments · github
Bberolinux 2025-10-17 github

When trying to build the protontts library, proton checks for piper_c.h, which it expects to implement piperInitialize, piperTerminate, piperLoadVoice, piperFreeVoice, piperGetVoiceSynthesisConfig, piperSetVoiceSynthesisConfig and piperTextToAudio.

There doesn't seem to be any trace of this library on the Internet -- at least the search engines I tried don't find any reference to that library.

There is a piper TTS library, https://github.com/OHF-Voice/piper1-gpl/tree/main/libpiper - but it provides a very different API.

I also found an older version of the piper TTS library that looks similar (the functions expected in piper_c.h could be wrappers around the C++ functions defined here - https://github.com/rhasspy/piper/blob/2023.11.14-2/src/cpp/piper.hpp ), but the C wrapper doesn't exist there either.

Where does the expected library come from? If it's indeed a wrapper around the old version of piper.hpp, it may make sense to switch to the current libpiper API.

Kkisak-valve maintainer 2025-10-17 github

Nothing extracted yet.