- removing "stack" widget

- adding "strip" widget, which can be vertical/horizontal and can stretch inner widgets
- todo : different modes for for "strip" widget inner layout
This commit is contained in:
jean-emmanuel 2015-09-12 21:22:55 +02:00 • committed by bordun
parent 4174331a3c
commit ae94b4bb4e
9 changed files with 1167 additions and 664 deletions

View file

@ -24,6 +24,8 @@ $color-border:mix($color-fg,$color-base,65);
$nav-height:50px;
$bg-button-flat:rgba(white,.05);
$bg-button-fade:linear-gradient(mix($color-text,$color-fg,5), mix($color-text,$color-fg,1));
$bg-button:linear-gradient(mix($color-text,$color-fg,8), mix($color-text,$color-fg,5));
$bg-button-hover:linear-gradient(mix($color-text,$color-fg,10), mix($color-text,$color-fg,7));
$bg-button-on:linear-gradient(mix($color-text,$color-bg,0), mix($color-text,$color-bg,5));
@ -426,22 +428,6 @@ a {
}
.test.tab.on {
display:flex;width:100%;
flex-wrap: wrap;
flex-direction:column;
//justify-content: stretch;
> .widget {
height:33.33%;
padding-bottom:10px;
//flex: 1
}
}
#loading {
position: absolute;
top:50%;
@ -568,17 +554,20 @@ form {
.widget {
display:inline-block;
height:100%;
height:auto;
overflow: visible;
position:relative;
font-size:13px;
// box-shadow: 0 0 0 1px $color-border;
padding-top:35px;
//padding-bottom: 8px;
vertical-align:top;
// overflow: hidden;
border: 10px solid $color-fg;
border-width:10px 5px 5px;
border: 6px solid $color-fg;
border-width:6px 3px;
&:first-child {
border-left-width:6px;
}
&:last-child {
border-right-width:6px;
}
.label {
z-index: 1;
@ -590,9 +579,8 @@ form {
text-overflow:ellipsis;
overflow:hidden;
height:35px;
//border-radius:2px 2px 0 0 ;
background:$bg-button;
box-shadow: 0 0 0 1px $color-bg inset;
background:$bg-button-flat;
// box-shadow: 0 0 0 1px $color-bg inset;
&.accent {
color:$color-accent;
}
@ -616,19 +604,66 @@ form {
/* STRIP (contains any widgets) */
.strip-container {
height:100%;
&.no-stretch {
height:auto;
min-height:100%;
.widget {
height: auto;
}
}
&.horizontal .strip {
flex-direction: row;
}
.strip {
height: 100%;
display: flex;
flex-direction: column;
.widget {
display: block;
border-left:0;
border-right:0;
border-bottom:0;
.label {
background:$bg-button-fade;
box-shadow:none
}
}
}
}
/* BUTTONS */
.toggle-container {
width:100px;
flex-shrink: 0
}
.toggle {
width:95px;
padding:10px 1px 0;
cursor: pointer;
div {
border:1px solid $color-border;
&:hover {
background: $bg-button-hover;
}
width:100%;
text-align: center;
padding-bottom: 100%;
padding-bottom: 50%;
position: relative;
p {
white-space: nowrap;
@ -645,7 +680,7 @@ form {
}
}
background:$bg-button;
box-shadow: 0 0 0 1px $color-bg inset;
// box-shadow: 0 0 0 1px $color-bg inset;
color:$color-text-fade;
}
&.on {
@ -668,120 +703,71 @@ form {
}
.stack .toggle {
float:right;
width:70%;
padding: 0 0 0 10px;
position: static;
div {
padding-bottom: 50%;
}
}
.switch {
width:95px;
height:100%;
padding:10px 1px 0;
cursor: pointer;
display: flex;
flex-direction:column;
align-items: stretch;
.value {
background:$bg-button;
color:$color-text-fade;
display: flex;
align-items: center;
justify-content: center;
.switch-container {
height: 100%;
width:100px;
.switch {
height:100%;
width:100%;
margin-bottom:2px;
position: relative;
box-shadow: 0 0 0 1px $color-bg inset;
span {
padding:10px;
white-space: normal;
word-break: break-all;
overflow: hidden;
padding:10px 1px 0;
cursor: pointer;
display: flex;
flex-direction:column;
align-items: stretch;
.value {
background:$bg-button;
color:$color-text-fade;
display: flex;
align-items: center;
justify-content: center;
height:100%;
width:100%;
margin-bottom:2px;
position: relative;
z-index: 1;
}
&:last-child {
margin-bottom:0;
}
&.on {
box-shadow: 0 0 0 1px $color-bg inset;
span {
color:$color-border;
padding:10px;
white-space: normal;
word-break: break-all;
overflow: hidden;
position: relative;
z-index: 1;
}
&:after {
content:"";
position: absolute;
top:10px;
left:10px;
right:10px;
bottom:10px;
background:$color-accent;
z-index:0;
border-radius: 3px;
opacity: .6;
&:last-child {
margin-bottom:0;
}
&.on {
span {
color:$color-border;
}
&:after {
content:"";
position: absolute;
top:10px;
left:10px;
right:10px;
bottom:10px;
background:$color-accent;
z-index:0;
border-radius: 3px;
opacity: .6;
}
}
}
}
}
.stack .switch {
float:right;
width:70%;
height:70px;
padding: 0 0 0 10px;
position: static;
flex-direction:row;
.value {
margin-bottom:0px;
margin-right:2px;
&:last-child {
margin-right:0;
}
}
}
/* STACK (contains any widgets) */
.stack {
width:400px;
height:auto;
padding-bottom:0;
border-bottom: 0;
}
.stack .widget {
width:100%;
display:block;
padding:0;
border-top:0;
border-right:0;
border-left:0;
margin-top: 10px;
&:after {
content:"";
display:block;
clear:both;
}
}
.stack .widget .label {
width:30%;
height:35px;
}
/* XY */
.xy-wrapper {
.xy-container, .rgb-container {
width:300px;
}
.xy-wrapper {
padding: 10px 0px 5px;
overflow: hidden;
.value {
@ -848,13 +834,6 @@ form {
}
.stack .xy-wrapper {
float:right;
width:70%;
padding-bottom:0;
padding-left:10px;
}
.rgb-wrapper {
input {
@ -933,251 +912,273 @@ form {
}
.fader-wrapper-outer {
padding-bottom:30px;
overflow:hidden;
// FADER
.fader-container {
width:100px;
height:100%;
position: relative;
input {
position:absolute;
bottom:0;
box-shadow: 0 0 1px 0 $color-border inset;
}
}
min-height: 300px;
.fader-wrapper {
padding:20px 15px 20px 20px ;
overflow:hidden;
height:100%;
width:95px;
position: relative;
.fader {
height:100%;
width:4px;
background:rgba($color-base,.4);
position: relative;
.handle {
position: absolute;
bottom:0!important;
top:auto!important;
width:100%;
height:0px;
max-height:100%;
max-width:100%;
cursor: -webkit-grab;
background:$color-accent;
z-index: 1;
&:after { //.ui-resizable-handle {
content:"";
position: absolute;
height:2000px;
width:2000px;
margin:-1000px 0 0 -1000px;
}
}
}
.pips {
position: absolute;
top:-1%;
bottom:1%;
left:14px;
}
.pip {
height:1%;
width:4px;
border-bottom:1px solid $color-text;
&.val {
width:10px;
position: relative;
span {
position: relative;
width:30px;
display: block;
text-align: center;
font-size:11px;
line-height: 12px;
left:15px;
top:-2px;
color:$color-text;
}
}
}
}
.stack .fader-wrapper-outer {
padding-bottom: 0;
input {
width:30%;
height:35px;
left:0;
right:auto;
border-top:0;
top:35px;
}
.fader {
width:100%;
height:4px;
.handle {
height:100%!important;
width:0;
}
}
.fader-wrapper-outer {
padding:0;
}
.fader-wrapper {
padding:20px 20px;
float:right;
width:70%;
height:70px;
}
.pips {
top:14px;left:0;
right:0;
display: flex;
flex-direction:row;
align-items: stretch;
}
.pip {
padding-bottom:30px;
width:100%;
display: block;
height:4px;
border-bottom:0;
border-right:1px solid $color-text-fade;
&.val {
width:1%;
float:left;
height:10px;
span {
top:15px;
left:-15px;
position: absolute;
top:35px;
bottom:0;
input {
position:absolute;
bottom:0;
box-shadow: 0 0 1px 0 $color-border inset;
}
}
.fader-wrapper {
padding:20px;
overflow:hidden;
height:100%;
position: relative;
.fader {
height:100%;
width:4px;
background:rgba($color-base,.4);
position: relative;
.handle {
position: absolute;
bottom:0!important;
top:auto!important;
width:100%;
height:0px;
max-height:100%;
max-width:100%;
cursor: -webkit-grab;
background:$color-accent;
z-index: 1;
&:active {
cursor: -webkit-grabbing;
}
&:after {
content:"";
position: absolute;
height:2000px;
width:2000px;
margin:-1000px 0 0 -1000px;
}
}
}
.pips {
position: absolute;
top:-1%;
bottom:1%;
left:14px;
.pip {
height:1%;
width:4px;
border-bottom:1px solid $color-text;
&.val {
width:10px;
position: relative;
span {
position: relative;
width:30px;
display: block;
text-align: center;
font-size:11px;
line-height: 12px;
left:15px;
top:-2px;
color:$color-text;
}
}
}
}
}
}
.knob-wrapper-outer {
padding-bottom:35px;
overflow:hidden;
width:100%;
position: relative;
input {
position:absolute;
bottom:0;
box-shadow: 0 0 1px 0 $color-border inset;
}
}
.knob-wrapper {
padding:20px 20px 20px 20px ;
overflow:hidden;
//height:100%;
width:120px;
position: relative;
.knob-mask {
width:100%;
padding-bottom:100%;
border-radius:100%;
position: relative;
&:before {
content:"";
position:absolute;
top:0;left:0;
right:0;
// Horizontal fader -> TODO
// .stack .fader-container {
// min-height: 80px;
// .fader-wrapper-outer {
// padding-bottom: 0;
// input {
// width:30%;
// height:35px;
// left:0;
// right:auto;
// border-top:0;
// top:35px;
// }
// .fader {
// width:100%;
// height:4px;
// .handle {
// height:100%!important;
// width:0;
// }
// }
// .fader-wrapper {
// padding:20px 20px;
// float:right;
// width:70%;
// height:70px;
// }
// .pips {
// top:14px;left:0;
// right:0;
// display: flex;
// flex-direction:row;
// align-items: stretch;
// }
// .pip {
// width:100%;
// display: block;
// height:4px;
// border-bottom:0;
// border-right:1px solid $color-text-fade;
// &.val {
// width:1%;
// float:left;
// height:10px;
// span {
// top:15px;
// left:-15px;
// }
// }
// }
// }
// }
.knob-container {
width: 100px;
flex-shrink: 0;
.knob-wrapper-outer {
// padding-bottom: 35px;
width: 100%;
// position: absolute;
top: 0;
bottom: 0;
input {
// position:absolute;
bottom:0;
border-radius:100%;
border:4px solid $color-border;
border-bottom-color: transparent;
pointer-events: none;z-index:0;
}
&:after {
content:"";
position:absolute;
top:0px;left:-3px;
right:-3px;
bottom:-2px;
border-radius:100%;
border:12px solid transparent;
border-bottom-color: $color-fg;
pointer-events: none;
}
}
.knob {
position:absolute;
top:0;left:0;
right:0;
bottom:0;
// background: $color-bg;
// box-shadow: 0 0 0 2px $color-border;
cursor: -webkit-grab;
&:active {
cursor: -webkit-grabbing;
}
&:before {
content:"";
position:absolute;
top:15px;left:15px;
right:15px;
bottom:15px;
border-radius:100%;
background:$bg-button-flat;
z-index: 100;
//border:1px dashed $color-fg;
}
&:after {
content:"";
position:absolute;
top:0;left:0;
right:0;
bottom:0;
border-radius:100%;
border:4px solid transparent;
border-bottom-color: $color-accent;
box-shadow: 0 0 1px 0 $color-border inset;
}
&.d2:after {
border-right-color: $color-accent;
}
&.d3:after {
border-top-color: $color-accent;
border-right-color: $color-accent;
}
}
.pip {
position:absolute;
font-size:11px;
color:$color-text;
&.min {
bottom:10px;
right:50%;
margin-right:35px;
text-align:right;
}
&.max {
bottom:10px;
left:50%;
margin-left:35px;
text-align:left;
.knob-wrapper {
padding:20px 20px 20px 20px ;
overflow:hidden;
//height:100%;
width:95px;
position: relative;
.knob-mask {
width:100%;
padding-bottom:100%;
border-radius:100%;
position: relative;
&:before {
content:"";
position:absolute;
top:0;left:0;
right:0;
bottom:0;
border-radius:100%;
border:4px solid $color-border;
border-bottom-color: transparent;
pointer-events: none;z-index:0;
}
&:after {
content:"";
position:absolute;
top:0px;left:-3px;
right:-3px;
bottom:-2px;
border-radius:100%;
border:12px solid transparent;
border-bottom-color: $color-fg;
pointer-events: none;
}
}
.knob {
position:absolute;
top:0;left:0;
right:0;
bottom:0;
cursor: -webkit-grab;
&:active {
cursor: -webkit-grabbing;
}
&:before {
content:"";
position:absolute;
top:15px;left:15px;
right:15px;
bottom:15px;
border-radius:100%;
background:$bg-button-flat;
z-index: 100;
//border:1px dashed $color-fg;
}
&:after {
content:"";
position:absolute;
top:0;left:0;
right:0;
bottom:0;
border-radius:100%;
border:4px solid transparent;
border-bottom-color: $color-accent;
}
&.d2:after {
border-right-color: $color-accent;
}
&.d3:after {
border-top-color: $color-accent;
border-right-color: $color-accent;
}
// no color gauge test
&.dot:after {
content:"";
position:absolute;
bottom:11px;
left:12px;
height:4px;
width:4px;
transform: rotate(45deg);
background:$color-accent;
border:0!important;
}
}
.pip {
position:absolute;
font-size:11px;
color:$color-text;
&.min {
bottom:10px;
left:0;
right:50%;
width:50%;
text-align:center;
}
&.max {
bottom:10px;
left:50%;
width:50%;
right:0;
text-align:center;
}
}
}
}
}
.stack .knob-wrapper-outer {
padding-bottom: 0;
input {
width:30%;
height:35px;
left:0;
right:auto;
border-top:0;
top:35px;
}
.knob-wrapper{
margin:0 auto;
right:-15%;
}
}

View file

@ -49,6 +49,8 @@ parsewidgets = function(widgets,parent) {
color = '',
accentclass = '';
widgetData.path = path
if (widgetData.color && widgetData.color=='accent') {
accentclass = 'accent'
} else if (widgetData.color) {
@ -56,7 +58,7 @@ parsewidgets = function(widgets,parent) {
}
var widget = $('\
<div class="widget" widgetType="'+type+'" widgetId="'+id+'" path="'+path+'">\
<div class="widget '+type+'-container" widgetType="'+type+'" widgetId="'+id+'" path="'+path+'">\
<div class="label '+accentclass+'" '+color+'>'+label+'</div>\
</div>\
');

View file

@ -20,6 +20,18 @@ createWidget.stack = function(widgetData) {
return widget;
}
createWidget.strip = function(widgetData) {
var widget = $('\
<div class="strip">\
</div>\
');
parsewidgets(widgetData.widgets,widget)
widget.getValue = function(){return}
widget.setValue = function(){return}
return widget;
}
createWidget.toggle = createWidget.button = function(widgetData) {
@ -454,8 +466,6 @@ createWidget.fader = function(widgetData,parent){
},{ relative:true });
widgetData.range = widgetData.range || {'min':0,'max':1}
widgetData.range = (widgetData.range=='db')?{'min': -70,'20%': -40,'45%': -20,'60%': -10,'71%':-6,'78%':-3,'85%':0,'92%':3,'max': 6}:widgetData.range;
var range = {}
for (k in widgetData.range) {
@ -473,7 +483,8 @@ createWidget.fader = function(widgetData,parent){
for (i in scale) {
var pip = $('<div class="pip"></div>')
if (range[i]!=undefined) {
pip.addClass('val').append('<span>'+range[i]+'</span>')
var piptext = Math.abs(range[i])>1000?range[i]/1000+'k':range[i]
pip.addClass('val').append('<span>'+piptext+'</span>')
}
pips.append(pip)
}
@ -571,8 +582,11 @@ createWidget.knob = function(widgetData,parent) {
unit = widgetData.unit?' '+widgetData.unit.trim(): '';
widget.find('.pip.min').text(range.min)
widget.find('.pip.max').text(range.max)
var pipmin = Math.abs(range.min)>1000?range.min/1000+'k':range.min,
pipmax = Math.abs(range.max)>1000?range.max/1000+'k':range.max;
widget.find('.pip.min').text(pipmin)
widget.find('.pip.max').text(pipmax)
knob.css('transform','rotate(45deg)').drag('init',function(){
offR = knob.getRotation()

View file

@ -2,8 +2,8 @@
"presetPath": "/home/bordun/oscwork/oschtmlgui/presets/",
"sessionPath": "/home/bordun/oscwork/oschtmlgui/sessions/",
"recentSessions": [
"/home/bordun/oscwork/oschtmlgui/sessions/sebkhachott.js",
"/home/bordun/oscwork/oschtmlgui/sessions/demo.js",
"/home/bordun/oscwork/oschtmlgui/sessions/sebkhachott.js",
"/home/bordun/oscwork/oschtmlgui/sessions/monitorsdagz.js",
"/home/bordun/oscwork/oschtmlgui/sessions/monitorsjeannot.js",
"/home/bordun/oscwork/oschtmlgui/sessions/monitorsorl.js"

View file

@ -1,5 +1,262 @@
nmRange = {'min': -70,'20%': -40,'45%': -20,'60%': -10,'71%':-6,'78%':-3,'85%':0,'92%':3,'max': 6}
TABS =
[
{
id:"lines",
widgets: [
{
id:"strip",
type:"strip",
widgets:[
{
id: "a",
type:"knob",
range:{min:4000,max:2000}
}
,
{
id: "a",
type:"fader",
range:{min:0,10:50,100:50000},
target:'127.0.0.1:6666'
}
,
{
id: "a",
type:"toggle"
}
]
},
{
id:"strip",
type:"strip",
widgets:[
{
id: "a",
type:"knob"
}
,
{
id: "a",
type:"fader"
}
,
{
id: "a",
type:"toggle"
}
]
},
{
id:"strip",
type:"strip",
widgets:[
{
id: "a",
type:"knob"
}
,
{
id: "a",
type:"fader"
}
,
{
id: "a",
type:"toggle"
}
]
},
{
id:"strip",
type:"strip",
widgets:[
{
id: "a",
type:"knob"
}
,
{
id: "a",
type:"fader"
}
,
{
id: "a",
type:"toggle"
}
]
},
{
id:"strip",
type:"strip",
widgets:[
{
id: "a",
type:"knob"
}
,
{
id: "a",
type:"fader"
}
,
{
id: "a",
type:"toggle"
}
]
},
{
id:"strip",
type:"strip",
widgets:[
{
id: "a",
type:"knob"
}
,
{
id: "a",
type:"fader"
}
,
{
id: "a",
type:"toggle"
}
]
},
{
id:"strip",
type:"strip",
widgets:[
{
id: "a",
type:"knob"
}
,
{
id: "a",
type:"fader"
}
,
{
id: "a",
type:"toggle"
}
]
},
{
id:"strip",
type:"strip",
widgets:[
{
id: "a",
type:"knob"
}
,
{
id: "a",
type:"fader"
}
,
{
id: "a",
type:"toggle"
}
]
},
{
id:"strip",
type:"strip",
widgets:[
{
id: "a",
type:"knob"
}
,
{
id: "a",
type:"fader"
}
,
{
id: "a",
type:"toggle"
}
]
},
{
id:"strip",
type:"strip",
widgets:[
{
id: "a",
type:"knob"
}
,
{
id: "a",
type:"fader"
}
,
{
id: "a",
type:"toggle"
}
]
},
{
id:"strip",
type:"strip",
widgets:[
{
id: "a",
type:"knob"
}
,
{
id: "a",
type:"fader"
}
,
{
id: "a",
type:"toggle"
}
]
},
{
id:"strip",
type:"strip",
widgets:[
{
id: "a",
type:"knob"
}
,
{
id: "a",
type:"fader"
}
,
{
id: "a",
type:"toggle"
}
]
}
]
},
{
id: "testingshits",
widgets: [
@ -9,6 +266,7 @@ TABS =
target: "localhost:6666",
path: "/osc/path/",
color: "cyan",
unit:'xx',
range: {
min: -70,
max: 6
@ -23,8 +281,8 @@ TABS =
values: [0,1,2,3,4,6,7]
},
{
id: "stacktest",
type: "stack",
id: "striptest",
type: "strip",
widgets: [
{
id: "BassesXXXa",
@ -48,7 +306,7 @@ TABS =
{
id: "BassesXXX",
label: "BassesXXX",
range: "db",
range: nmRange,
target: "localhost:6666 127.0.0.1:125",
path: "/test2"
},
@ -62,7 +320,7 @@ TABS =
{
id: "xGuitars",
label: "Guitars",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/Guitars/Gain/Gain%20(dB)/unscaled"
},
@ -106,56 +364,56 @@ TABS =
{
id: "Drums",
label: "Drums",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/Drums/Gain/Gain%20(dB)/unscaled"
},
{
id: "Basses",
label: "Basses",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/Basses/Gain/Gain%20(dB)/unscaled"
},
{
id: "Guitars",
label: "Guitars",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/Guitars/Gain/Gain%20(dB)/unscaled"
},
{
id: "MxSynths",
label: "MxSynths",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/MxSynths/Gain/Gain%20(dB)/unscaled"
},
{
id: "MxDrums",
label: "MxDrums",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/MxDrums/Gain/Gain%20(dB)/unscaled"
},
{
id: "Vocals",
label: "Vocals",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/Vocals/Gain/Gain%20(dB)/unscaled"
},
{
id: "Acoustics",
label: "Acoustics",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/Acoustics/Gain/Gain%20(dB)/unscaled"
},
{
id: "FOH",
label: "FOH",
range: "db",
range: nmRange,
target: "localhost:6678",
path: "/strip/FOH/Gain/Gain%20(dB)/unscaled",
color: "#777"
@ -173,42 +431,42 @@ TABS =
{
id: "Kick",
label: "Kick",
range: "db",
range: nmRange,
target: "localhost:6667",
path: "/strip/Kick/Gain/Gain%20(dB)/unscaled"
},
{
id: "Snare",
label: "Snare",
range: "db",
range: nmRange,
target: "localhost:6667",
path: "/strip/Snare/Gain/Gain%20(dB)/unscaled"
},
{
id: "Toms",
label: "Toms",
range: "db",
range: nmRange,
target: "localhost:6667",
path: "/strip/Toms/Gain/Gain%20(dB)/unscaled"
},
{
id: "OH_L",
label: "OH-L",
range: "db",
range: nmRange,
target: "localhost:6667",
path: "/strip/OH-L/Gain/Gain%20(dB)/unscaled"
},
{
id: "OH_R",
label: "OH-R",
range: "db",
range: nmRange,
target: "localhost:6667",
path: "/strip/OH-R/Gain/Gain%20(dB)/unscaled"
},
{
id: "Drums",
label: "Drums",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/Drums/Gain/Gain%20(dB)/unscaled",
color: "#777"
@ -221,40 +479,40 @@ TABS =
{
id: "Tom1",
label: "Tom1",
range: "db",
range: nmRange,
target: "localhost:6673",
path: "/strip/Tom1/Gain/Gain%20(dB)/unscaled"
},
{
id: "Tom2",
label: "Tom2",
range: "db",
range: nmRange,
target: "localhost:6673",
path: "/strip/Tom2/Gain/Gain%20(dB)/unscaled"
},
{
id: "Tom3",
label: "Tom3",
range: "db",
range: nmRange,
target: "localhost:6673",
path: "/strip/Tom3/Gain/Gain%20(dB)/unscaled"
},
{
id: "Toms",
label: "Toms",
range: "db",
range: nmRange,
target: "localhost:6667",
path: "/strip/Toms/Gain/Gain%20(dB)/unscaled",
color: "#777"
},
{
id: "stacktest",
type: "stack",
id: "striptest",
type: "strip",
widgets: [
{
id: "BassesXXX",
label: "BassesXXX",
range: "db",
range: nmRange,
target: "localhost:6666 127.0.0.1:125",
path: "/test2"
},
@ -268,7 +526,7 @@ TABS =
{
id: "xGuitars",
label: "Guitars",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/Guitars/Gain/Gain%20(dB)/unscaled"
},
@ -292,49 +550,49 @@ TABS =
{
id: "Bass_ORL",
label: "Bass_ORL",
range: "db",
range: nmRange,
target: "localhost:6668",
path: "/strip/Bass_ORL/Gain/Gain%20(dB)/unscaled"
},
{
id: "Oct_Bass_ORL",
label: "Oct_Bass_ORL",
range: "db",
range: nmRange,
target: "localhost:6668",
path: "/strip/Oct_Bass_ORL/Gain/Gain%20(dB)/unscaled"
},
{
id: "FX_Bass_ORL",
label: "FX_Bass_ORL",
range: "db",
range: nmRange,
target: "localhost:6668",
path: "/strip/FX_Bass_ORL/Gain/Gain%20(dB)/unscaled"
},
{
id: "Bass_Dag",
label: "Bass_Dag",
range: "db",
range: nmRange,
target: "localhost:6668",
path: "/strip/Bass_Dag/Gain/Gain%20(dB)/unscaled"
},
{
id: "Oct_Bass_Dag",
label: "Oct_Bass_Dag",
range: "db",
range: nmRange,
target: "localhost:6668",
path: "/strip/Oct_Bass_Dag/Gain/Gain%20(dB)/unscaled"
},
{
id: "FX_Bass_Dag",
label: "FX_Bass_Dag",
range: "db",
range: nmRange,
target: "localhost:6668",
path: "/strip/FX_Bass_Dag/Gain/Gain%20(dB)/unscaled"
},
{
id: "Basses",
label: "Basses",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/Basses/Gain/Gain%20(dB)/unscaled",
color: "#777"
@ -348,70 +606,70 @@ TABS =
{
id: "Guitar_ORL",
label: "Guitar_ORL",
range: "db",
range: nmRange,
target: "localhost:6669",
path: "/strip/Guitar_ORL/Gain/Gain%20(dB)/unscaled"
},
{
id: "FX_Gtr_ORL_1",
label: "FX_Gtr_ORL_1",
range: "db",
range: nmRange,
target: "localhost:6669",
path: "/strip/FX_Gtr_ORL_1/Gain/Gain%20(dB)/unscaled"
},
{
id: "FX_Gtr_ORL_2",
label: "FX_Gtr_ORL_2",
range: "db",
range: nmRange,
target: "localhost:6669",
path: "/strip/FX_Gtr_ORL_2/Gain/Gain%20(dB)/unscaled"
},
{
id: "FX_Gtr_ORL",
label: "FX_Gtr_ORL",
range: "db",
range: nmRange,
target: "localhost:6669",
path: "/strip/FX_Gtr_ORL/Gain/Gain%20(dB)/unscaled"
},
{
id: "Guitar_Dag",
label: "Guitar_Dag",
range: "db",
range: nmRange,
target: "localhost:6669",
path: "/strip/Guitar_Dag/Gain/Gain%20(dB)/unscaled"
},
{
id: "FX_Gtr_Dag_1",
label: "FX_Gtr_Dag_1",
range: "db",
range: nmRange,
target: "localhost:6669",
path: "/strip/FX_Gtr_Dag_1/Gain/Gain%20(dB)/unscaled"
},
{
id: "FX_Gtr_Dag_2",
label: "FX_Gtr_Dag_2",
range: "db",
range: nmRange,
target: "localhost:6669",
path: "/strip/FX_Gtr_Dag_2/Gain/Gain%20(dB)/unscaled"
},
{
id: "FX_Gtr_Dag",
label: "FX_Gtr_Dag",
range: "db",
range: nmRange,
target: "localhost:6669",
path: "/strip/FX_Gtr_Dag/Gain/Gain%20(dB)/unscaled"
},
{
id: "Scape_Gtr_Dag",
label: "Scape_Gtr_Dag",
range: "db",
range: nmRange,
target: "localhost:6669",
path: "/strip/Scape_Gtr_Dag/Gain/Gain%20(dB)/unscaled"
},
{
id: "Guitars",
label: "Guitars",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/Guitars/Gain/Gain%20(dB)/unscaled",
color: "#777"
@ -425,42 +683,42 @@ TABS =
{
id: "MxBass",
label: "MxBass",
range: "db",
range: nmRange,
target: "localhost:6670",
path: "/strip/MxBass/Gain/Gain%20(dB)/unscaled"
},
{
id: "MxChords",
label: "MxChords",
range: "db",
range: nmRange,
target: "localhost:6670",
path: "/strip/MxChords/Gain/Gain%20(dB)/unscaled"
},
{
id: "MxLead",
label: "MxLead",
range: "db",
range: nmRange,
target: "localhost:6670",
path: "/strip/MxLead/Gain/Gain%20(dB)/unscaled"
},
{
id: "MxCtLead",
label: "MxCtLead",
range: "db",
range: nmRange,
target: "localhost:6670",
path: "/strip/MxCtLead/Gain/Gain%20(dB)/unscaled"
},
{
id: "MxClassical",
label: "MxClassical",
range: "db",
range: nmRange,
target: "localhost:6670",
path: "/strip/MxClassical/Gain/Gain%20(dB)/unscaled"
},
{
id: "MxSynths",
label: "MxSynths",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/MxSynths/Gain/Gain%20(dB)/unscaled",
color: "#777"
@ -474,42 +732,42 @@ TABS =
{
id: "MxKicks",
label: "MxKicks",
range: "db",
range: nmRange,
target: "localhost:6671",
path: "/strip/MxKicks/Gain/Gain%20(dB)/unscaled"
},
{
id: "MxSnares",
label: "MxSnares",
range: "db",
range: nmRange,
target: "localhost:6671",
path: "/strip/MxSnares/Gain/Gain%20(dB)/unscaled"
},
{
id: "MxCymbs",
label: "MxCymbs",
range: "db",
range: nmRange,
target: "localhost:6671",
path: "/strip/MxCymbs/Gain/Gain%20(dB)/unscaled"
},
{
id: "MxCont",
label: "MxCont",
range: "db",
range: nmRange,
target: "localhost:6671",
path: "/strip/MxCont/Gain/Gain%20(dB)/unscaled"
},
{
id: "MxSamples",
label: "MxSamples",
range: "db",
range: nmRange,
target: "localhost:6671",
path: "/strip/MxSamples/Gain/Gain%20(dB)/unscaled"
},
{
id: "MxDrums",
label: "MxDrums",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/MxDrums/Gain/Gain%20(dB)/unscaled",
color: "#777"
@ -523,28 +781,28 @@ TABS =
{
id: "PianoToy",
label: "PianoToy",
range: "db",
range: nmRange,
target: "localhost:6674",
path: "/strip/PianoToy/Gain/Gain%20(dB)/unscaled"
},
{
id: "Cymbalum",
label: "Cymbalum",
range: "db",
range: nmRange,
target: "localhost:6674",
path: "/strip/Cymbalum/Gain/Gain%20(dB)/unscaled"
},
{
id: "GuitarAc",
label: "GuitarAc",
range: "db",
range: nmRange,
target: "localhost:6674",
path: "/strip/GuitarAc/Gain/Gain%20(dB)/unscaled"
},
{
id: "Acoustics",
label: "Acoustics",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/Acoustics/Gain/Gain%20(dB)/unscaled",
color: "#777"
@ -558,77 +816,77 @@ TABS =
{
id: "Vx_ORL",
label: "Vx_ORL",
range: "db",
range: nmRange,
target: "localhost:6672",
path: "/strip/Vx_ORL/Gain/Gain%20(dB)/unscaled"
},
{
id: "FX_Vx_ORL_1",
label: "FX_Vx_ORL_1",
range: "db",
range: nmRange,
target: "localhost:6672",
path: "/strip/FX_Vx_ORL_1/Gain/Gain%20(dB)/unscaled"
},
{
id: "FX_Vx_ORL_2",
label: "FX_Vx_ORL_2",
range: "db",
range: nmRange,
target: "localhost:6672",
path: "/strip/FX_Vx_ORL_2/Gain/Gain%20(dB)/unscaled"
},
{
id: "FX_Vx_ORL",
label: "FX_Vx_ORL",
range: "db",
range: nmRange,
target: "localhost:6672",
path: "/strip/FX_Vx_ORL/Gain/Gain%20(dB)/unscaled"
},
{
id: "Vx_Dag",
label: "Vx_Dag",
range: "db",
range: nmRange,
target: "localhost:6672",
path: "/strip/Vx_Dag/Gain/Gain%20(dB)/unscaled"
},
{
id: "FX_Vx_Dag_1",
label: "FX_Vx_Dag_1",
range: "db",
range: nmRange,
target: "localhost:6672",
path: "/strip/FX_Vx_Dag_1/Gain/Gain%20(dB)/unscaled"
},
{
id: "FX_Vx_Dag_2",
label: "FX_Vx_Dag_2",
range: "db",
range: nmRange,
target: "localhost:6672",
path: "/strip/FX_Vx_Dag_2/Gain/Gain%20(dB)/unscaled"
},
{
id: "FX_Vx_Dag",
label: "FX_Vx_Dag",
range: "db",
range: nmRange,
target: "localhost:6672",
path: "/strip/FX_Vx_Dag/Gain/Gain%20(dB)/unscaled"
},
{
id: "Scape_Vx_Dag",
label: "Scape_Vx_Dag",
range: "db",
range: nmRange,
target: "localhost:6672",
path: "/strip/Scape_Vx_Dag/Gain/Gain%20(dB)/unscaled"
},
{
id: "Vx_Jeannot",
label: "Vx_Jeannot",
range: "db",
range: nmRange,
target: "localhost:6672",
path: "/strip/Vx_Jeannot/Gain/Gain%20(dB)/unscaled"
},
{
id: "Vocals",
label: "Vocals",
range: "db",
range: nmRange,
target: "localhost:6666",
path: "/strip/Vocals/Gain/Gain%20(dB)/unscaled",
color: "#777"

View file

@ -4,6 +4,7 @@ nmPorts = {
'MonitorsORL':'SCSon:6677',
'Mains':'SCSon:6678',
}
nmRange = {'min': -70,'20%': -40,'45%': -20,'60%': -10,'71%':-6,'78%':-3,'85%':0,'92%':3,'max': 6}
TABS = [
{
@ -12,77 +13,77 @@ TABS = [
{
id:'Drums',
range:'db',
range:nmRange,
target:nmPorts['MonitorsDag'],
path:'/strip/Drums/Gain/Gain%20(dB)/unscaled'
},
{
id:'Basses',
range:'db',
range:nmRange,
target:nmPorts['MonitorsDag'],
path:'/strip/Basses/Gain/Gain%20(dB)/unscaled'
},
{
id:'Guitars',
range:'db',
range:nmRange,
target:nmPorts['MonitorsDag'],
path:'/strip/Guitars/Gain/Gain%20(dB)/unscaled'
},
{
id:'MxDrums',
range:'db',
range:nmRange,
target:nmPorts['MonitorsDag'],
path:'/strip/MxDrums/Gain/Gain%20(dB)/unscaled'
},
{
id:'MxSynths',
range:'db',
range:nmRange,
target:nmPorts['MonitorsDag'],
path:'/strip/MxSynths/Gain/Gain%20(dB)/unscaled'
},
{
id:'Vocals',
range:'db',
range:nmRange,
target:nmPorts['MonitorsDag'],
path:'/strip/Vocals/Gain/Gain%20(dB)/unscaled'
},
{
id:'BassDag',
range:'db',
range:nmRange,
target:nmPorts['MonitorsDag'],
path:'/strip/BassDag/Gain/Gain%20(dB)/unscaled'
},
{
id:'GuitarDag',
range:'db',
range:nmRange,
target:nmPorts['MonitorsDag'],
path:'/strip/GuitarDag/Gain/Gain%20(dB)/unscaled'
},
{
id:'VoixDag',
range:'db',
range:nmRange,
target:nmPorts['MonitorsDag'],
path:'/strip/VoixDag/Gain/Gain%20(dB)/unscaled'
},
{
id:'Metronome',
range:'db',
range:nmRange,
target:nmPorts['MonitorsDag'],
path:'/strip/Metronome/Gain/Gain%20(dB)/unscaled'
},
{
id:'MonitorsDag',
range:'db',
range:nmRange,
target:nmPorts['Mains'],
path:'/strip/MonitorsDag/Gain/Gain%20(dB)/unscaled',
color:'accent'

View file

@ -4,6 +4,7 @@ nmPorts = {
'MonitorsORL':'SCSon:6677',
'Mains':'SCSon:6678',
}
nmRange = {'min': -70,'20%': -40,'45%': -20,'60%': -10,'71%':-6,'78%':-3,'85%':0,'92%':3,'max': 6}
TABS = [
{
@ -12,56 +13,56 @@ TABS = [
{
id:'Drums',
range:'db',
range:nmRange,
target:nmPorts['MonitorsJeannot'],
path:'/strip/Drums/Gain/Gain%20(dB)/unscaled'
},
{
id:'Basses',
range:'db',
range:nmRange,
target:nmPorts['MonitorsJeannot'],
path:'/strip/Basses/Gain/Gain%20(dB)/unscaled'
},
{
id:'Guitars',
range:'db',
range:nmRange,
target:nmPorts['MonitorsJeannot'],
path:'/strip/Guitars/Gain/Gain%20(dB)/unscaled'
},
{
id:'MxDrums',
range:'db',
range:nmRange,
target:nmPorts['MonitorsJeannot'],
path:'/strip/MxDrums/Gain/Gain%20(dB)/unscaled'
},
{
id:'MxSynths',
range:'db',
range:nmRange,
target:nmPorts['MonitorsJeannot'],
path:'/strip/MxSynths/Gain/Gain%20(dB)/unscaled'
},
{
id:'Vocals',
range:'db',
range:nmRange,
target:nmPorts['MonitorsJeannot'],
path:'/strip/Vocals/Gain/Gain%20(dB)/unscaled'
},
{
id:'Metronome',
range:'db',
range:nmRange,
target:nmPorts['MonitorsJeannot'],
path:'/strip/Metronome/Gain/Gain%20(dB)/unscaled'
},
{
id:'MonitorsJeannot',
range:'db',
range:nmRange,
target:nmPorts['Mains'],
path:'/strip/MonitorsJeannot/Gain/Gain%20(dB)/unscaled',
color:'accent'

View file

@ -5,6 +5,9 @@ nmPorts = {
'Mains':'SCSon:6678',
}
nmRange = {'min': -70,'20%': -40,'45%': -20,'60%': -10,'71%':-6,'78%':-3,'85%':0,'92%':3,'max': 6}
TABS =  [
{
id: 'MonitorORL',
@ -13,76 +16,76 @@ TABS =  [
{
id:'Drums',
type:'fader',
range:'db',
range:nmRange,
target:nmPorts['MonitorsORL'],
path:'/strip/Drums/Gain/Gain%20(dB)/unscaled'
},
{
id:'Basses',
range:'db',
range:nmRange,
target:nmPorts['MonitorsORL'],
path:'/strip/Basses/Gain/Gain%20(dB)/unscaled'
},
{
id:'Guitars',
range:'db',
range:nmRange,
target:nmPorts['MonitorsORL'],
path:'/strip/Guitars/Gain/Gain%20(dB)/unscaled'
},
{
id:'MxDrums',
range:'db',
range:nmRange,
target:nmPorts['MonitorsORL'],
path:'/strip/MxDrums/Gain/Gain%20(dB)/unscaled'
},
{
id:'MxSynths',
range:'db',
range:nmRange,
target:nmPorts['MonitorsORL'],
path:'/strip/MxSynths/Gain/Gain%20(dB)/unscaled'
},
{
id:'Vocals',
range:'db',
range:nmRange,
target:nmPorts['MonitorsORL'],
path:'/strip/Vocals/Gain/Gain%20(dB)/unscaled'
},
{
id:'BassORL',
range:'db',
range:nmRange,
target:nmPorts['MonitorsORL'],
path:'/strip/BassORL/Gain/Gain%20(dB)/unscaled'
},
{
id:'GuitarORL',
range:'db',
range:nmRange,
target:nmPorts['MonitorsORL'],
path:'/strip/GuitarORL/Gain/Gain%20(dB)/unscaled'
},
{
id:'VxORL',
range:'db',
range:nmRange,
target:nmPorts['MonitorsORL'],
path:'/strip/VxORL/Gain/Gain%20(dB)/unscaled'
},
{
id:'Metronome',
range:'db',
range:nmRange,
target:nmPorts['MonitorsORL'],
path:'/strip/Metronome/Gain/Gain%20(dB)/unscaled'
},
{
id:'MonitorsORL',
range:'db',
range:nmRange,
target:nmPorts['Mains'],
path:'/strip/MonitorsORL/Gain/Gain%20(dB)/unscaled',
color:'accent'

File diff suppressed because it is too large Load diff