This file contains 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
#include <iostream> // for cout/cin | |
#include <fstream> // for files | |
#include <cstdint> // for fixed ints | |
#include <cmath> // for sin funct | |
using namespace std; | |
#define FORMAT_AUDIO 1 | |
#define FORMAT_SIZE 16 | |
struct wave_header{ |