From 0daa7d6daff31e4fc62d07aec80d7ab0e375addb Mon Sep 17 00:00:00 2001 From: Daniel Appelt Date: Sun, 3 Sep 2017 13:47:04 +0200 Subject: [PATCH] Add MIDI sysex example --- app/examples/sysex_device_inquiry.js | 74 ++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 app/examples/sysex_device_inquiry.js diff --git a/app/examples/sysex_device_inquiry.js b/app/examples/sysex_device_inquiry.js new file mode 100644 index 00000000..2e1e1958 --- /dev/null +++ b/app/examples/sysex_device_inquiry.js @@ -0,0 +1,74 @@ +[ + { + "type": "root", + "tabs": [ + { + "type": "tab", + "id": "tab_1", + "label": "Sysex Example", + "color": "auto", + "css": "", + "layout": "", + "spacing": 0, + "value": "", + "precision": 0, + "address": "/tab_1", + "preArgs": [], + "target": [], + "variables": "@{parent.variables}", + "widgets": [ + { + "type": "push", + "top": 10, + "left": 20, + "id": "push_1", + "linkId": "", + "width": 200, + "height": "auto", + "label": "Send Device Inquiry", + "color": "auto", + "css": "", + "on": "f0 7e 7f 06 01 f7", + "norelease": true, + "precision": 0, + "address": "/sysex", + "target": [ + "midi:virtual" + ], + "preArgs": [], + "off": 0 + }, + { + "type": "text", + "top": 80, + "left": 20, + "id": "text_1", + "width": 400, + "height": 60, + "label": "Device Inquiry Response", + "color": "auto", + "css": "", + "widgetId": "", + "vertical": false, + "preArgs": [], + "address": "/sysex", + "value": "" + } + ], + "tabs": [], + "scroll": true + } + ], + "color": "auto", + "css": "", + "value": "", + "precision": 0, + "address": "/root", + "preArgs": [], + "target": [], + "variables": {}, + "id": "root", + "scroll": true, + "label": false + } +] \ No newline at end of file