unreal.SpeechAnimationAudioFrame

class unreal.SpeechAnimationAudioFrame(audio_samples: None = [], samples_count: int = 0, sample_rate: int = 0, num_channels: int = 0, contiguous: bool = False, mood: AudioDrivenAnimationMood = Ellipsis, mood_intensity: float = 0.0, lookahead: int = 0, arrival_time: float = 0.0, frame_id: Guid = [])

Bases: StructBase

The Speech Animation solver’s input frame data.

C++ Source:

  • Plugin: StreamingADA

  • Module: SpeechAnimationSolver

  • File: SpeechAnimationSolverTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • arrival_time (double): [Read-Write] The timecode associated to this audio sample

  • audio_samples (Array[float]): [Read-Write] The audio sample to solve

  • contiguous (bool): [Read-Write] Whether this audio sample is contiguous with the last audio

  • frame_id (Guid): [Read-Only] The id for this audio frame

  • lookahead (int32): [Read-Write] The lookahead for this audio

  • mood (AudioDrivenAnimationMood): [Read-Write] The mood for this audio

  • mood_intensity (float): [Read-Write] The mood intensity for this audio

  • num_channels (int32): [Read-Write] The number of channels for this frame of audio

  • sample_rate (int32): [Read-Write] The sample rate of this frame of audio

  • samples_count (int32): [Read-Write] The number of audio samples for this frame of audio

property arrival_time: float

[Read-Write] The timecode associated to this audio sample

Type:

(double)

property audio_samples: None

[Read-Write] The audio sample to solve

Type:

(Array[float])

property contiguous: bool

[Read-Write] Whether this audio sample is contiguous with the last audio

Type:

(bool)

property frame_id: Guid

[Read-Only] The id for this audio frame

Type:

(Guid)

property lookahead: int

[Read-Write] The lookahead for this audio

Type:

(int32)

property mood: AudioDrivenAnimationMood

[Read-Write] The mood for this audio

Type:

(AudioDrivenAnimationMood)

property mood_intensity: float

[Read-Write] The mood intensity for this audio

Type:

(float)

property num_channels: int

[Read-Write] The number of channels for this frame of audio

Type:

(int32)

property sample_rate: int

[Read-Write] The sample rate of this frame of audio

Type:

(int32)

property samples_count: int

[Read-Write] The number of audio samples for this frame of audio

Type:

(int32)