diff options
author | Grissess <grissess@nexusg.org> | 2019-02-12 23:32:11 -0500 |
---|---|---|
committer | Grissess <grissess@nexusg.org> | 2019-02-12 23:32:11 -0500 |
commit | 9f2b13aaf422014cb1988a8d91b55aef9c964f12 (patch) | |
tree | 37c09d2ab982ea33117632b9ba4b64e48d801e10 | |
parent | fbf3e33bba771c06f6ef4e5cbda4e2d12c7a5a6b (diff) |
A few more useful files...
-rw-r--r-- | gens/test_basic.gen | 2 | ||||
-rwxr-xr-x | make_n_gen.sh | 14 |
2 files changed, 15 insertions, 1 deletions
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/make_n_gen.sh b/make_n_gen.sh new file mode 100755 index 0000000..5dab007 --- /dev/null +++ b/make_n_gen.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +GEN="${2:-gens/test_basic.gen}" + +echo "[" +for i in $(seq $1); do + printf "\t#${GEN}#" + if [ "$i" -eq "$1" ]; then + echo + else + echo "," + fi +done +echo "]" |