Improved UI
This commit is contained in:
1 parent
0a5a85e4c4
commit
912ecdd9ed
19 files changed
+1141
-279
No files matched your search
@@ -99,6 +99,16 @@ func buildNode(d NodeDef) (dsp.Node, error) {
|
||||
case "expr":
|
||||
return &dsp.ExprNode{Expr: stringParam(p, "expr")}, nil
|
||||
|
||||
case "lowpass":
|
||||
order := int(floatParam(p, "order"))
|
||||
if order < 1 {
|
||||
order = 1
|
||||
}
|
||||
return &dsp.LowPassNode{
|
||||
Freq: floatParam(p, "freq"),
|
||||
Order: order,
|
||||
}, nil
|
||||
|
||||
case "lua":
|
||||
return &dsp.LuaNode{Script: stringParam(p, "script")}, nil
|
||||
|
||||
|
||||
Reference in new issue
Block a user