diff --git a/res/controllers/Novation Dicer.midi.xml b/res/controllers/Novation Dicer.midi.xml index d79c76bc45d..d080b82737d 100644 --- a/res/controllers/Novation Dicer.midi.xml +++ b/res/controllers/Novation Dicer.midi.xml @@ -274,8 +274,8 @@ 0x9f 0x3e - [Channel2] - NovationDicer.flangeEffect + [QuickEffectRack1_[Channel2]_Effect1] + NovationDicer.toggleQuickEffect @@ -574,8 +574,8 @@ 0x9c 0x3e - [Channel1] - NovationDicer.flangeEffect + [QuickEffectRack1_[Channel1]_Effect1] + NovationDicer.toggleQuickEffect @@ -779,8 +779,8 @@ 0x0 - [Channel1] - flanger + [QuickEffectRack1_[Channel1]_Effect1] + enabled 0.1 1 @@ -856,8 +856,8 @@ 0x0 - [Channel2] - flanger + [QuickEffectRack1_[Channel2]_Effect1] + enabled 0.1 1 diff --git a/res/controllers/Novation-Dicer-scripts.js b/res/controllers/Novation-Dicer-scripts.js index 67a260e5343..36bacc1f03e 100644 --- a/res/controllers/Novation-Dicer-scripts.js +++ b/res/controllers/Novation-Dicer-scripts.js @@ -78,8 +78,6 @@ NovationDicer.init = function (id) midi.sendShortMsg(0x9f,0x43,NovationDicer.softOrange); midi.sendShortMsg(0x9f,0x44,NovationDicer.softOrange); midi.sendShortMsg(0x9f,0x45,NovationDicer.softOrange); - - engine.setValue("[Flanger]", "lfoDepth", 1); //Crank up the depth so the flanger does something } @@ -358,11 +356,11 @@ NovationDicer.stutter = function(group) } } -NovationDicer.flangeEffect = function(channel, control, value, status, group) +NovationDicer.toggleQuickEffect = function(channel, control, value, status, group) { if (value) //Button pressed { - engine.setValue(group, "flanger", !engine.getValue(group, "flanger")); //Toggle the flanger + script.toggleControl(group, "enabled"); } }