# LipSync_ChatBot **Repository Path**: dejunwang/LipSync_ChatBot ## Basic Information - **Project Name**: LipSync_ChatBot - **Description**: LipSync ChatBot 这个聊天机器人基本上是一个python语音识别聊天机器人,具有可视化的字符支持功能,可以进行口型同步。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: 0.1 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-05-12 - **Last Updated**: 2023-05-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LipSync ChatBot This chatbot is basically a python speech recognition chatbot supported with visualized character able to lip-sync. # Usage and How It Works - Open the Unity project. - Run the Python project. - When you run the Python project, Unity will detect it over localhost. Python uses TTS to create the sound and uses AudioSegment library to convert the mp3 file to wav file. (Unity cannot load MP3 files with WWW api to load from filesystem.) - Python sends the command to Unity to let Unity read sound file from filesystem and make the model lip sync the sound. # Parameters - You can use "* volume" attribute to change the power of lip sync (distance between lips etc.). - You can use "limit = Mathf.clamp" line's end to change the max distance lips can get. > Later on this project can be used to create Google Assistant supported chat bots etc.