Gui Bug

Home Forums Control Gui Bug

This topic contains 0 replies, has 1 voice, and was last updated by  kyred 5 years ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #93277

    kyred
    Member

    Look at this knob bottom right, why do I need to refresh or reload the sketch to get the correct size??

    Any help ….

     

    loadedInterfaceName = “thefitn.js”;
    interfaceOrientation = “landscape”;
    infoText = “RĂ©alisation Studio CreArtCom http://www.creartcom.eu“;

    pages = [ [
    { “name”: “boucleButton”, “type”: “Button”, “label”:”BOUCLE”,”x”: “0.2375”, “y”: “0.315625”, “width”: “0.0604166666666667”, “height”: “0.090625”, “min”: “0”, “max”: “1”, “color”: “red”, “stroke”: “yellow”, “mode”: “toggle”, },

    { “name”: “reverseButton”, “type”: “Button”, “label”:”REVERSE”, “x”: “0.3275”, “y”: “0.315625”, “width”: “0.0604166666666667”, “height”: “0.090625”, “min”: “0”, “max”: “1”, “color”: “red”, “stroke”: “yellow”, “mode”: “toggle”, },

    { “name”: “reverbButton”, “type”: “Button”,”label”:”REVERB”,”labelSize”:”17″, “x”: “0.0666666666666667”, “y”: “0.609375”, “width”: “0.122916666666667”, “height”: “0.085”, “min”: “0”, “max”: “1”, “color”: “red”, “stroke”: “yellow”, “mode”: “toggle”, },

    { “name”: “distoButton”, “type”: “Button”, “x”: “0.2375”, “y”: “0.609375”, “width”: “0.122916666666667”, “height”: “0.085”, “min”: “0”, “max”: “1”, “color”: “red”, “label”:”DISTO”,”labelSize”:”17″,”stroke”: “yellow”, “mode”: “toggle”, },

    { “name”: “phaserButton”, “type”: “Button”, “x”: “0.0666666666666667”, “y”: “0.74375”, “width”: “0.122916666666667”, “height”: “0.085”, “min”: “0”, “max”: “1”,”color”: “red”, “label”:”PHASER”,”labelSize”:”17″,”stroke”: “yellow”, “mode”: “toggle”,},

    { “name”: “echoButton”, “type”: “Button”, “x”: “0.2375”, “y”: “0.74375”, “width”: “0.122916666666667”, “height”: “0.085”, “min”: “0”, “max”: “1”, “color”: “red”, “label”:”ECHO”,”labelSize”:”17″,”stroke”: “yellow”, “mode”: “toggle”, },

    { “name”: “ringmodButton”, “type”: “Button”, “labelSize”:”17″,”label”:”RINGMOD”,”x”: “0.0666666666666667”, “y”: “0.878125”, “width”: “0.122916666666667”, “height”: “0.085”, “min”: “0”, “max”: “1”, “color”: “red”, “stroke”: “yellow”, “mode”: “toggle”,},
    { “name”: “cutoffButton”, “type”: “Button”,”labelSize”:”17″, “label”:”CUTOFF”,”x”: “0.2375”, “y”: “0.878125”, “width”: “0.122916666666667”, “height”: “0.085”, “min”: “0”, “max”: “1”, “address”: “/cutoffButton”, “color”: “red”, “stroke”: “yellow”, “mode”: “toggle”, },
    { “name”: “bank1button”, “type”: “Button”, “label”:”1″,”labelSize”:”50″, “x”: “0.0583333333333333”, “y”: “0.071875”, “width”: “0.08125”, “height”: “0.121875”, “min”: “0”, “max”: “1”, “address”: “/bank1button”, “color”: “red”, “stroke”: “yellow”, “mode”: “latch”, },

    { “name”: “bank2button”, “type”: “Button”, “label”:”2″,”labelSize”:”50″,”x”: “0.175”, “y”: “0.071875”, “width”: “0.08125”, “height”: “0.121875”, “min”: “0”, “max”: “1”, “address”: “/bank2button”, “color”: “red”, “stroke”: “yellow”, “mode”: “latch”,},

    { “name”: “bank3button”, “type”: “Button”, “label”:”3″,”labelSize”:”50″,”x”: “0.289583333333333”, “y”: “0.071875”, “width”: “0.08125”, “height”: “0.121875”, “min”: “0”, “max”: “1”, “address”: “/bank3button”, “color”: “red”, “stroke”: “yellow”, “mode”: “latch”,},

    { “name”: “bank4button”, “type”: “Button”, “label”:”4″,”labelSize”:”50″,”x”: “0.40625”, “y”: “0.071875”, “width”: “0.08125”, “height”: “0.121875”, “min”: “0”, “max”: “1”, “address”: “/bank4button”, “color”: “red”, “stroke”: “yellow”, “mode”: “latch”, },
    { “name”: “muteButton”, “type”: “Button”, “label”:”MUTE”,”labelSize”:”20″,”x”: “0.5604166666666667”, “y”: “0.065625”, “width”: “0.122916666666667”, “height”: “0.075”, “min”: “0”, “max”: “1”, “address”: “/muteButton”,”color”: “red”, “stroke”: “yellow”, “mode”: “toggle”,},

    { “name”: “soloButton”, “type”: “Button”, “label”:”SOLO”,”labelSize”:”20″, “x”: “0.5604166666666667”, “y”: “0.178125”, “width”: “0.122916666666667”, “height”: “0.075”, “min”: “0”, “max”: “1”,”backgroundColor”: “rgba(75,75,75,.5)”, “color”: “red”, “stroke”: “yellow”, “mode”: “toggle”, },

    { “name”: “stopButton”, “type”: “Button”, “label”:”STOP”,”labelSize”:”40″, “x”: “0.0604166666666667”, “y”: “0.3”, “width”: “0.122916666666667”, “height”: “0.184375”, “min”: “0”, “max”: “1”, “backgroundColor”: “rgba(75,75,75,.5)”,”color”: “red”, “stroke”: “yellow”, “mode”: “contact”,},

     

    {
    “name”: “volBackground”,
    “type”: “Label”,
    “bounds”: [0.8734, 0.1, 0.1, 0.456],
    “stroke”: “#aaa”,
    “backgroundColor”: “#FFFF00”,
    “value”: “”,
    },

    { “name”: “vol”, “type”: “Slider”, “x”: “0.8804”, “y”: “0.10”, “width”: “0.085”, “height”: “0.45”, “min”: “0”, “max”: “1”, “color”: “#FF0000”, “stroke”: “#FFFF00”, “isVertical”: true, “isXFader”: false, “onvaluechange”: “”, “startingValue”: “”,},
    {
    “name”: “hiEqBackground”,
    “type”: “Label”,
    “bounds”: [0.495, 0.2825, 0.308, 0.07],
    “stroke”: “”,
    “backgroundColor”: “#FFFF00”,
    “value”: “”,
    },
    { “name”: “hiEq”, “type”: “Slider”, “x”: “0.5”, “y”: “0.2875”, “width”: “0.3”, “height”: “0.06”, “min”: “0”, “max”: “1”, “color”: “#FF0000”, “stroke”: “#FFFF00”, “isVertical”: false, “isXFader”: false, “onvaluechange”: “”, “startingValue”: “”,},

    {
    “name”: “medEqBackground”,
    “type”: “Label”,
    “bounds”: [0.495, 0.385, 0.308, 0.07],
    “stroke”: “”,
    “backgroundColor”: “#FFFF00”,
    },

    { “name”: “medEq”, “type”: “Slider”, “x”: “0.5”, “y”: “0.39”, “width”: “0.3”, “height”: “0.06”, “min”: “0”, “max”: “1”,”color”: “#FF0000”, “stroke”: “#FFFF00”, “isVertical”: false, “isXFader”: false,},

    {
    “name”: “lowEqBackground”,
    “type”: “Label”,
    “bounds”: [0.495, 0.485, 0.308, 0.07],
    “stroke”: “#aaa”,
    “backgroundColor”: “#FFFF00”,
    “value”: “”,
    },

    { “name”: “lowEq”, “type”: “Slider”, “x”: “0.50”, “y”: “0.49”, “width”: “0.3”, “height”: “0.06”, “min”: “0”, “max”: “1”, “color”: “#FF0000”, “stroke”: “#FFFF00”, “isVertical”: false, “isXFader”: false,},

     

     

    {
    “name”: “padhighlight”,
    “type”: “Button”,
    “x”: “0.4125”,
    “y”: “0.63125”,
    “width”: “0.25625”,
    “height”: “0.309375”,
    “min”: “0”,
    “max”: “1”,
    “address”: “/padred”,
    “color”: “red”,
    “stroke”: “red”,
    “mode”: “momentary”,
    },
    {
    “name”: “padlabel”,
    “type”: “Label”,
    “x”: “0.45”,
    “y”: “0.61876”,
    “width”: “0.01”,
    “height”: “0.01”,
    “value”: “PAD”,
    “align”: “center”,
    “verticalCenter”:”false”,
    “color”:”#FFFF00″,
    “size”: 20,
    },

    {
    “name” : “padXY”,
    “type” : “MultiTouchXY”,
    “bounds”: [0.4125,0.63125,0.25625,0.309375],
    “isMomentary”: true,
    “maxTouches”: 1,
    “color”: “red”, “stroke”: “yellow”,
    },
    { “name”: “hilabel”, “type”: “Label”,”x”: “0.426583333333333”, “y”: “0.290”, “width”: “0.0772916666666667”, “height”: “0.06328125”, “value”: “AIGU”,
    “align”:”center”,”verticalCenter”:”false”, “color”:”#FFFF00″, “size”: 20,},
    { “name”: “medlabel”, “type”: “Label”, “x”: “0.390583333333333”, “y”: “0.39”, “width”: “0.1234375”, “height”: “0.06328125”, “value”: “MEDIUM”, “align”:”center”, “verticalCenter”:”false”, “color”:”#FFFF00″, “size”: 20,},
    { “name”: “lowlabel”, “type”: “Label”, “x”: “0.405583333333333”, “y”: “0.49”, “width”: “0.100416666666667”, “height”: “0.06328125”, “value”: “GRAVE”, “align”:”center”, “verticalCenter”:”false”, “color”:”#FFFF00″, “size”: 20,},
    {
    “name”: “scratchlabel”,
    “type”: “Label”,
    “x”: “0.7205”,
    “y”: “0.61876”,
    “width”: “0.1940625”,
    “height”: “0.01”,
    “value”: “SCRATCHBOX”,
    “align”:”center”,
    “verticalCenter”:”false”,
    “color”:”#FFFF00″,
    “size”: 20,
    },
    {
    “name”: “scratchbackground”,
    “type”: “Button”,
    “mode”:”latch”,
    “x”:”0.71633333333″,
    “y”: “0.63125”,
    “width”: “0.25625”,
    “height”: “0.309375”,
    “color”:”#FFFF00″,
    “stroke”: “#FFFF00”,
    },

    { “name”: “scratchknob”, “type”: “Knob”, “x”: “0.73”, “y”: “0.64”, “min”: “0”, “max”: “1”, “address”: “/scratchknob”, “color”: “red”, “stroke”: “yellow”, “radius”: “0.3”, “usesRotation”: true, “centerZero”: false, “startingValue”: “0”, },
    { “name”: “panlabel”, “type”: “Label”, “x”: “0.75125”, “y”: “0.025”, “width”: “0.063”, “height”: “0.06328125”, “value”: “PAN”, “align”: “center”,”verticalCenter”:”false”, “color”:”#FFFF00″, “size”: 20,},

    { “name”: “panknob”, “type”: “Knob”, “x”: “0.72375”, “y”: “0.10”, “width”: “0.0604”, “height”: “0.0594”, “min”: “0”, “max”: “1”, “color”: “red”, “stroke”: “yellow”, “radius”: “0.15”, “usesRotation”: true, “centerZero”: true, “startingValue”: “0”,},
    { “name”: “vollabel”, “type”: “Label”, “x”: “0.88216666666667”, “y”: “0.025”, “width”: “0.0629166666666667”, “height”: “0.06328125”, “value”: “VOL”,”align”: “right”, “verticalCenter”:”false”, “color”:”#FFFF00″, “size”: 20,},

    {
    “name”: “banklabel”,
    “type”: “Label”,
    “x”: “0.05625”,
    “y”: “0.00805”,
    “width”: “0.0821875”,
    “height”: “0.06296875”,
    “value”: “CLIP…………………………………………………………….”,
    “verticalCenter”: “false”,
    “align”: “left”,
    “color”:”#FFFF00″,
    “size”: 20,
    },

    //marqueur de position pour EQ high
    { “name”: “markEqH”, “type”: “Label”, “x”: “0.75”, “y”: “0.25”, “width”: “0.001”, “height”: “0.06328125”, “value”: “|”,”align”: “right”, “verticalCenter”:”false”, “color”:”#FF0000″, “size”: 20,},

    //marqueur de position pour les EQ Med
    { “name”: “markEqH”, “type”: “Label”, “x”: “0.75”, “y”: “0.355”, “width”: “0.001”, “height”: “0.06328125”, “value”: “|”,”align”: “right”, “verticalCenter”:”false”, “color”:”#FF0000″, “size”: 20,},

    //marqueur de position pour les EQ Low
    { “name”: “markEqH”, “type”: “Label”, “x”: “0.75”, “y”: “0.45”, “width”: “0.001”, “height”: “0.06328125”, “value”: “|”,”align”: “right”, “verticalCenter”:”false”, “color”:”#FF0000″, “size”: 20,},
    //marqueur de position pour VOL
    { “name”: “markEqH”, “type”: “Label”, “x”: “0.87”, “y”: “0.14”, “width”: “0.001”, “height”: “0.06328125”, “value”: “–”,”align”: “right”, “verticalCenter”:”false”, “color”:”#FF0000″, “size”: 24,},

    //Bouton pour sortir de l’interface
    { “name”: “tabButton”, “type”: “Button”, “x”: .0, “y”: .9, “width”: .03, “height”: .045, “color”: “#333”, “isLocal”: true, “ontouchstart”: “if(this.value == this.max) { control.showToolbar(); } else { control.hideToolbar(); }”,},
    ], ];

     

    • This topic was modified 5 years ago by  kyred.
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

This work is licensed under GPL - 2009 | Powered by Wordpress using a heavily modified version of the theme aav1