struct | SoundDefinition | Array<SoundDefinition>
SoundTypetrueuint8trueSounds with higher priority will replace a sound with lower priority if the maximum sounds limit is reached.
0 is the highest priority, 255 is the lowest priority.
AggregationSpecificationtruebooleantruedoubletrueModifies how far a sound can be heard. Cannot be less than zero.
GameControllerVibrationDatatrueAdvancedVolumeControltrueuint32trueSoundDefinition | Array<SoundDefinition>trueFileNametrueSupported sound file formats are .ogg (Vorbis and Opus) and .wav.
Only loaded, and mandatory if variations is not defined.
floattrueOnly loaded if variations is not defined.
This sets both min and max volumes.
Must be >= 0.
floattrueOnly loaded if variations and volume are not defined.
Must be >= 0.
floattrueOnly loaded if variations is not defined.
Only loaded if min_volume is defined.
Must be >= min_volume.
booleantrueOnly loaded if variations is not defined.
floattrueSpeed must be >= 1 / 64. This sets both min and max speeds.
Only loaded if variations is not defined.
floattrueMust be >= 1 / 64.
Only loaded if both variations and speed are not defined.
floattrueMust be >= min_speed.
Only loaded if variations is not defined. Only loaded, and mandatory if min_speed is defined.
SoundModifier | Array<SoundModifier>trueOnly loaded if variations is not defined.