diff options
Diffstat (limited to 'adaptive/src/adaptive.h')
-rwxr-xr-x | adaptive/src/adaptive.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/adaptive/src/adaptive.h b/adaptive/src/adaptive.h new file mode 100755 index 0000000..209a51a --- /dev/null +++ b/adaptive/src/adaptive.h @@ -0,0 +1,34 @@ +/******************************************************
+ *
+ * Adaptive Systems for PD
+ *
+ * copyleft (c) Gerda Strobl, Georg Holzmann
+ * 2005
+ *
+ * for complaints, suggestions: grh@mur.at
+ *
+ ******************************************************
+ *
+ * license: GNU General Public License v.2
+ *
+ ******************************************************/
+
+#ifndef __ADAPTIVE_H__
+#define __ADAPTIVE_H__
+
+#include "m_pd.h"
+#include <stdio.h>
+
+
+
+/* ---------------------- helpers ----------------------- */
+
+// save all data to file
+void adaptation_write(const char *filename, t_int N, t_float mu, t_float *c);
+
+// read data from file
+void adaptation_read(const char *filename, t_int *N, t_float *mu,
+ t_float *c, t_float *buf);
+
+
+#endif //__ADAPTIVE_H__
|