Skip to content

Commit

Permalink
FIX: AudioQueryの互換性の問題を修正 (#1425)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabonerune authored Jun 24, 2024
1 parent 3c30f30 commit 6208379
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion voicevox_engine/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class AudioQuery(BaseModel):
pauseLength: float | SkipJsonSchema[None] = Field(
default=None, title="句読点などの無音時間"
)
pauseLengthScale: float = Field(title="句読点などの無音時間(倍率)")
pauseLengthScale: float = Field(default=1, title="句読点などの無音時間(倍率)")
outputSamplingRate: int = Field(title="音声データの出力サンプリングレート")
outputStereo: bool = Field(title="音声データをステレオ出力するか否か")
kana: str | SkipJsonSchema[None] = Field(
Expand Down
2 changes: 1 addition & 1 deletion voicevox_engine/preset/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ class Preset(BaseModel):
pauseLength: float | SkipJsonSchema[None] = Field(
default=None, title="句読点などの無音時間"
)
pauseLengthScale: float = Field(title="句読点などの無音時間(倍率)")
pauseLengthScale: float = Field(default=1, title="句読点などの無音時間(倍率)")

0 comments on commit 6208379

Please sign in to comment.