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())
Metadata
Release files for aiwaifu-vts-controller 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiwaifu_vts_controller-1.0.0.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiwaifu_vts_controller-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.1 kB
Release files / aiwaifu_vts_controller-1.0.0.tar.gz
| Download URL | aiwaifu_vts_controller-1.0.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
908db35db90de219e08d73749476152e76d2d413b41b8d9235e99b88361fc0c6
|
|
BLAKE2b-256 checksum How to use checksums |
cc38a1cd769fdc171499c2c6a93124301fa83a13c1754e698f90e641562ab04f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.6 Darwin/23.4.0
|
Release files / aiwaifu_vts_controller-1.0.0-py3-none-any.whl
| Download URL | aiwaifu_vts_controller-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37c61dacc1aff0734e1a32f36d871cb22be9c52de2455aeb2feb33fa0f666277
|
|
BLAKE2b-256 checksum How to use checksums |
1164b044883bea1e955459dfe6fbbd934606df322f5eb7b4c678c497e5c24d6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.6 Darwin/23.4.0
|