No project description provided
Project description
AIwaifuVTSController
VTS Plugin for AIwaifu using python to
- Voice Buffer as input for VTS Lip Sync
- Expression/Animation Control API
Usage
import asyncio
from waifu_vts_controller import VTSController
async def main():
phoneme_paths = {
"a": "./local/mels/0_a.mp3",
"i": "./local/mels/1_i.mp3",
"u": "./local/mels/2_u.mp3",
"e": "./local/mels/3_e.mp3",
"o": "./local/mels/4_o.mp3",
"n": "./local/mels/5_n.mp3"
}
plugin_info = {
"plugin_name": "AIWaifuController",
"developer": "HRNPH",
"authentication_token_path": "./token.txt",
}
audio_file_path = "./local/samples/0_rachel.mp3"
# Create the VTSController instance
controller = VTSController(plugin_info=plugin_info)
await controller.connect()
await controller.audio_controller.play_audio_with_mouth_movement(audio_file_path, phoneme_paths)
if __name__ == "__main__":
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for aiwaifu_vts_controller-1.0.0.tar.gz
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 908db35db90de219e08d73749476152e76d2d413b41b8d9235e99b88361fc0c6 |
|
| MD5 | c012890748360d2f69b1e39bb9aa81be |
|
| BLAKE2b-256 | cc38a1cd769fdc171499c2c6a93124301fa83a13c1754e698f90e641562ab04f |
Close
Hashes for aiwaifu_vts_controller-1.0.0-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 37c61dacc1aff0734e1a32f36d871cb22be9c52de2455aeb2feb33fa0f666277 |
|
| MD5 | 8de5dd33522417de1993525d06a43abc |
|
| BLAKE2b-256 | 1164b044883bea1e955459dfe6fbbd934606df322f5eb7b4c678c497e5c24d6a |