//Takes sound data from wherever and hands it back out.
//Returns PCM Data or spectrum data, or the derivative of the PCM data
+#include <stdlib.h>
#include <stdio.h>
#include <inttypes.h>
+#include "fftsg.h"
+
double **PCMd; //data structure to store PCM data PCM[channels][maxsamples]
int maxsamples; //size of PCM buffer
int start; //where to add data next