This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // main.c | |
| // https://www.youtube.com/watch?v=8nOi-0kBv2Y | |
| // gcc create_wave_file.c -o create_wave_file -lm | |
| // or clang create_wave_file.c -lm | |
| #include <math.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <stdio.h> | |