Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 598 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 598 Bytes

fizzbuzz-with-voicevox

Fizz Buzzの出力結果(20まで)をVOICEVOX ENGINEを用いて音声出力するサンプル

実行方法

Dockerを用いて予めVOICEVOX ENGINEを起動させておきます。

docker pull voicevox/voicevox_engine:cpu-ubuntu20.04-latest
docker run --rm -it -p '127.0.0.1:50021:50021' voicevox/voicevox_engine:cpu-ubuntu20.04-latest

その後、以下のコマンドを叩きます。

go run main.go

すると、カレントに audio.wav という音声ファイルが生成されます。