|
@@ -3,15 +3,15 @@
|
|
Importing audio samples
|
|
Importing audio samples
|
|
=======================
|
|
=======================
|
|
|
|
|
|
-Why importing?
|
|
|
|
---------------
|
|
|
|
|
|
+Why import?
|
|
|
|
+-----------
|
|
|
|
|
|
Raw audio data in general is large and undesired. Godot provides two main
|
|
Raw audio data in general is large and undesired. Godot provides two main
|
|
options to import your audio data: WAV and OGG Vorbis.
|
|
options to import your audio data: WAV and OGG Vorbis.
|
|
|
|
|
|
Each has different advantages.
|
|
Each has different advantages.
|
|
-* Wav files use raw data or light compression, require small amount of CPU to play back (hundreds of simultaneous voices in this format are fine), but take up significant space.
|
|
|
|
-* Ogg Vorbis files use a stronger compression that results in much smaller file size, but uses significantly more processor to play back.
|
|
|
|
|
|
+* Wav files use raw data or light compression, make few demands on the CPU to play back (hundreds of simultaneous voices in this format are fine), but take up significant space.
|
|
|
|
+* Ogg Vorbis files use a stronger compression that results in much smaller file size, but require significantly more processing power to play back.
|
|
|
|
|
|
|
|
|
|
.. image:: img/audio_stream_import.png
|
|
.. image:: img/audio_stream_import.png
|
|
@@ -37,7 +37,7 @@ In general, what is recommended, is to use WAV for most sound effects, especiall
|
|
Best Practices
|
|
Best Practices
|
|
--------------
|
|
--------------
|
|
|
|
|
|
-Godot 3+ has an amazing bus system with built in effects. This saves
|
|
|
|
|
|
+Godot 3+ has an amazing bus system with built-in effects. This saves
|
|
SFX artists the need to add reverb to the sound effects, reducing their
|
|
SFX artists the need to add reverb to the sound effects, reducing their
|
|
size greatly and ensuring correct trimming. Say no to SFX with baked
|
|
size greatly and ensuring correct trimming. Say no to SFX with baked
|
|
reverb!
|
|
reverb!
|
|
@@ -49,7 +49,7 @@ As you can see above, sound effects become huge with reverb added.
|
|
Trimming
|
|
Trimming
|
|
~~~~~~~~
|
|
~~~~~~~~
|
|
|
|
|
|
-One issue that happens often is that the waveform are exported with long
|
|
|
|
|
|
+One issue that happens often is that the waveform is exported with long
|
|
silences at the beginning and at the end. These are inserted by
|
|
silences at the beginning and at the end. These are inserted by
|
|
DAWs when saving to a waveform, increase their size unnecessarily and
|
|
DAWs when saving to a waveform, increase their size unnecessarily and
|
|
add latency to the moment they are played back.
|
|
add latency to the moment they are played back.
|
|
@@ -62,7 +62,7 @@ Looping
|
|
|
|
|
|
Godot supports looping in the samples (Tools such as Sound Forge or
|
|
Godot supports looping in the samples (Tools such as Sound Forge or
|
|
Audition can add loop points to wav files). This is useful for sound
|
|
Audition can add loop points to wav files). This is useful for sound
|
|
-effects such as engines, machine guns, etc. Ping-pong looping is also
|
|
|
|
|
|
+effects, such as engines, machine guns etc. Ping-pong looping is also
|
|
supported.
|
|
supported.
|
|
|
|
|
|
As an alternative, the import screen has a "loop" option that enables
|
|
As an alternative, the import screen has a "loop" option that enables
|