aboutsummaryrefslogtreecommitdiff
path: root/adaptive/src/adaptive.h
diff options
context:
space:
mode:
authorGeorg Holzmann <grholzi@users.sourceforge.net>2005-07-12 14:09:53 +0000
committerGeorg Holzmann <grholzi@users.sourceforge.net>2005-07-12 14:09:53 +0000
commitefa45f81b5dcb9609b1e2365a51b7a25a1ba2ce0 (patch)
tree8c9598e22824a77457bc4150796eb65ddc387027 /adaptive/src/adaptive.h
parentbf408e3e5a3c657758e61519fa5698a6f1526bce (diff)
initial commit of adaptive
svn path=/trunk/externals/grh/; revision=3317
Diffstat (limited to 'adaptive/src/adaptive.h')
-rwxr-xr-xadaptive/src/adaptive.h34
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__