A (not so) little tutorial about writing audio to a WAV file format. The program is written in modern C++, with an emphasis on understanding the .wav container file format. The tutorial also covers coding a snippet of a sine waveform that acts as the contents of the WAV file.
Code: https://github.com/Thrifleganger/audi...
This video was done in tandem with another video called Containers and File Formats in the Digital Audio Fundamental series: • 12. Containers and File Formats - Dig...
Tools used:
CLion IDE from JetBrains: https://www.jetbrains.com/clion/
MinGW (C++ compiler for Windows): https://www.mingw.org/
Sinusoid visualization: https://www.desmos.com/calculator/kov...
libsndfile (3rd party library for reading/writing audio files): http://www.mega-nerd.com/libsndfile/
If you've got any questions, suggestions or recommendations, type them out here, or send me a message on any of my social channels mentioned below.
Give me a shout here:
Website - https://www.akashmurthy.com/
Facebook - / akash.murthy.319
Instagram - / thrifleganger
Check out my music here: https://farfetchd-official.bandcamp.com/