summaryrefslogtreecommitdiff
path: root/gens
diff options
context:
space:
mode:
authorGraham Northup <grissess@nexusg.org>2017-10-03 14:50:18 -0400
committerGraham Northup <grissess@nexusg.org>2017-10-03 14:50:18 -0400
commit22dd5bc5862e91330c8da0d5f141998cdbe546fb (patch)
tree253cb9f6b080caaad18b2df9f63004266bf73c27 /gens
parent145e2771c0d1ad30748da6e6ef1fabbd4cc2478c (diff)
Finished clientside parsing, starting graphics
Diffstat (limited to 'gens')
-rw-r--r--gens/basic_saw.gen1
-rw-r--r--gens/itlc_head.gen1
-rw-r--r--gens/itlc_tail.gen1
-rw-r--r--gens/test.gen12
4 files changed, 15 insertions, 0 deletions
diff --git a/gens/basic_saw.gen b/gens/basic_saw.gen
new file mode 100644
index 0000000..45ebd41
--- /dev/null
+++ b/gens/basic_saw.gen
@@ -0,0 +1 @@
+#gens/itlc_head.gen# saw(param('v_freq', 500)) #gens/itlc_tail.gen#
diff --git a/gens/itlc_head.gen b/gens/itlc_head.gen
new file mode 100644
index 0000000..ecba4bc
--- /dev/null
+++ b/gens/itlc_head.gen
@@ -0,0 +1 @@
+mul(
diff --git a/gens/itlc_tail.gen b/gens/itlc_tail.gen
new file mode 100644
index 0000000..90297be
--- /dev/null
+++ b/gens/itlc_tail.gen
@@ -0,0 +1 @@
+, ifelse(rel(param('v_frame'), '<', param('v_deadline')), param('v_amp'), 0.0))
diff --git a/gens/test.gen b/gens/test.gen
new file mode 100644
index 0000000..164ba7a
--- /dev/null
+++ b/gens/test.gen
@@ -0,0 +1,12 @@
+[
+ #gens/basic_saw.gen#,
+ #gens/basic_saw.gen#,
+ #gens/basic_saw.gen#,
+ #gens/basic_saw.gen#,
+ #gens/basic_saw.gen#,
+ #gens/basic_saw.gen#,
+ #gens/basic_saw.gen#,
+ #gens/basic_saw.gen#,
+ #gens/basic_saw.gen#,
+ #gens/basic_saw.gen#
+]