Skip to content

Commit

Permalink
typo in README
Browse files Browse the repository at this point in the history
Co-authored-by: phenylshima <[email protected]>
  • Loading branch information
cm-ayf and phenylshima authored May 22, 2024
1 parent fbb9515 commit c862396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const resource = createAudioResource(stream, { inputType: StreamType.Opus });

音声を合成する際に渡す引数は以下の通りです:
- `inputText`:合成するテキスト
- `option`:合成される音声を調整するオプション.詳しくは,`SnthesisOption`を参照してください.
- `option`:合成される音声を調整するオプション.詳しくは,`SynthesisOption`を参照してください.

返り値の`stream``Readable`で,`encoder`設定の通りにエンコードされた音声データが流れます.合成はメインスレッドとは別のスレッドで行われます.また,音声は合成された分から合成終了を待たずに取得できます.

Expand Down

0 comments on commit c862396

Please sign in to comment.