VariableAmbientSoundLayer :: struct
| name | :: string | Name has to be unique across all layers. |
Name has to be unique across all layers. | ||
| variants | :: array[Sound] | Cannot be empty. [...] |
Cannot be empty. [...] | ||
| composition_mode | :: VariableAmbientSoundCompositionMode | |
| control_layer optional | :: string | Name of a layer which controls this layer, a layer cannot control itself. [...] |
Name of a layer which controls this layer, a layer cannot control itself. [...] | ||
| control_layer_sample_mapping optional | :: array[array[uint8]] | Defines a mapping between controlling layer's samples and this (controlled) layer's samples. [...] |
Defines a mapping between controlling layer's samples and this (controlled) layer's samples. [...] | ||
| has_start_sample optional | :: boolean | If |
If | ||
| has_end_sample optional | :: boolean | If |
If | ||
| number_of_sublayers optional | :: uint8 | If greater than one, samples are composed in overlapping sub-layers, offset from each other. [...] |
If greater than one, samples are composed in overlapping sub-layers, offset from each other. [...] | ||
| sublayer_starting_offset optional | :: RandomRange or ProbabilityTable | Specifies starting offset of the second sub-layer. [...] |
Specifies starting offset of the second sub-layer. [...] | ||
| sublayer_offset optional | :: RandomRange or ProbabilityTable | Specifies offset between two sub-layers' samples. [...] |
Specifies offset between two sub-layers' samples. [...] | ||
| sample_length optional | :: RandomRange | Explicitly defines sample lengths. [...] |
Explicitly defines sample lengths. [...] | ||


