Giter VIP home page Giter VIP logo

Comments (5)

femshima avatar femshima commented on August 10, 2024

あってもよさそうですが,きりの良いところまでは言い切ってほしいです.

from om.

femshima avatar femshima commented on August 10, 2024

「話し中」フラグ

  • 人ごとの「話し中」フラグと,全体の「話し中」フラグがある.全体の「話し中」フラグは,人ごとの「話し中」フラグのorである.
  • ある人が喋り始めて200ms経過するとその人の「話し中」フラグが立つ
  • ある人が喋らなくなって500ms経過するとその人の「話し中」フラグを解除する

ボットが喋る条件

  • 全体の「話し中」フラグがtrueなら,話し始めない.
    • 合成は行う.この際,音声データは読点(というかBreathGroup)で区切っておく(jbonsaiなら可能だがAPIは要検討).
  • 全体の「話し中」フラグがfalseかつ,再生キューに音声があれば次のBreathGroupまで読む.
    • 読んでいる間に「話し中」フラグがtrueになっても無視する.

from om.

cm-ayf avatar cm-ayf commented on August 10, 2024

「次のBreathGroupまで」とかいうのは難しそうだな player.on('BreathGroup')

from om.

femshima avatar femshima commented on August 10, 2024

フルコンテキストラベルと音声との対応はjbonsaiにしかないので,jbonsaiに何かしら実装するしかないと思います.

jbonsaiの側でBreathGroupで分割してしまい,結合することなく音声をjs側に流せば,BreathGroupで分割されたPCM音声の配列(Vec<Vec<i16>>?)が手に入りますから,既存の枠組みでうまいことできるのではないかということです.
ただ,jbonsaiのAPIとして正しいのかという問題はあります.

from om.

femshima avatar femshima commented on August 10, 2024

SStreamとPStream/GStreamを分割し,voicevoxに似たAPIにするのは一つの方策としてあるかもしれません.
(voicevox_engine互換になったらそれはそれで面白いかも?)

from om.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.