OVRLipSyncContext interfaces into the Oculus phoneme recognizer. This component should be added into the scene once for each Audio Source.
More...
OVRLipSyncContext interfaces into the Oculus phoneme recognizer. This component should be added into the scene once for each Audio Source.
◆ PostprocessAudioSamples()
void OVRLipSyncContext.PostprocessAudioSamples |
( |
float [] |
data, |
|
|
int |
channels |
|
) |
| |
Postprocess F32 PCM audio buffer
- Parameters
-
data | Data. |
channels | Channels. |
◆ PreprocessAudioSamples()
void OVRLipSyncContext.PreprocessAudioSamples |
( |
float [] |
data, |
|
|
int |
channels |
|
) |
| |
Preprocess F32 PCM audio buffer
- Parameters
-
data | Data. |
channels | Channels. |
◆ ProcessAudioSamples()
void OVRLipSyncContext.ProcessAudioSamples |
( |
float [] |
data, |
|
|
int |
channels |
|
) |
| |
Process F32 audio sample and pass it to the lip sync module for computation
- Parameters
-
data | Data. |
channels | Channels. |
◆ ProcessAudioSamplesRaw() [1/2]
void OVRLipSyncContext.ProcessAudioSamplesRaw |
( |
float [] |
data, |
|
|
int |
channels |
|
) |
| |
Pass F32 PCM audio buffer to the lip sync module
- Parameters
-
data | Data. |
channels | Channels. |
◆ ProcessAudioSamplesRaw() [2/2]
void OVRLipSyncContext.ProcessAudioSamplesRaw |
( |
short [] |
data, |
|
|
int |
channels |
|
) |
| |
Pass S16 PCM audio buffer to the lip sync module
- Parameters
-
data | Data. |
channels | Channels. |
◆ audioLoopback
bool OVRLipSyncContext.audioLoopback = false |
◆ debugLaughterKey
KeyCode OVRLipSyncContext.debugLaughterKey = KeyCode.H |
◆ debugVisemesKey
KeyCode OVRLipSyncContext.debugVisemesKey = KeyCode.D |
◆ enableKeyboardInput
bool OVRLipSyncContext.enableKeyboardInput = false |
◆ enableTouchInput
bool OVRLipSyncContext.enableTouchInput = false |
◆ gain
float OVRLipSyncContext.gain = 1.0f |
◆ laughterScore
float OVRLipSyncContext.laughterScore = 0.0f |
◆ loopbackKey
KeyCode OVRLipSyncContext.loopbackKey = KeyCode.L |
◆ showLaughter
bool OVRLipSyncContext.showLaughter = false |
◆ showVisemes
bool OVRLipSyncContext.showVisemes = false |
◆ skipAudioSource
bool OVRLipSyncContext.skipAudioSource = false |
The documentation for this class was generated from the following file: