From cfc84c04574bca2c792ac34d1c0517617566c6e3 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 27 Jun 2019 01:36:45 +0200 Subject: [PATCH] gate: add example config --- etc/examples/hooks/gate.conf | 19 +++++++++++++++++++ etc/examples/hooks/scale.conf | 18 ------------------ 2 files changed, 19 insertions(+), 18 deletions(-) create mode 100644 etc/examples/hooks/gate.conf diff --git a/etc/examples/hooks/gate.conf b/etc/examples/hooks/gate.conf new file mode 100644 index 000000000..96aac6e09 --- /dev/null +++ b/etc/examples/hooks/gate.conf @@ -0,0 +1,19 @@ +@include "hook-nodes.conf" + +paths = ( + { + in = "signal_node" + out = "file_node" + + hooks = ( + { + type = "gate" + + signal = "square" + mode = "above" + threshold = 0.5 + duration = 5 + } + ) + } +) diff --git a/etc/examples/hooks/scale.conf b/etc/examples/hooks/scale.conf index 68508707b..e69de29bb 100644 --- a/etc/examples/hooks/scale.conf +++ b/etc/examples/hooks/scale.conf @@ -1,18 +0,0 @@ -@include "hook-nodes.conf" - -paths = ( - { - in = "signal_node" - out = "file_node" - - hooks = ( - { - type = "scale" - - signal = "sine" - scale = 5.5 - offset = 1.2 - } - ) - } -)