AudioPacket
Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from InworldPacket
This packet is used for audio chunks and phoneme information for lipsync.
Variables | Description |
---|---|
dataChunk | The DataChunk of the audio. |
Properties | Description |
---|---|
Clip | Generates an AudioClip based on its DataChunk. |
ToJson | Generates the string of json to send to the Inworld server. |
Related Classes
DataChunk
Module: Inworld.AI. Namespace: Inworld.Packet.
Variables | Description |
---|---|
chunk | The base64 string of the audio wave data. |
type | In Unity SDK, it's always AUDIO . |
additionalPhonemeInfo | A list of the PhonemeInfo in the datachunk |
PhonemeInfo
Module: Inworld.AI. Namespace: Inworld.Packet.
Variables | Description |
---|---|
phoneme | The actual phoneme |
startOffset | The start offset in the audio clip. |