examples: update to new format

This commit is contained in:
jean-emmanuel 2017-06-15 00:20:27 +02:00
parent d9c9b2ab5e
commit 5c9c81581c
3 changed files with 15983 additions and 14160 deletions

View file

@ -1,393 +1,485 @@
[
{
"label": "Plots and ploplots",
"widgets": [
"type": "root",
"tabs": [
{
"type": "fader",
"id": "fader_1",
"linkId": "",
"label": "auto",
"unit": "",
"left": "auto",
"top": "auto",
"width": "auto",
"height": 254,
"horizontal": false,
"css": "",
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"precision": 2,
"target": [],
"meter": false,
"alignRight": false,
"noPip": false,
"compact": false,
"color": "auto",
"snap": false,
"origin": "auto",
"address": "/fader_1",
"preArgs": []
},
{
"type": "fader",
"id": "fader_2",
"linkId": "",
"label": "auto",
"unit": "",
"left": "auto",
"top": "auto",
"width": "auto",
"height": 253,
"horizontal": false,
"css": "",
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"precision": 2,
"target": [],
"meter": false,
"alignRight": false,
"noPip": false,
"compact": false,
"color": "auto",
"snap": false,
"origin": "auto",
"address": "/fader_2",
"preArgs": []
},
{
"type": "fader",
"id": "fader_3",
"linkId": "",
"label": "auto",
"unit": "",
"left": "auto",
"top": "auto",
"width": "auto",
"height": 253,
"horizontal": false,
"css": "",
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"precision": 2,
"target": [],
"meter": false,
"alignRight": false,
"noPip": false,
"compact": false,
"color": "auto",
"snap": false,
"origin": "auto",
"address": "/fader_3",
"preArgs": []
},
{
"type": "fader",
"id": "fader_4",
"linkId": "",
"label": "auto",
"unit": "",
"left": "auto",
"top": "auto",
"width": "auto",
"height": 253,
"horizontal": false,
"css": "",
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"precision": 2,
"target": [],
"meter": false,
"alignRight": false,
"noPip": false,
"compact": false,
"color": "auto",
"snap": false,
"origin": "auto",
"address": "/fader_4",
"preArgs": []
},
{
"type": "plot",
"id": "plot_1",
"label": "plot (faders)",
"left": 400,
"top": 122,
"width": 200,
"height": 131,
"css": "",
"points": [
[
0,
"fader_1"
],
[
0.25,
"fader_2"
],
[
0.75,
"fader_3"
],
[
1,
"fader_4"
]
"label": "Plots and ploplots",
"widgets": [
{
"type": "fader",
"id": "fader_1",
"linkId": "",
"label": "auto",
"unit": "",
"left": "auto",
"top": "auto",
"width": "auto",
"height": 254,
"horizontal": false,
"css": "",
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"precision": 2,
"target": [],
"meter": false,
"alignRight": false,
"compact": false,
"color": "auto",
"snap": false,
"origin": "auto",
"address": "/fader_1",
"preArgs": [],
"pips": true,
"spring": false,
"doubleTap": false,
"value": "",
"touchAddress": "",
"meterAddress": ""
},
{
"type": "fader",
"id": "fader_2",
"linkId": "",
"label": "auto",
"unit": "",
"left": "auto",
"top": "auto",
"width": "auto",
"height": 253,
"horizontal": false,
"css": "",
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"precision": 2,
"target": [],
"meter": false,
"alignRight": false,
"compact": false,
"color": "auto",
"snap": false,
"origin": "auto",
"address": "/fader_2",
"preArgs": [],
"pips": true,
"spring": false,
"doubleTap": false,
"value": "",
"touchAddress": "",
"meterAddress": ""
},
{
"type": "fader",
"id": "fader_3",
"linkId": "",
"label": "auto",
"unit": "",
"left": "auto",
"top": "auto",
"width": "auto",
"height": 253,
"horizontal": false,
"css": "",
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"precision": 2,
"target": [],
"meter": false,
"alignRight": false,
"compact": false,
"color": "auto",
"snap": false,
"origin": "auto",
"address": "/fader_3",
"preArgs": [],
"pips": true,
"spring": false,
"doubleTap": false,
"value": "",
"touchAddress": "",
"meterAddress": ""
},
{
"type": "fader",
"id": "fader_4",
"linkId": "",
"label": "auto",
"unit": "",
"left": "auto",
"top": "auto",
"width": "auto",
"height": 253,
"horizontal": false,
"css": "",
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"precision": 2,
"target": [],
"meter": false,
"alignRight": false,
"compact": false,
"color": "auto",
"snap": false,
"origin": "auto",
"address": "/fader_4",
"preArgs": [],
"pips": true,
"spring": false,
"doubleTap": false,
"value": "",
"touchAddress": "",
"meterAddress": ""
},
{
"type": "plot",
"id": "plot_1",
"label": "plot (faders)",
"left": 400,
"top": 122,
"width": 200,
"height": 131,
"css": "",
"points": [
[
0,
"fader_1"
],
[
0.25,
"fader_2"
],
[
0.75,
"fader_3"
],
[
1,
"fader_4"
]
],
"rangeX": {
"min": 0,
"max": 1
},
"rangeY": {
"min": 0,
"max": 1
},
"logScaleX": false,
"logScaleY": false,
"color": "auto",
"origin": "auto",
"address": "/plot_1",
"preArgs": []
},
{
"type": "visualizer",
"left": 400,
"top": 0,
"width": "auto",
"height": 122,
"css": "",
"id": "visualizer_(fader_1)",
"widgetId": "fader_1",
"duration": 1,
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"label": "visualizer (fader1)",
"color": "auto",
"origin": "auto",
"address": "/visualizer_(fader_1)",
"preArgs": [],
"value": ""
},
{
"type": "rgb",
"id": "rgb_1",
"linkId": "",
"label": "auto",
"left": 0,
"top": 254,
"width": "auto",
"height": "auto",
"css": "",
"precision": 0,
"split": false,
"target": [],
"snap": false,
"address": "/rgb_1",
"preArgs": [],
"value": "",
"touchAddress": ""
},
{
"type": "plot",
"left": 200,
"top": 253,
"width": 400,
"height": 251,
"css": "",
"points": "rgb_1",
"rangeX": {
"min": 0,
"max": 1
},
"rangeY": {
"min": 0,
"max": 255
},
"logScaleX": false,
"logScaleY": false,
"id": "plot_2",
"label": "plot_2 (rgb)",
"color": "auto",
"origin": "auto",
"address": "/plot_2",
"preArgs": []
}
],
"rangeX": {
"min": 0,
"max": 1
},
"rangeY": {
"min": 0,
"max": 1
},
"logScaleX": false,
"logScaleY": false,
"type": "tab",
"id": "tab_1",
"color": "auto",
"origin": "auto",
"address": "/plot_1",
"preArgs": []
},
{
"type": "visualizer",
"left": 400,
"top": 0,
"width": "auto",
"height": 122,
"css": "",
"id": "visualizer_(fader_1)",
"widgetId": "fader_1",
"duration": 1,
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"label": "visualizer (fader1)",
"color": "auto",
"origin": "auto",
"address": "/visualizer_(fader_1)",
"preArgs": []
},
{
"type": "rgb",
"id": "rgb_1",
"linkId": "",
"label": "auto",
"left": 0,
"top": 254,
"width": "auto",
"height": "auto",
"css": "",
"layout": "",
"spacing": 0,
"value": "",
"precision": 0,
"split": false,
"address": "/tab_1",
"preArgs": [],
"target": [],
"snap": false,
"address": "/rgb_1",
"preArgs": []
"variables": "@{parent.variables}",
"tabs": [],
"scroll": true
},
{
"type": "plot",
"left": 200,
"top": 253,
"width": 400,
"height": 251,
"css": "",
"points": "rgb_1",
"rangeX": {
"min": 0,
"max": 1
},
"rangeY": {
"min": 0,
"max": 255
},
"logScaleX": false,
"logScaleY": false,
"id": "plot_2",
"label": "plot_2 (rgb)",
"color": "auto",
"origin": "auto",
"address": "/plot_2",
"preArgs": []
}
]
},
{
"label": "Multifader plot !",
"widgets": [
{
"type": "multifader",
"id": "multifader_1",
"strips": 10,
"label": "auto",
"unit": "",
"left": 0,
"top": 0,
"width": 557,
"height": 228,
"range": {
"min": 0,
"max": 1
},
"precision": 2,
"target": [],
"logScale": false,
"css": "",
"alignRight": false,
"horizontal": false,
"noPip": true,
"compact": false,
"color": "auto",
"traversing": true,
"origin": "auto",
"meter": false,
"address": "/multifader_1",
"preArgs": []
},
{
"type": "plot",
"id": "plot_3",
"label": "plot (multifader)",
"left": 0,
"top": 228,
"width": 557,
"height": 220,
"points": "multifader_1",
"rangeX": {
"min": 0,
"max": 1
},
"rangeY": {
"min": 0,
"max": 1
},
"logScaleX": false,
"logScaleY": false,
"css": "z-index:1",
"color": "auto",
"origin": "auto",
"address": "/plot_3",
"preArgs": []
},
{
"type": "multitoggle",
"id": "multitoggle_1",
"label": "auto",
"left": 557,
"top": 0,
"width": 209,
"height": 229,
"css": "",
"precision": 2,
"target": [],
"matrix": [
2,
2
"label": "Multifader plot !",
"widgets": [
{
"type": "multifader",
"id": "multifader_1",
"strips": 10,
"label": "auto",
"unit": "",
"left": 0,
"top": 0,
"width": 557,
"height": 228,
"range": {
"min": 0,
"max": 1
},
"precision": 2,
"target": [],
"logScale": false,
"css": "",
"alignRight": false,
"horizontal": false,
"noPip": true,
"compact": false,
"color": "auto",
"traversing": true,
"origin": "auto",
"meter": false,
"address": "/multifader_1",
"preArgs": [],
"start": 0,
"snap": true,
"value": "",
"split": false
},
{
"type": "plot",
"id": "plot_3",
"label": "plot (multifader)",
"left": 0,
"top": 228,
"width": 557,
"height": 220,
"points": "multifader_1",
"rangeX": {
"min": 0,
"max": 1
},
"rangeY": {
"min": 0,
"max": 1
},
"logScaleX": false,
"logScaleY": false,
"css": "z-index:1",
"color": "auto",
"origin": "auto",
"address": "/plot_3",
"preArgs": []
},
{
"type": "multitoggle",
"id": "multitoggle_1",
"label": "auto",
"left": 557,
"top": 0,
"width": 209,
"height": 229,
"css": "",
"precision": 2,
"target": [],
"matrix": [
2,
2
],
"on": 1,
"off": 0,
"color": "auto",
"traversing": true,
"address": "/multifader_2",
"preArgs": [],
"start": 0,
"value": "",
"split": false
},
{
"type": "plot",
"left": 557,
"top": 228,
"width": 209,
"height": 220,
"css": "",
"label": "plot (toggles)",
"points": "multitoggle_1",
"rangeX": {
"min": 0,
"max": 1
},
"rangeY": {
"min": 0,
"max": 1
},
"logScaleX": false,
"logScaleY": false,
"id": "plot_4",
"color": "auto",
"origin": "auto",
"address": "/plot_4",
"preArgs": []
}
],
"on": 1,
"off": 0,
"type": "tab",
"id": "tab_2",
"color": "auto",
"traversing": true,
"address": "/multifader_2",
"preArgs": []
},
{
"type": "plot",
"left": 557,
"top": 228,
"width": 209,
"height": 220,
"css": "",
"label": "plot (toggles)",
"points": "multitoggle_1",
"rangeX": {
"min": 0,
"max": 1
},
"rangeY": {
"min": 0,
"max": 1
},
"logScaleX": false,
"logScaleY": false,
"id": "plot_4",
"color": "auto",
"origin": "auto",
"address": "/plot_4",
"preArgs": []
}
]
},
{
"label": "Hacking",
"widgets": [
{
"type": "multifader",
"strips": 10,
"unit": "",
"left": 6,
"top": 17,
"width": 564,
"height": 267,
"css": "z-index:8;opacity:0",
"range": {
"min": 0,
"max": 1
},
"precision": 2,
"layout": "",
"spacing": 0,
"value": "",
"precision": 0,
"address": "/tab_2",
"preArgs": [],
"target": [],
"logScale": false,
"id": "multifader_2",
"label": "auto",
"alignRight": false,
"horizontal": false,
"noPip": true,
"compact": false,
"color": "auto",
"traversing": true,
"origin": "auto",
"meter": false,
"address": "/multifader_2",
"preArgs": []
"variables": "@{parent.variables}",
"tabs": [],
"scroll": true
},
{
"type": "plot",
"left": 16,
"top": 41,
"width": 541,
"height": 220,
"points": "multifader_2",
"rangeX": {
"min": 0,
"max": 1
},
"rangeY": {
"min": 0,
"max": 1
},
"logScaleX": false,
"logScaleY": false,
"css": "z-index:1",
"label": "There is a transparent multifader above this plot, just touch it... incredible, isn't it ?",
"id": "plot_7",
"label": "Hacking",
"widgets": [
{
"type": "multifader",
"strips": 10,
"unit": "",
"left": 6,
"top": 17,
"width": 564,
"height": 267,
"css": "z-index:8;opacity:0",
"range": {
"min": 0,
"max": 1
},
"precision": 2,
"target": [],
"logScale": false,
"id": "multifader_2",
"label": "auto",
"alignRight": false,
"horizontal": false,
"noPip": true,
"compact": false,
"color": "auto",
"traversing": true,
"origin": "auto",
"meter": false,
"address": "/multifader_2",
"preArgs": [],
"start": 0,
"snap": true,
"value": "",
"split": false
},
{
"type": "plot",
"left": 16,
"top": 41,
"width": 541,
"height": 220,
"points": "multifader_2",
"rangeX": {
"min": 0,
"max": 1
},
"rangeY": {
"min": 0,
"max": 1
},
"logScaleX": false,
"logScaleY": false,
"css": "z-index:1",
"label": "There is a transparent multifader above this plot, just touch it... incredible, isn't it ?",
"id": "plot_7",
"color": "auto",
"origin": "auto",
"address": "/plot_6",
"preArgs": []
}
],
"type": "tab",
"id": "tab_3",
"color": "auto",
"origin": "auto",
"address": "/plot_6",
"preArgs": []
"css": "",
"layout": "",
"spacing": 0,
"value": "",
"precision": 0,
"address": "/tab_3",
"preArgs": [],
"target": [],
"variables": "@{parent.variables}",
"tabs": [],
"scroll": true
}
]
],
"color": "auto",
"css": "",
"value": "",
"precision": 0,
"address": "/root",
"preArgs": [],
"target": [],
"variables": {},
"id": "root",
"scroll": true,
"label": false
}
]