こんな感じ。
pysimpleguiとpyaudioとpyworldでボイスチェンジャーができた pic.twitter.com/5V8A6I9ZX4
— mat (@ballforest) January 10, 2022
ソースコードは以下。スペクトルのプロット機能はおまけのようなもの。
Real-time voice conversion by using PyAudio and PySimpleGUI. · GitHub
今回はpeisuke氏のbabinikuリポジトリのvoice_converter.pyを活用した。threadingの使い方はとても勉強になった。 github.com