@@ -28,15 +28,23 @@ played back often.
28
28
AudioStreamPlayer
29
29
-----------------
30
30
31
- .. image :: img/audio_stream_player.png
31
+ .. image :: img/audio_stream_player.webp
32
32
33
33
This is the standard, non-positional stream player. It can play to any bus.
34
34
In 5.1 sound setups, it can send audio to stereo mix or front speakers.
35
35
36
+ Playback Type is an experimental setting, and could change in future versions
37
+ of Godot. It exists so web exports use samples for audio instead of streams,
38
+ this prevents the audio from being garbled in single threaded web exports. By
39
+ default only the web platform will use samples, changing this is not recommended
40
+ unless you have an explicit reason to. You can change the default playback type
41
+ for the web and other platforms in the project settings under **Audio > General **
42
+ (advanced settings must be turned on to see the setting).
43
+
36
44
AudioStreamPlayer2D
37
45
-------------------
38
46
39
- .. image :: img/audio_stream_2d.png
47
+ .. image :: img/audio_stream_2d.webp
40
48
41
49
This is a variant of AudioStreamPlayer, but emits sound in a 2D positional
42
50
environment. When close to the left of the screen, the panning will go left.
@@ -49,20 +57,20 @@ When close to the right side, it will go right.
49
57
different reverb or sound qualities to handle action happening in a
50
58
particular parts of your game world.
51
59
52
- .. image :: img/audio_stream_2d_area.png
60
+ .. image :: img/audio_stream_2d_area.webp
53
61
54
62
AudioStreamPlayer3D
55
63
-------------------
56
64
57
- .. image :: img/audio_stream_3d.png
65
+ .. image :: img/audio_stream_3d.webp
58
66
59
67
This is a variant of AudioStreamPlayer, but emits sound in a 3D positional
60
68
environment. Depending on the location of the player relative to the screen,
61
69
it can position sound in stereo, 5.1 or 7.1 depending on the chosen audio setup.
62
70
63
- Similar to AudioStreamPlayer2D, an Area can divert the sound to an audio bus.
71
+ Similar to AudioStreamPlayer2D, an Area3D can divert the sound to an audio bus.
64
72
65
- .. image :: img/audio_stream_3d_area.png
73
+ .. image :: img/audio_stream_3d_area.webp
66
74
67
75
Unlike for 2D, the 3D version of AudioStreamPlayer has a few more advanced options:
68
76
@@ -71,20 +79,20 @@ Unlike for 2D, the 3D version of AudioStreamPlayer has a few more advanced optio
71
79
Reverb buses
72
80
~~~~~~~~~~~~
73
81
74
- Godot allows for 3D audio streams that enter a specific Area node to send dry
82
+ Godot allows for 3D audio streams that enter a specific Area3D node to send dry
75
83
and wet audio to separate buses. This is useful when you have several reverb
76
84
configurations for different types of rooms. This is done by enabling this type
77
- of reverb in the **Reverb Bus ** section of the Area 's properties:
85
+ of reverb in the **Reverb Bus ** section of the Area3D 's properties:
78
86
79
- .. image :: img/audio_stream_reverb_bus.png
87
+ .. image :: img/audio_stream_reverb_bus.webp
80
88
81
- At the same time, a special bus layout is created where each area receives the
82
- reverb info from each area . A Reverb effect needs to be created and configured
89
+ At the same time, a special bus layout is created where each Area3D receives the
90
+ reverb info from each Area3D . A Reverb effect needs to be created and configured
83
91
in each reverb bus to complete the setup for the desired effect:
84
92
85
- .. image :: img/audio_stream_reverb_bus2.png
93
+ .. image :: img/audio_stream_reverb_bus2.webp
86
94
87
- The Area 's **Reverb Bus ** section also has a parameter named **Uniformity **.
95
+ The Area3D 's **Reverb Bus ** section also has a parameter named **Uniformity **.
88
96
Some types of rooms bounce sounds more than others (like a warehouse), so
89
97
reverberation can be heard almost uniformly across the room even though the
90
98
source may be far away. Playing around with this parameter can simulate
@@ -98,7 +106,7 @@ perceived as an increase or decrease in the pitch of the emitted sound.
98
106
Godot can track velocity changes in the AudioStreamPlayer3D and Camera nodes.
99
107
Both nodes have this property, which must be enabled manually:
100
108
101
- .. image :: img/audio_stream_doppler.png
109
+ .. image :: img/audio_stream_doppler.webp
102
110
103
111
Enable it by setting it depending on how objects will be moved:
104
112
use **Idle ** for objects moved using ``_process ``, or **Physics **
0 commit comments