Skip to content

Commit

Permalink
[docs] スピーカー→話者 (#827)
Browse files Browse the repository at this point in the history
* スピーカー→話者

* 話者スタイル→スタイル
  • Loading branch information
Hiroshiba authored Dec 26, 2023
1 parent 7845b04 commit 4801a96
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions voicevox_engine/metas/Metas.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class SpeakerStyle(BaseModel):
"""
スピーカーのスタイル情報
話者のスタイル情報
"""

name: str = Field(title="スタイル名")
Expand Down Expand Up @@ -35,28 +35,28 @@ class SpeakerSupportedFeatures(BaseModel):

class CoreSpeaker(BaseModel):
"""
コアに含まれるスピーカー情報
コアに含まれる話者情報
"""

name: str = Field(title="名前")
speaker_uuid: str = Field(title="スピーカーのUUID")
styles: List[SpeakerStyle] = Field(title="スピーカースタイルの一覧")
version: str = Field("スピーカーのバージョン")
speaker_uuid: str = Field(title="話者のUUID")
styles: List[SpeakerStyle] = Field(title="スタイルの一覧")
version: str = Field("話者のバージョン")


class EngineSpeaker(BaseModel):
"""
エンジンに含まれるスピーカー情報
エンジンに含まれる話者情報
"""

supported_features: SpeakerSupportedFeatures = Field(
title="スピーカーの対応機能", default_factory=SpeakerSupportedFeatures
title="話者の対応機能", default_factory=SpeakerSupportedFeatures
)


class Speaker(CoreSpeaker, EngineSpeaker):
"""
スピーカー情報
話者情報
"""

pass
Expand Down
2 changes: 1 addition & 1 deletion voicevox_engine/preset/Preset.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Preset(BaseModel):

id: int = Field(title="プリセットID")
name: str = Field(title="プリセット名")
speaker_uuid: str = Field(title="スピーカーのUUID")
speaker_uuid: str = Field(title="話者のUUID")
style_id: int = Field(title="スタイルID")
speedScale: float = Field(title="全体の話速")
pitchScale: float = Field(title="全体の音高")
Expand Down

0 comments on commit 4801a96

Please sign in to comment.