mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
gate: add example config
This commit is contained in:
parent
a6ad231f7a
commit
cfc84c0457
2 changed files with 19 additions and 18 deletions
19
etc/examples/hooks/gate.conf
Normal file
19
etc/examples/hooks/gate.conf
Normal file
|
@ -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
|
||||
}
|
||||
)
|
||||
}
|
||||
)
|
|
@ -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
|
||||
}
|
||||
)
|
||||
}
|
||||
)
|
Loading…
Add table
Reference in a new issue