-
Notifications
You must be signed in to change notification settings - Fork 312
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
複数エンジン対応: すべてのエンジンからキャラクター情報を取得する (#883)
* add runEngineAll * fix log * fix log * add killEngineAll * fix log * fix log * add restartEngineAll * call killEngineAll * fix log unit * npm run fmt * add START_WAITING_ENGINE_ALL, RESTART_ENGINE_ALL * npm run fmt * DETECTED_ENGINE_ERROR engineKey * npm run fmt * fix check all ready logic * fix engineState * fix test * type with undefined * fix allEngineState logic * fix test * add comment * multiple engine: SET_CHARACTER_INFOS, USER_ORDERED_CHARACTER_INFOS * multiple engine: LOAD_CHARACTER_ALL * fix buildFileName logic * fix default style id * fix characterInfos from vue * pass engineInfos to vue * fix log * fix changeStyleId * fix synthesis to use engineKey/Id * fix character portrait to use engineId * fix audiocell icon to use engineId * fix character voice testplay * wip fix voicesample * fix test * use <0.12 for project migration * use semver for migration * assume to be killed * add memo comment * fix comment * call onAllKilled after final process kill errored * fix log * fix log * fix infinite loop when using external engine * add logs * call IS_ENGINE_READY from IS_ALL_ENGINE_READY * fix comment * call IS_ENGINE_READY with 0th engineKey * fixme to todo * fix comment * assert engineKey, engineId, styleId is not undefined * fix comment * remove unused import * fix CharacterOrderDialog * CharacterOrderDialog: change icon based on selected style * remove .value in template * DefaultStyleSelectDialog: multiple engine (allow duplicated styleId) * LibraryPolicy: multiple engine * fix log * CharacterOrderDialog: allow duplication of styleId when speakerUuid is different * fix comment * split icon change pr * fix comment * state.engineInfos to Record<string, EngineInfo> from EngineInfo[] * fix dictionary actions to use state.engineKeys instead of engineInfos * npm run fmt * initialize engineStates with STARTING * npm run fmt * GENERATE_AUDIO_ITEM: add engineKey undefined check * use strict equality for engineKey undefined check * add comment to describe loop behavior * add STARTING assert test * remove unneeded undefined check * DictionaryManageDialog: temporarily use first engineKey * flatMap engineInfos -> engineKeys * loop engineInfos -> engineKeys * add characterInfos assert.isObject * fix DictionaryManageDialog working for first engine * SETUP_ENGINE_SPEAKER: add engineKey (fix character init) * fix assertion compare * fix assert message * project migration version 0.12 -> 0.13 * add comment * LOAD_USER_DICT: add engineKey * getFlattenCharacterInfos func * GENERATE_AUDIO_ITEM: (engineId, styleId) assertion * fix message * add comment * 動くように * engineKey -> engineId * engineKey to engineId * key -> id * id -> uuid * default engine id * Update src/store/audio.ts * getFlattenCharacterInfos関数をGETTERSに * engineidなどの設計方針を記載 * USER_ORDERED_CHARACTER_INFOSのとこ修正 * if ((payload.engineId === undefined) != (payload.styleId === undefined)) * home.vueのとこをflattenCharacterInfosに * style.styleName || "ノーマル" * speakerUuid・styleIdが一致するCharacterInfoを持つエンジンを探す * ID->Id * 追加修正 * 下のengineIdで上書き定義しないように * FIXMEコメント追加、0.14に変更 * AudioItemにSpeakerIdを追加したい旨を追記 * ですます調に * StyleId は現在整数値型になっていますが、将来的にはUuidにしたいと考えています。 * . Co-authored-by: aoirint <[email protected]>
- Loading branch information
Showing
13 changed files
with
429 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.