diff --git a/src/mruby-zest/example/ZynAnalogFilter.qml b/src/mruby-zest/example/ZynAnalogFilter.qml index b9d1b50e..63f66823 100644 --- a/src/mruby-zest/example/ZynAnalogFilter.qml +++ b/src/mruby-zest/example/ZynAnalogFilter.qml @@ -50,7 +50,18 @@ Group { end typ.active = true end + + if(cat.selected == 4) + hpf.active = true + lpf.active = true + else + hpf.active = false + lpf.active = false + end + typ.damage_self + hpf.damage_self + lpf.damage_self } function remove_sense() { @@ -96,6 +107,11 @@ Group { path_simp(box.extern + ext) } } + Knob { + id: hpf + whenValue: lambda { box.cb}; + extern: box.extern + "Phpf" + } } ParModuleRow { NumEntry { @@ -121,6 +137,11 @@ Group { whenValue: lambda { box.cb}; extern: box.extern + "gain" } + Knob { + id: lpf + whenValue: lambda { box.cb}; + extern: box.extern + "Plpf" + } } function class_name() diff --git a/src/osc-bridge/schema/test.json b/src/osc-bridge/schema/test.json index b246facf..c278a850 100644 --- a/src/osc-bridge/schema/test.json +++ b/src/osc-bridge/schema/test.json @@ -1263,6 +1263,26 @@ "range" : [0,127], "default" : "64" + }, + { + "path" : "/part[0,15]/kit[0,15]/padpars/GlobalFilter/Phpf", + "shortname": "hpf", + "name" : "Phpf", + "tooltip" : "Waveguide HighPass", + "type" : "i", + "range" : [0,127], + "default" : "0" + + }, + { + "path" : "/part[0,15]/kit[0,15]/padpars/GlobalFilter/Plpf", + "shortname": "lpf", + "name" : "Plpf", + "tooltip" : "Waveguide LowPass", + "type" : "i", + "range" : [0,127], + "default" : "127" + }, { "path" : "/part[0,15]/kit[0,15]/padpars/GlobalFilter/Psequencesize", @@ -5693,6 +5713,26 @@ "range" : [0,127], "default" : "64" + }, + { + "path" : "/part[0,15]/kit[0,15]/adpars/VoicePar[0,7]/VoiceFilter/Phpf", + "shortname": "hpf", + "name" : "Phpf", + "tooltip" : "Waveguide HighPass", + "type" : "i", + "range" : [0,127], + "default" : "0" + + }, + { + "path" : "/part[0,15]/kit[0,15]/adpars/VoicePar[0,7]/VoiceFilter/Plpf", + "shortname": "lpf", + "name" : "Plpf", + "tooltip" : "Waveguide LowPass", + "type" : "i", + "range" : [0,127], + "default" : "127" + }, { "path" : "/part[0,15]/kit[0,15]/adpars/VoicePar[0,7]/VoiceFilter/Psequencesize", @@ -7760,6 +7800,26 @@ "range" : [0,127], "default" : "64" + }, + { + "path" : "/part[0,15]/kit[0,15]/adpars/GlobalPar/GlobalFilter/Phpf", + "shortname": "hpf", + "name" : "Phpf", + "tooltip" : "Waveguide HighPass", + "type" : "i", + "range" : [0,127], + "default" : "0" + + }, + { + "path" : "/part[0,15]/kit[0,15]/adpars/GlobalPar/GlobalFilter/Plpf", + "shortname": "lpf", + "name" : "Plpf", + "tooltip" : "Waveguide LowPass", + "type" : "i", + "range" : [0,127], + "default" : "127" + }, { "path" : "/part[0,15]/kit[0,15]/adpars/GlobalPar/GlobalFilter/Psequencesize", @@ -9326,6 +9386,26 @@ "range" : [0,127], "default" : "64" + }, + { + "path" : "/part[0,15]/kit[0,15]/subpars/GlobalFilter/Phpf", + "shortname": "hpf", + "name" : "Phpf", + "tooltip" : "Waveguide HighPass", + "type" : "i", + "range" : [0,127], + "default" : "0" + + }, + { + "path" : "/part[0,15]/kit[0,15]/subpars/GlobalFilter/Plpf", + "shortname": "lpf", + "name" : "Plpf", + "tooltip" : "Waveguide LowPass", + "type" : "i", + "range" : [0,127], + "default" : "127" + }, { "path" : "/part[0,15]/kit[0,15]/subpars/GlobalFilter/Psequencesize", @@ -9795,6 +9875,26 @@ "range" : [0,127], "default" : "64" + }, + { + "path" : "/part[0,15]/partefx[0,2]/filterpars/Phpf", + "shortname": "hpf", + "name" : "Phpf", + "tooltip" : "Waveguide HighPass", + "type" : "i", + "range" : [0,127], + "default" : "0" + + }, + { + "path" : "/part[0,15]/partefx[0,2]/filterpars/Plpf", + "shortname": "lpf", + "name" : "Plpf", + "tooltip" : "Waveguide LowPass", + "type" : "i", + "range" : [0,127], + "default" : "127" + }, { "path" : "/part[0,15]/partefx[0,2]/filterpars/Psequencesize", @@ -11410,9 +11510,7 @@ "tooltip" : "amount of effect", "scale" : "linear", "type" : "i", - "range" : [0,127], - "default" : "127" - + "range" : [0,127] }, { "path" : "/part[0,15]/partefx[0,2]/Sympathetic/Ppanning", @@ -11518,9 +11616,7 @@ "tooltip" : "Number of Strings", "scale" : "linear", "type" : "i", - "range" : [0,76], - "default" : "12" - + "range" : [0,76] }, { "path" : "/part[0,15]/partefx[0,2]/Sympathetic/Pbasenote", @@ -11529,9 +11625,7 @@ "tooltip" : "Midi Note of Lowest String", "scale" : "linear", "type" : "i", - "range" : [0,127], - "default" : "57" - + "range" : [0,127] }, { "path" : "/part[0,15]/partefx[0,2]/Sympathetic/freqs[0,87]", @@ -12423,6 +12517,26 @@ "range" : [0,127], "default" : "64" + }, + { + "path" : "/sysefx[0,3]/filterpars/Phpf", + "shortname": "hpf", + "name" : "Phpf", + "tooltip" : "Waveguide HighPass", + "type" : "i", + "range" : [0,127], + "default" : "0" + + }, + { + "path" : "/sysefx[0,3]/filterpars/Plpf", + "shortname": "lpf", + "name" : "Plpf", + "tooltip" : "Waveguide LowPass", + "type" : "i", + "range" : [0,127], + "default" : "127" + }, { "path" : "/sysefx[0,3]/filterpars/Psequencesize", @@ -14038,9 +14152,7 @@ "tooltip" : "amount of effect", "scale" : "linear", "type" : "i", - "range" : [0,127], - "default" : "127" - + "range" : [0,127] }, { "path" : "/sysefx[0,3]/Sympathetic/Ppanning", @@ -14146,9 +14258,7 @@ "tooltip" : "Number of Strings", "scale" : "linear", "type" : "i", - "range" : [0,76], - "default" : "12" - + "range" : [0,76] }, { "path" : "/sysefx[0,3]/Sympathetic/Pbasenote", @@ -14157,9 +14267,7 @@ "tooltip" : "Midi Note of Lowest String", "scale" : "linear", "type" : "i", - "range" : [0,127], - "default" : "57" - + "range" : [0,127] }, { "path" : "/sysefx[0,3]/Sympathetic/freqs[0,87]", @@ -14471,6 +14579,26 @@ "range" : [0,127], "default" : "64" + }, + { + "path" : "/insefx[0,7]/filterpars/Phpf", + "shortname": "hpf", + "name" : "Phpf", + "tooltip" : "Waveguide HighPass", + "type" : "i", + "range" : [0,127], + "default" : "0" + + }, + { + "path" : "/insefx[0,7]/filterpars/Plpf", + "shortname": "lpf", + "name" : "Plpf", + "tooltip" : "Waveguide LowPass", + "type" : "i", + "range" : [0,127], + "default" : "127" + }, { "path" : "/insefx[0,7]/filterpars/Psequencesize", @@ -16086,9 +16214,7 @@ "tooltip" : "amount of effect", "scale" : "linear", "type" : "i", - "range" : [0,127], - "default" : "127" - + "range" : [0,127] }, { "path" : "/insefx[0,7]/Sympathetic/Ppanning", @@ -16194,9 +16320,7 @@ "tooltip" : "Number of Strings", "scale" : "linear", "type" : "i", - "range" : [0,76], - "default" : "12" - + "range" : [0,76] }, { "path" : "/insefx[0,7]/Sympathetic/Pbasenote", @@ -16205,9 +16329,7 @@ "tooltip" : "Midi Note of Lowest String", "scale" : "linear", "type" : "i", - "range" : [0,127], - "default" : "57" - + "range" : [0,127] }, { "path" : "/insefx[0,7]/Sympathetic/freqs[0,87]",