diff options
author | Graham Northup <grissess@nexusg.org> | 2019-02-12 23:34:38 -0500 |
---|---|---|
committer | Graham Northup <grissess@nexusg.org> | 2019-02-12 23:34:38 -0500 |
commit | 23c79cc00eb5d8e76148d79af83a9ab838e602f3 (patch) | |
tree | cb95ae3508d9a817cd9d828e5630325b5168745a /gens | |
parent | 1b3b39e174e26871a0ddb613c80a8e987f6547e5 (diff) |
Pushing old workwork
Diffstat (limited to 'gens')
-rw-r--r-- | gens/test.gen | 10 | ||||
-rw-r--r-- | gens/test_basic.gen | 2 | ||||
-rw-r--r-- | gens/test_voice.gen | 2 |
3 files changed, 12 insertions, 2 deletions
diff --git a/gens/test.gen b/gens/test.gen index 4613c0c..e891ebe 100644 --- a/gens/test.gen +++ b/gens/test.gen @@ -19,5 +19,15 @@ #gens/test_basic.gen#, #gens/test_basic.gen#, #gens/test_basic.gen#, + #gens/test_basic.gen#, + #gens/test_basic.gen#, + #gens/test_basic.gen#, + #gens/test_basic.gen#, + #gens/test_basic.gen#, + #gens/test_basic.gen#, + #gens/test_basic.gen#, + #gens/test_basic.gen#, + #gens/test_basic.gen#, + #gens/test_basic.gen#, #gens/test_basic.gen# ] diff --git a/gens/test_basic.gen b/gens/test_basic.gen index cbbfbbc..50620f8 100644 --- a/gens/test_basic.gen +++ b/gens/test_basic.gen @@ -1 +1 @@ -lutgen(sine(lut_freq), 128, v_freq) * ifelse(v_frame < v_deadline, v_amp, 0) +lutgen(saw(lut_freq), 128, v_freq) * ifelse(v_frame < v_deadline, v_amp, 0) diff --git a/gens/test_voice.gen b/gens/test_voice.gen index 41684c1..d4ae66a 100644 --- a/gens/test_voice.gen +++ b/gens/test_voice.gen @@ -1 +1 @@ -(lutgen(sine(lut_freq), 128, v_freq) * controlrate(dahdsr(v_frame < v_deadline, 0, 4 / samplerate(), 0, 1, 1, 8 / samplerate()))) * v_amp +(lutgen(saw(lut_freq), 128, v_freq) * dahdsr(v_frame < v_deadline, 0, 8 / samplerate(), 0, 0, 1, 4 / samplerate())) * v_amp |