summaryrefslogtreecommitdiff
path: root/gens/test_voice.gen
diff options
context:
space:
mode:
Diffstat (limited to 'gens/test_voice.gen')
-rw-r--r--gens/test_voice.gen1
1 files changed, 1 insertions, 0 deletions
diff --git a/gens/test_voice.gen b/gens/test_voice.gen
new file mode 100644
index 0000000..855568b
--- /dev/null
+++ b/gens/test_voice.gen
@@ -0,0 +1 @@
+mul(sine(param('v_freq', 500)), ifelse(rel(param('v_frame'), '<', param('v_deadline')), mul(param('v_amp'), add(param('v_frame'), negate(param('v_start'))), reciprocate(add(param('v_deadline'), negate(param('v_start'))))), 0.0))