summaryrefslogtreecommitdiffstats
path: root/super_saw.peg
diff options
context:
space:
mode:
Diffstat (limited to 'super_saw.peg')
-rw-r--r--super_saw.peg39
1 files changed, 39 insertions, 0 deletions
diff --git a/super_saw.peg b/super_saw.peg
new file mode 100644
index 0000000..8cd49d8
--- /dev/null
+++ b/super_saw.peg
@@ -0,0 +1,39 @@
+#ifndef super_saw_peg
+#define super_saw_peg
+
+
+#ifndef PEG_STRUCT
+#define PEG_STRUCT
+typedef struct {
+ float min;
+ float max;
+ float default_value;
+ char toggled;
+ char integer;
+ char logarithmic;
+} peg_data_t;
+#endif
+
+/* <http://example.org/super_saw> */
+
+static const char p_uri[] = "http://example.org/super_saw";
+
+enum p_port_enum {
+ p_midi,
+ p_Detune,
+ p_Mix,
+ p_left,
+ p_right,
+ p_n_ports
+};
+
+static const peg_data_t p_ports[] = {
+ { -3.40282e+38, 3.40282e+38, -3.40282e+38, 0, 0, 0 },
+ { 0, 0.9, 0.5, 0, 0, 0 },
+ { 0, 1, 0.5, 0, 0, 0 },
+ { -3.40282e+38, 3.40282e+38, -3.40282e+38, 0, 0, 0 },
+ { -3.40282e+38, 3.40282e+38, -3.40282e+38, 0, 0, 0 },
+};
+
+
+#endif /* super_saw_peg */