]> git.sesse.net Git - c64tapwav/blobdiff - synth.h
Split the synth part into a library, with a Makefile.
[c64tapwav] / synth.h
diff --git a/synth.h b/synth.h
new file mode 100644 (file)
index 0000000..3b71489
--- /dev/null
+++ b/synth.h
@@ -0,0 +1,13 @@
+#ifndef _SYNTH_H
+#define _SYNTH_H 1
+
+#include <vector>
+
+struct pulse {
+       // all values in samples
+       double start, end;
+};
+
+std::vector<float> synth(const std::vector<pulse> &pulses);
+
+#endif // !defined(_SYNTH_H)