Making a game in C from scratch! Ep 11: [Audio System and Mixer]


Hello friends!

We are in engine-improvement mode, (finished bitmap support last stream), so today, I implemented the audio system and sound mixer in the game engine!

We started stream by using DirectSound to play a simple square wave and then did some semantic compression to the system.

Then, we read some .wav files and played them.

The system now also mixes multiple files, as well as pan them left to right, and shift their pitch!


Want to to see all this being created and explained from scratch? Check out the Youtube video! https://www.youtube.com/watch?v=BpebYajhnAA

You can watch the whole series and see every small part of the game's development here on Youtube! https://www.youtube.com/playlist?list=PL7Ej6SUky1357r-Lqf_nogZWHssXP-hvH

In case you want to catch me live on Twitch creating the game, check put this page: twitch.tv/danzaidan


If you have any questions, be sure to drop them in the comments!

I hope you like it.

Next time, we'll implement a multi-threaded job system to our game!

Files

Break Arcade Games Out - Ep 11.zip 1.8 MB
Jul 21, 2019
Break Arcade Games Out - Ep 11 - Source Code.zip 1.8 MB
Jul 21, 2019

Get Break Arcade Games Out (Open Source)

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.