Skip to content

Commit

Permalink
Fix lv2:portProperty trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
brummer10 committed Dec 28, 2024
1 parent 2df1bb4 commit 8176977
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Ratatouille/Ratatouille.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;
Expand All @@ -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 ;
Expand All @@ -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 ;
Expand All @@ -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 ;
Expand Down
8 changes: 4 additions & 4 deletions Ratatouille/mod/modgui/script-ratatouille.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

}
Expand Down

0 comments on commit 8176977

Please sign in to comment.