Skip to content

Instantly share code, notes, and snippets.

@rnjacobs
rnjacobs / sd-2nd-block.c
Created February 26, 2021 07:28
Using a serial port as a sound card with a 2nd order delta-sigma DAC
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <strings.h>
/* Written by Robert Jacobs sometime in 2008. Nothing new to me, I just
learned about delta-sigma modulation around that time.
Released under terms of CC0