Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] スピーカー→話者 #827

Merged
merged 2 commits into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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