-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crosscompile, add erase switch to MOD UI for models and IR files
- Loading branch information
Showing
8 changed files
with
219 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
|
||
function (event, funcs) | ||
{ | ||
function check_neural_model(icon, value) | ||
{ | ||
if (value == 'None') | ||
icon.find ('[rata-role=SlotA]').text ('-- choose a NAM/AIDA-X model --'); | ||
} | ||
function check_neural_model1(icon, value) | ||
{ | ||
if (value == 'None') | ||
icon.find ('[rata-role=SlotB]').text ('-- choose a NAM/AIDA-X model --'); | ||
} | ||
function check_irfile(icon, value) | ||
{ | ||
if (value == 'None') | ||
icon.find ('[rata-role=IrA]').text ('-- choose an IR file --'); | ||
} | ||
function check_irfile1(icon, value) | ||
{ | ||
if (value == 'None') | ||
icon.find ('[rata-role=IrB]').text ('-- choose an IR file --'); | ||
} | ||
|
||
if (event.type == 'start') | ||
{ | ||
} | ||
else if (event.type == 'change') | ||
{ | ||
if (event.uri === 'urn:brummer:ratatouille#Neural_Model') | ||
check_neural_model(event.icon, event.value); | ||
else if (event.uri === 'urn:brummer:ratatouille#Neural_Model1') | ||
check_neural_model1(event.icon, event.value); | ||
else if (event.uri === 'urn:brummer:ratatouille#irfile') | ||
check_irfile(event.icon, event.value); | ||
else if (event.uri === 'urn:brummer:ratatouille#irfile1') | ||
check_irfile1(event.icon, event.value); | ||
|
||
} | ||
} |
Oops, something went wrong.