From 255f0aa6de604e0bf9d37ba0ee5362ef3b9f235f Mon Sep 17 00:00:00 2001 From: Graham Northup Date: Sat, 7 Oct 2017 02:14:17 -0400 Subject: Graphics working But in need of terrible refactoring. Rust is beautiful sometimes. This is not one of those times. --- gens/test_voice.gen | 1 + 1 file changed, 1 insertion(+) create mode 100644 gens/test_voice.gen (limited to 'gens/test_voice.gen') 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)) -- cgit v1.2.3-70-g09d2