
Children |
| sound optional | :: Sound | Cannot be empty. |
Cannot be empty. | ||
| probability optional | :: double | Modifies how often the sound is played. [...] |
Modifies how often the sound is played. [...] | ||
| fade_in_ticks optional | :: uint32 | Can't be used when |
Can't be used when | ||
| fade_out_ticks optional | :: uint32 | Can't be used when |
Can't be used when | ||
| activity_to_volume_modifiers optional | :: ActivityMatchingModifiers | |
| activity_to_speed_modifiers optional | :: ActivityMatchingModifiers | |
| match_progress_to_activity optional | :: boolean | Unused when WorkingSound::persistent is |
Unused when WorkingSound::persistent is | ||
| match_volume_to_activity optional | :: boolean | |
| match_speed_to_activity optional | :: boolean | |
| play_for_working_visualisations optional | :: array[string] | Array of WorkingVisualisation::names, individual names cannot be empty. [...] |
Array of WorkingVisualisation::names, individual names cannot be empty. [...] | ||
| volume_smoothing_window_size optional | :: uint32 | Only used if WorkingSound::persistent is |
Only used if WorkingSound::persistent is | ||
| activity_to_speed_modifiers optional | :: ActivityMatchingModifiers | |
| activity_to_volume_modifiers optional | :: ActivityMatchingModifiers | |
| fade_in_ticks optional | :: uint32 | Can't be used when |
Can't be used when | ||
| fade_out_ticks optional | :: uint32 | Can't be used when |
Can't be used when | ||
| match_progress_to_activity optional | :: boolean | Unused when WorkingSound::persistent is |
Unused when WorkingSound::persistent is | ||
| match_speed_to_activity optional | :: boolean | |
| match_volume_to_activity optional | :: boolean | |
| play_for_working_visualisations optional | :: array[string] | Array of WorkingVisualisation::names, individual names cannot be empty. [...] |
Array of WorkingVisualisation::names, individual names cannot be empty. [...] | ||
| probability optional | :: double | Modifies how often the sound is played. [...] |
Modifies how often the sound is played. [...] | ||
| sound optional | :: Sound | Cannot be empty. |
Cannot be empty. | ||
| volume_smoothing_window_size optional | :: uint32 | Only used if WorkingSound::persistent is |
Only used if WorkingSound::persistent is | ||

Cannot be empty.

Default: 1
Modifies how often the sound is played.
Silently clamped to the [0.0, 1.0] range.
Unused when WorkingSound::persistent is true.
probability = 1 / (3 * 60) -- average pause between the sound is 3 seconds

Default: 0
Can't be used when match_progress_to_activity is true.

Default: 0
Can't be used when match_progress_to_activity is true.



Default: false
Unused when WorkingSound::persistent is true.

Array of WorkingVisualisation::names, individual names cannot be empty.
The sound is played when at least one of the specified working visualisations is drawn.
Unused when WorkingSound::persistent is true.

Default: 0
Only used if WorkingSound::persistent is true.

Prototypes
Types
Defines