brailcom/speechd

cxxpiper improvement

Aberta

#1.092 aberto em 3 de mai. de 2026

 (3 comentários) (0 reação) (0 responsável)C (86 forks)auto 404
enhancementhelp wanted

Métricas do repositório

Stars
 (325 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

https://github.com/brailcom/speechd/pull/996 introduced a cxxpiper module, but it needs improvement, as mentioned in the comments, but which have been unanswered, so copy/pasting them here so they are not lost:

  • it will be nice long-term to be able to load several models. Even better, list all of them but load them only on-demand, so people don't have to modify any file but just install a model package and see the language pop-up in orca
  • It's quite sad that piper doesn't provide parsePhonemizeConfig, parseSynthesisConfig, parseModelConfig, initialize, loadModel, loadVoice, synthesize, textToAudio, as library functions. It'd be good to tell upstream to do so, rather than copying their code
  • we'd want to see piper support pipelining, to start sending audio to the server before the whole audio is produced. That would be really important to get good reactivity
  • It would be useful to make CUDA support work

Guia do colaborador