brailcom/speechd

cxxpiper improvement

開放

#1,092 建立於 2026年5月3日

 (3 則留言) (0 個反應) (0 位負責人)C (86 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (325 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南