Skip to content

Instantly share code, notes, and snippets.

@syncopika
syncopika / remove_vocals_SDL.cpp
Created June 27, 2018 23:50
remove vocals from a stereo .wav file with SDL_Audio!
#include <iostream>
#include <vector>
#include <SDL.h>
// some resources I visited
// https://adamtcroft.com/playing-sound-with-sdl-c/
// https://davidgow.net/handmadepenguin/ch7.html
// https://gigi.nullneuron.net/gigilabs/playing-a-wav-file-using-sdl2/
// https://forums.libsdl.org/viewtopic.php?p=50240
// https://stackoverflow.com/questions/10110905/simple-sound-wave-generator-with-sdl-in-c
@syncopika
syncopika / webaudiotest.html
Created March 2, 2018 20:15
web audio demo - scheduling a sequence of notes and getting smooth notes
<!doctype html>
<html>
<head>
</head>
<body>
@syncopika
syncopika / .block
Last active August 27, 2016 23:42
updating a bar chart with d3.js (v4)
height: 800