v を更新
27
v.md
27
v.md
@@ -108,4 +108,29 @@ fn blink(socket: &UdpSocket, target: &str, value: f32) {
|
||||
let buf = rosc::encoder::encode(&OscPacket::Message(apply)).unwrap();
|
||||
socket.send_to(&buf, target).unwrap();
|
||||
}
|
||||
```
|
||||
```
|
||||
|
||||
## AI + character + game
|
||||
|
||||
Talk to the characters.
|
||||
The characters act on their own initiative.
|
||||
|
||||
### character voice
|
||||
|
||||
`elevenlabs.io`: https://elevenlabs.io/docs/api-reference/authentication
|
||||
|
||||
```json
|
||||
{
|
||||
"elevenlabs": {
|
||||
"model": "eleven_turbo_v2.5",
|
||||
"voice_id": "lhTvHflPVOqgSWyuWQry"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### voice to text
|
||||
|
||||
`Cloud Speech-to-Text API`: https://docs.cloud.google.com/speech-to-text/docs/quickstarts/transcribe-api
|
||||
|
||||
### AI
|
||||
|
||||
|
||||
Reference in New Issue
Block a user