diff options
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 |