open-stage-control/app/examples/demo.json
2019-04-08 20:46:31 +02:00

950 lines
No EOL
26 KiB
JSON

{
"type": "root",
"tabs": [
{
"type": "tab",
"id": "tab_2",
"label": "Open Stage Control",
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/tab_2",
"preArgs": [],
"target": [],
"variables": "@{parent.variables}",
"widgets": [
{
"type": "strip",
"top": 10,
"left": 10,
"id": "strip_4",
"label": "Strips",
"width": 100,
"height": 450,
"color": "auto",
"css": "",
"horizontal": false,
"stretch": false,
"spacing": 5,
"variables": "@{parent.variables}",
"widgets": [
{
"type": "text",
"id": "text_1",
"label": false,
"height": 30,
"vertical": false,
"color": "auto",
"css": "",
"value": 1,
"preArgs": [],
"address": "/text_1",
"linkId": "",
"wrap": false,
"align": "",
"default": "",
"left": "auto",
"top": "auto",
"width": "auto"
},
{
"type": "strip",
"id": "strip_5",
"label": false,
"height": 30,
"color": "auto",
"horizontal": true,
"stretch": true,
"spacing": 5,
"variables": "@{parent.variables}",
"widgets": [
{
"type": "toggle",
"id": "toggle_1",
"linkId": "",
"label": false,
"led": false,
"color": "auto",
"css": "",
"on": 1,
"off": 0,
"value": "",
"precision": 2,
"preArgs": [],
"target": [],
"width": "auto",
"address": "/toggle_1",
"doubleTap": false,
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto"
},
{
"type": "toggle",
"linkId": "",
"label": false,
"led": false,
"color": "auto",
"css": "",
"on": 1,
"off": 0,
"value": "",
"precision": 2,
"preArgs": [],
"target": [],
"width": "auto",
"id": "toggle_2",
"address": "/toggle_2",
"doubleTap": false,
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto"
},
{
"type": "toggle",
"id": "toggle_3",
"label": false,
"led": false,
"color": "auto",
"css": "",
"on": 1,
"off": 0,
"value": "",
"precision": 2,
"address": "/toggle_3",
"preArgs": [],
"target": [],
"linkId": "",
"width": "auto",
"doubleTap": false,
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto"
}
],
"css": "",
"border": true,
"scroll": true,
"address": "/strip_5",
"preArgs": [],
"linkId": "",
"default": "",
"value": "",
"precision": 0,
"target": [],
"bypass": false,
"left": "auto",
"top": "auto",
"width": "auto",
"tabs": []
},
{
"type": "strip",
"id": "strip_6",
"label": false,
"height": 50,
"color": "auto",
"css": "margin-bottom:-10rem",
"horizontal": true,
"stretch": true,
"spacing": 0,
"variables": "@{parent.variables}",
"widgets": [
{
"type": "knob",
"id": "knob_1",
"linkId": "",
"label": false,
"unit": "",
"width": "auto",
"color": "auto",
"pips": false,
"input": false,
"dashed": false,
"angle": 270,
"css": "",
"snap": false,
"spring": false,
"doubleTap": false,
"range": {
"min": 0,
"max": 1
},
"origin": "auto",
"value": "",
"logScale": false,
"precision": 2,
"touchAddress": "",
"preArgs": [],
"target": [],
"address": "/knob_1",
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto",
"steps": ""
},
{
"type": "knob",
"id": "knob_2",
"linkId": "",
"label": false,
"unit": "",
"width": "auto",
"color": "auto",
"pips": false,
"input": false,
"dashed": false,
"angle": 270,
"css": "",
"snap": false,
"spring": false,
"doubleTap": false,
"range": {
"min": 0,
"max": 1
},
"origin": "auto",
"value": "",
"logScale": false,
"precision": 2,
"address": "/knob_2",
"touchAddress": "",
"preArgs": [],
"target": [],
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto",
"steps": ""
}
],
"border": false,
"scroll": true,
"address": "/strip_6",
"preArgs": [],
"linkId": "",
"default": "",
"value": "",
"precision": 0,
"target": [],
"bypass": false,
"left": "auto",
"top": "auto",
"width": "auto",
"tabs": []
},
{
"type": "strip",
"id": "strip_1",
"label": false,
"color": "auto",
"css": "flex:1",
"horizontal": true,
"stretch": false,
"spacing": 0,
"variables": "@{parent.variables}",
"widgets": [
{
"type": "meter",
"id": "meter_1",
"label": false,
"unit": "",
"alignRight": false,
"horizontal": false,
"pips": false,
"dashed": true,
"color": "auto",
"css": "margin: 20rem 0 20rem 10rem;",
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"origin": "auto",
"value": "@{knob_1}",
"address": "/meter_1",
"preArgs": [],
"width": 10,
"linkId": "",
"gradient": [],
"default": "",
"left": "auto",
"top": "auto",
"height": "auto",
"compact": true,
"input": false
},
{
"type": "meter",
"id": "meter_2",
"label": false,
"unit": "",
"alignRight": false,
"horizontal": false,
"pips": false,
"dashed": true,
"color": "auto",
"css": "margin: 20rem 0",
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"origin": "auto",
"value": "@{knob_2}",
"address": "/meter_1",
"preArgs": [],
"width": 10,
"linkId": "",
"gradient": [],
"default": "",
"left": "auto",
"top": "auto",
"height": "auto",
"compact": true,
"input": false
},
{
"type": "fader",
"id": "fader_1",
"linkId": "",
"label": false,
"unit": "",
"width": "auto",
"alignRight": false,
"horizontal": false,
"pips": true,
"input": false,
"compact": false,
"dashed": false,
"color": "auto",
"css": "",
"snap": false,
"spring": false,
"doubleTap": false,
"range": {
"min": 0,
"max": 1
},
"origin": "auto",
"value": "",
"logScale": false,
"precision": 2,
"meter": false,
"address": "/fader_1",
"touchAddress": "",
"meterAddress": "",
"preArgs": [],
"target": [],
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto",
"steps": ""
}
],
"height": "auto",
"border": false,
"scroll": true,
"address": "/strip_1",
"preArgs": [],
"linkId": "",
"default": "",
"value": "",
"precision": 0,
"target": [],
"bypass": false,
"left": "auto",
"top": "auto",
"width": "auto",
"tabs": []
},
{
"type": "fader",
"id": "fader_2",
"linkId": "",
"label": false,
"unit": "",
"height": 30,
"alignRight": false,
"horizontal": true,
"pips": false,
"input": false,
"compact": true,
"dashed": false,
"color": "auto",
"css": "",
"snap": false,
"spring": false,
"doubleTap": false,
"range": {
"min": 0,
"max": 1
},
"origin": 0.5,
"value": 0.5,
"logScale": false,
"precision": 2,
"meter": false,
"address": "/fader_2",
"touchAddress": "",
"meterAddress": "",
"preArgs": [],
"target": [],
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"width": "auto",
"steps": ""
},
{
"type": "strip",
"id": "strip_3",
"label": false,
"height": 30,
"color": "auto",
"css": "",
"horizontal": true,
"stretch": false,
"variables": "@{parent.variables}",
"widgets": [
{
"type": "toggle",
"id": "toggle_4",
"linkId": "",
"label": "M",
"led": false,
"color": "yellow",
"css": "",
"on": 1,
"off": 0,
"value": "",
"precision": 2,
"preArgs": [],
"target": [],
"width": "auto",
"address": "/toggle_4",
"doubleTap": false,
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto"
},
{
"type": "toggle",
"id": "toggle_5",
"linkId": "",
"label": "S",
"led": false,
"color": "lime",
"css": "",
"on": 1,
"off": 0,
"value": "",
"precision": 2,
"address": "/toggle_5",
"preArgs": [],
"target": [],
"width": "auto",
"doubleTap": false,
"default": "",
"bypass": false,
"left": "auto",
"top": "auto",
"height": "auto"
}
],
"spacing": 0,
"border": true,
"scroll": true,
"address": "/strip_3",
"preArgs": [],
"linkId": "",
"default": "",
"value": "",
"precision": 0,
"target": [],
"bypass": false,
"left": "auto",
"top": "auto",
"width": "auto",
"tabs": []
}
],
"border": true,
"scroll": true,
"address": "/strip_4",
"preArgs": [],
"linkId": "",
"default": "",
"value": "",
"precision": 0,
"target": [],
"bypass": false,
"tabs": []
},
{
"type": "panel",
"top": 10,
"left": 120,
"id": "panel_1",
"label": "Pads",
"width": 350,
"height": 350,
"scroll": true,
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/panel_1",
"preArgs": [],
"target": [],
"variables": "@{parent.variables}",
"widgets": [],
"tabs": [
{
"type": "tab",
"id": "tab_3",
"label": "Xy",
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/tab_3",
"preArgs": [],
"target": [],
"variables": "@{parent.variables}",
"widgets": [
{
"type": "xy",
"top": 0,
"left": 0,
"id": "xy_1",
"linkId": "",
"label": false,
"width": "100%",
"height": "100%",
"input": true,
"pips": true,
"color": "auto",
"css": "",
"snap": false,
"spring": false,
"doubleTap": false,
"rangeX": {
"min": 0,
"25%": 0.25,
"50%": 0.5,
"75%": 0.75,
"max": 1
},
"rangeY": {
"min": 0,
"25%": 0.25,
"50%": 0.5,
"75%": 0.75,
"max": 1
},
"logScaleX": false,
"logScaleY": false,
"value": [
0.5,
0.5
],
"precision": 2,
"address": "/xy_1",
"touchAddress": "",
"preArgs": [],
"split": false,
"target": [],
"pointSize": 20,
"default": "",
"bypass": false
}
],
"tabs": [],
"linkId": "",
"default": "",
"bypass": false,
"scroll": true
},
{
"type": "tab",
"id": "tab_5",
"label": "rgb",
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/tab_5",
"preArgs": [],
"target": [],
"variables": "@{parent.variables}",
"widgets": [
{
"type": "rgb",
"id": "rgb_1",
"linkId": "",
"label": false,
"left": 0,
"top": 0,
"width": "100%",
"height": "100%",
"input": true,
"css": "",
"snap": false,
"spring": false,
"value": "",
"precision": 0,
"address": "/rgb_1",
"preArgs": [],
"split": false,
"target": [],
"range": {
"min": 0,
"max": 255
},
"default": "",
"bypass": false,
"alpha": false,
"pointSize": 10
}
],
"tabs": [],
"linkId": "",
"default": "",
"bypass": false,
"scroll": true
},
{
"type": "tab",
"id": "tab_4",
"label": "MultiXy",
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/tab_4",
"preArgs": [],
"target": [],
"variables": "@{parent.variables}",
"widgets": [
{
"type": "multixy",
"id": "xy_2",
"label": false,
"width": "100%",
"height": "100%",
"pips": true,
"color": "auto",
"css": "",
"snap": false,
"spring": false,
"rangeX": {
"min": 0,
"25%": 0.25,
"50%": 0.5,
"75%": 0.75,
"max": 1
},
"rangeY": {
"min": 0,
"25%": 0.25,
"50%": 0.5,
"75%": 0.75,
"max": 1
},
"logScaleX": false,
"logScaleY": false,
"value": [
0.25,
0.5,
0.75,
0.5
],
"precision": 2,
"address": "/xy_2",
"touchAddress": "",
"preArgs": [],
"split": false,
"target": [],
"linkId": "",
"left": "auto",
"top": "auto",
"points": 2,
"pointSize": 20,
"default": "",
"bypass": false
}
],
"tabs": [],
"linkId": "",
"default": "",
"bypass": false,
"scroll": true
}
],
"border": true,
"linkId": "",
"default": "",
"bypass": false
},
{
"type": "dropdown",
"top": 10,
"left": 480,
"id": "color_picker",
"linkId": "",
"label": "Color",
"width": 130,
"height": 60,
"color": "auto",
"css": "",
"precision": 2,
"value": "auto",
"values": {
"Default": "auto",
"Orange": "orange"
},
"address": "/dropdown_1",
"preArgs": [],
"target": [],
"default": "",
"bypass": false
},
{
"type": "keyboard",
"top": 370,
"left": 120,
"id": "keyboard",
"keys": 36,
"start": 60,
"label": "auto",
"width": 350,
"height": 90,
"color": "auto",
"css": "",
"traversing": true,
"on": 1,
"off": 0,
"precision": 2,
"address": "/keyboard_1",
"preArgs": [],
"split": false,
"target": [],
"bypass": false,
"linkId": ""
},
{
"type": "matrix",
"top": 80,
"left": 480,
"id": "multifader",
"label": "auto",
"width": 130,
"height": 380,
"color": "auto",
"css": "",
"value": "",
"precision": 2,
"address": "/multifader_1",
"preArgs": [],
"target": [],
"default": "",
"bypass": false,
"linkId": "",
"widgetType": "fader",
"matrix": [
1,
12
],
"start": 0,
"spacing": 0,
"traversing": true,
"border": true,
"props": {
"compact": true,
"horizontal": true,
"label": false,
"pips": false,
"input": false
}
},
{
"type": "matrix",
"top": 10,
"left": 620,
"id": "multipush",
"label": "auto",
"width": 130,
"height": 220,
"color": "auto",
"css": "",
"precision": 2,
"address": "/multipush",
"preArgs": [],
"target": [],
"bypass": false,
"linkId": "",
"default": "",
"value": "",
"widgetType": "push",
"matrix": [
2,
4
],
"start": 0,
"spacing": 4,
"traversing": true,
"border": true,
"props": {}
},
{
"type": "matrix",
"top": 240,
"left": 620,
"label": "auto",
"width": 130,
"height": 220,
"color": "auto",
"css": "",
"value": "",
"precision": 2,
"address": "/multitoggle",
"preArgs": [],
"target": [],
"id": "multitoggle",
"default": "",
"bypass": false,
"linkId": "",
"widgetType": "toggle",
"matrix": [
2,
4
],
"start": 0,
"spacing": 4,
"traversing": true,
"border": true,
"props": {}
},
{
"type": "plot",
"top": 470,
"left": 10,
"id": "plot_1",
"width": 240,
"height": 140,
"label": "Plot (multifader)",
"color": "auto",
"css": "",
"rangeX": {
"min": 0,
"max": 1
},
"rangeY": {
"min": 0,
"max": 1
},
"origin": "auto",
"logScaleX": false,
"logScaleY": false,
"pips": false,
"address": "/plot_1",
"preArgs": [],
"smooth": true,
"linkId": "",
"dots": true,
"bars": false,
"value": "@{multifader}",
"default": ""
},
{
"type": "patchbay",
"top": 470,
"left": 480,
"id": "patchbay_1",
"linkId": "",
"width": 270,
"height": 140,
"label": "Patchbay",
"color": "auto",
"css": "",
"inputs": [
"input_1",
"input_2"
],
"outputs": [
"output_1",
"output_2"
],
"default": "",
"value": "",
"precision": 2,
"address": "/patchbay_1",
"preArgs": "",
"target": "",
"bypass": false
},
{
"type": "visualizer",
"top": 470,
"left": 260,
"id": "visualizer_1",
"linkId": "",
"width": 210,
"height": 140,
"label": "Visualizer (fader)",
"color": "auto",
"css": "",
"origin": "auto",
"smooth": false,
"pips": false,
"default": "",
"value": "@{fader_1}",
"address": "/plot_2",
"preArgs": "",
"duration": 1,
"range": {
"min": 0,
"max": 1
},
"logScale": false
}
],
"tabs": [],
"linkId": "",
"default": "",
"bypass": false,
"scroll": true
}
],
"color": "@{color_picker}",
"css": "",
"value": "",
"precision": 0,
"address": "/root",
"preArgs": [],
"target": [],
"variables": {},
"id": "root",
"linkId": "",
"default": "",
"bypass": false,
"traversing": false,
"scroll": true,
"label": false
}