struct
booleantrueuint8trueIndex of a layer's variant.
Cannot be zero.
RandomRangetrueNumber of samples in a sequence.
The minimum cannot be zero.
Mandatory for layers with "semi-randomized" VariableAmbientSoundCompositionMode.
Applicable for layers with "randomized" VariableAmbientSoundCompositionMode.
Cannot be defined for layers with "shuffled" VariableAmbientSoundCompositionMode.
RandomRange | ProbabilityTabletrueThe number of times a layer repeats itself until it's considered finished. If it's not defined, the layer never finishes on its own. What counts as repetition depends on the VariableAmbientSoundCompositionMode.
Each sample played is counted as a repetition of "randomized" layer.
Repetition of "semi-randomized" layer is counted when its sequence is finished.
Repetition of "shuffled" layer is counted when all samples play once.
Each sample played is counted as a repetition of "layer-controlled" layer.
If number_of_repetitions of VariableAmbientSoundLayer::control_layer of "layer-controlled" layer is smaller than number_of_repetitions of the controlled layer, number_of_repetitions of the control layer is used for the purposes of pause_between_repetitions and end_pause.
Cannot be zero.
RandomRangetruePause before a layer starts playing.
RandomRangetruePause between individual samples within a sequence.
Cannot be defined for "randomized" layers without defining sequence_length as well. Alternatively, use pause_between_repetitions instead.
Cannot be defined for layers with sublayer_offset defined.
RandomRangetruePause between each repetition of a layer. The repetition is not counted until the pause finishes.
RandomRangetruePause before a layer finishes playing. The last repetition and consequently the layer being finished is not counted until the pause finishes.
floattrueA sample replaced by silence still counts as played for the purposes of sequence count, repetition count, pauses, etc.
Must be in the [0.0, 1.0] interval.