From 81769771fcd333e1004c7911287c282b701bf4cd Mon Sep 17 00:00:00 2001 From: brummer10 Date: Sat, 28 Dec 2024 09:25:07 +0100 Subject: [PATCH] Fix lv2:portProperty trigger --- Ratatouille/Ratatouille.ttl | 8 ++++---- Ratatouille/mod/modgui/script-ratatouille.js | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Ratatouille/Ratatouille.ttl b/Ratatouille/Ratatouille.ttl index b76d10a..e7ab7f2 100644 --- a/Ratatouille/Ratatouille.ttl +++ b/Ratatouille/Ratatouille.ttl @@ -222,7 +222,7 @@ A Neural Model loader and mixer a lv2:InputPort , lv2:ControlPort ; lv2:index 15 ; - lv2:portProperty lv2:trigger ; + lv2:portProperty pprop:trigger ; lv2:symbol "eraseSlotA" ; lv2:name "erase Slot A" ; lv2:default 0.0 ; @@ -232,7 +232,7 @@ A Neural Model loader and mixer a lv2:InputPort , lv2:ControlPort ; lv2:index 16 ; - lv2:portProperty lv2:trigger ; + lv2:portProperty pprop:trigger ; lv2:symbol "eraseSlotB" ; lv2:name "erase Slot B" ; lv2:default 0.0 ; @@ -242,7 +242,7 @@ A Neural Model loader and mixer a lv2:InputPort , lv2:ControlPort ; lv2:index 17 ; - lv2:portProperty lv2:trigger ; + lv2:portProperty pprop:trigger ; lv2:symbol "eraseIr" ; lv2:name "erase Ir" ; lv2:default 0.0 ; @@ -252,7 +252,7 @@ A Neural Model loader and mixer a lv2:InputPort , lv2:ControlPort ; lv2:index 18 ; - lv2:portProperty lv2:trigger ; + lv2:portProperty pprop:trigger ; lv2:symbol "eraseIr1" ; lv2:name "erase Ir1" ; lv2:default 0.0 ; diff --git a/Ratatouille/mod/modgui/script-ratatouille.js b/Ratatouille/mod/modgui/script-ratatouille.js index f123f50..eefa968 100644 --- a/Ratatouille/mod/modgui/script-ratatouille.js +++ b/Ratatouille/mod/modgui/script-ratatouille.js @@ -27,13 +27,13 @@ function (event, funcs) } else if (event.type == 'change') { - if (event.uri === 'urn:brummer:ratatouille#Neural_Model') + if (event.uri == 'urn:brummer:ratatouille#Neural_Model') check_neural_model(event.icon, event.value); - else if (event.uri === 'urn:brummer:ratatouille#Neural_Model1') + else if (event.uri == 'urn:brummer:ratatouille#Neural_Model1') check_neural_model1(event.icon, event.value); - else if (event.uri === 'urn:brummer:ratatouille#irfile') + else if (event.uri == 'urn:brummer:ratatouille#irfile') check_irfile(event.icon, event.value); - else if (event.uri === 'urn:brummer:ratatouille#irfile1') + else if (event.uri == 'urn:brummer:ratatouille#irfile1') check_irfile1(event.icon, event.value); }