|
|
@@ -3,10 +3,11 @@
|
|
|
## Explanation
|
|
|
This C# Intermediate tutorial covers the basics of audio in your game. We learn about the various types of audio formats and settings. We cover how to user 3d spatialized audio and we also look at streaming audio.
|
|
|
|
|
|
-<iframe width="560" height="315" src="https://www.youtube.com/embed/..." frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
|
+<iframe width="560" height="315" src="https://www.youtube.com/embed/Guf7PESCwnc" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
|
|
|
|
## Code
|
|
|
-### Camera controller
|
|
|
+### Audio sounds and spatial sounds
|
|
|
[!code-csharp[audio](..\..\..\..\stride\samples\Tutorials\CSharpIntermediate\CSharpIntermediate\CSharpIntermediate.Game\08_Audio\AudioDemo.cs)]
|
|
|
|
|
|
-[!code-csharp[streamming audio](..\..\..\..\stride\samples\Tutorials\CSharpIntermediate\CSharpIntermediate\CSharpIntermediate.Game\08_Audio\LoadMusic.cs)]
|
|
|
+### Streaming sounds
|
|
|
+[!code-csharp[streammingaudio](..\..\..\..\stride\samples\Tutorials\CSharpIntermediate\CSharpIntermediate\CSharpIntermediate.Game\08_Audio\LoadMusic.cs)]
|