Component:AudioPerformanceSettings: Difference between revisions

From Resonite Wiki
m ree
update
Line 7: Line 7:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|MaxVoices|Int|
|MaxVoices|Int| The maximum voices the user is allowed to hear.
|OutputBufferSize|'''[[#AudioFrameSize|AudioPerformanceSettings.AudioFrameSize]]'''|TypeAdv1=true| The output buffer size in float frames.
|OutputBufferSize|'''[[#AudioFrameSize|AudioPerformanceSettings.AudioFrameSize]]'''|TypeAdv1=true| The output buffer size in float frames.
|SimulationFrameSize|'''[[#AudioFrameSize|AudioPerformanceSettings.AudioFrameSize]]'''|TypeAdv2=true| The simulation buffer size in float frames.
|SimulationFrameSize|'''[[#AudioFrameSize|AudioPerformanceSettings.AudioFrameSize]]'''|TypeAdv2=true| The simulation buffer size in float frames.

Revision as of 23:49, 9 May 2025

Component image 
File:AudioPerformanceSettingsComponent.png
Audio Performance Settings component as seen in the Scene Inspector

The Audio Performance Settings component is part of the Settings that control audio buffers.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
MaxVoices Int The maximum voices the user is allowed to hear.
OutputBufferSize AudioPerformanceSettings.AudioFrameSize The output buffer size in float frames.
SimulationFrameSize AudioPerformanceSettings.AudioFrameSize The simulation buffer size in float frames.

AudioFrameSize

Values
Name Value Description
VeryLow256 256 256 frames.
Low512 512 512 frames.
Medium1024 1024 1024 frames.
Large2048 2048 2048 frames.
VeryLarge4096 4096 4096 frames.
ExtremelyLarge8192 8192 8192 frames.
TestingOneSecond 48000 Sets buffer to one second delay long.

Usage

See Settings.

Examples

See Settings.

See Also