Skip to content

About

python voicepeak unofficial wrapper

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

VoicepeakWrapper

VOICEPEAKの非公式ラッパーです。
操作のたびにCUIからプロセスを起動必要があるため実行には時間がかかります。
とくにget_narrator_listは再帰的に操作を行う必要があるため遅いです。

install

pip install voicepeak-wrapper

sample

import asyncio
import voicepeak_wrapper


async def main():
    client = voicepeak_wrapper.Voicepeak()

    await client.say_text("本日は快晴なり", "./test.wav")  # 出力のサンプル

    narrators = await client.get_narrator_list()  # ナレーターのリスト取得。時間がかかります。


asyncio.run(main())

パスを受け取る引数(exe_path, output_path, text_path)にはstrだけでなくpathlib.Path(Path)も渡せます。

License

MITライセンス
詳しくはLICENSEを確認ください。

About

python voicepeak unofficial wrapper

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages