Skip to content

Instantly share code, notes, and snippets.

View Savantage's full-sized avatar
🎯
Focusing

Savantage

🎯
Focusing
View GitHub Profile
@Savantage
Savantage / music.cpp
Created April 3, 2019 16:34
Help with wav file...
#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{