From a8e0a3f2b55f4feed3935c6dd1b0f2786ace6a58 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 29 Sep 2016 01:00:05 +0200
Subject: [PATCH 0001/5523] docs: document widget linkId
---
app/resources/docs/user-guide/widgets-generics.md | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/app/resources/docs/user-guide/widgets-generics.md b/app/resources/docs/user-guide/widgets-generics.md
index 763cbc4f..5782951a 100644
--- a/app/resources/docs/user-guide/widgets-generics.md
+++ b/app/resources/docs/user-guide/widgets-generics.md
@@ -27,6 +27,11 @@ A widget object is a javascript object. All widgets share a set of generic prope
- default: generated unique 'widget_n'
- usage: widgets sharing the same `id` will act as clones and update each other's value(s) without sending extra osc messages.
+#### `id`
+- type: `string`
+- default: `empty`
+- usage: widgets sharing the same `linkId` update each other's value(s) AND send their respective osc messages.
+
----
@@ -38,7 +43,7 @@ A widget object is a javascript object. All widgets share a set of generic prope
- usage:
- set to `false` to hide completely
- set to `icon: fontawesome-class` to display an icon from [FontAwesome](http://fontawesome.io/icons/) (replace `fontawesome-class` with the icon's name)
-
+
#### `top` / `left`
- type: `number|percentage`
- default: `auto`
From 63fa3d476039172956eb1856a1f1310a88c42521 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 29 Sep 2016 01:01:28 +0200
Subject: [PATCH 0002/5523] docs: typo
---
app/resources/docs/user-guide/widgets-generics.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/resources/docs/user-guide/widgets-generics.md b/app/resources/docs/user-guide/widgets-generics.md
index 5782951a..a3f3d733 100644
--- a/app/resources/docs/user-guide/widgets-generics.md
+++ b/app/resources/docs/user-guide/widgets-generics.md
@@ -65,7 +65,7 @@ A widget object is a javascript object. All widgets share a set of generic prope
#### `css`
- type: `string`
- default: *empty*
-- usage: the `css` property can be used to override inherited [theming](theming.md) variables. Also, some widgets expose specific theming variables that allow a finer customization. Standard `css` properties can be applied to the widget's root element though this property.
+- usage: the `css` property can be used to override inherited [theming](theming.md) variables. Also, some widgets expose specific theming variables that allow a finer customization. Standard `css` properties can be applied to the widget's root element through this property.
----
### OSC
From 7b2ea16ff04f0d6284a24063930927000ced120e Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 29 Sep 2016 01:03:47 +0200
Subject: [PATCH 0003/5523] package: add deploy-docs script
---
package.json | 1 +
1 file changed, 1 insertion(+)
diff --git a/package.json b/package.json
index 1ef76850..43a75311 100644
--- a/package.json
+++ b/package.json
@@ -20,6 +20,7 @@
"watch-js": "nodemon --watch app/browser/js -e js --ignore app/browser/js/browser-headless.bundle.js -x \"npm run build-js\"",
"build-css": "node-sass --include-path app/browser/scss app/browser/scss/style.scss app/browser/css/style.css --output-style compressed",
"build-js": "browserify app/browser/js/browser-headless.js -o app/browser/js/browser-headless.bundle.js",
+ "deploy-docs": "cd app/resources && mkdocs gh-deploy --clean && rm -rf site",
"test": "npm run build"
}
}
From d470ffb952b83adce90a9c9ce85e8034dd41328f Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 29 Sep 2016 23:44:03 +0200
Subject: [PATCH 0004/5523] ui: make spinner class available outside of #loader
div
---
app/browser/scss/style.scss | 25 ++++++++++---------------
1 file changed, 10 insertions(+), 15 deletions(-)
diff --git a/app/browser/scss/style.scss b/app/browser/scss/style.scss
index 9885aeb4..3e3219f8 100644
--- a/app/browser/scss/style.scss
+++ b/app/browser/scss/style.scss
@@ -174,22 +174,17 @@ i {
left:50%;
margin-top:-15rem;
text-align: center;
- .spinner {
- display: block;
- margin: 0 auto;
- height:30rem;
- width:30rem;
- border-radius: 50%;
- border:2rem solid var(--color-track);
- border-top-color:var(--color-accent);
- animation: spin .5s linear infinite;
- }
- #status {
- margin-top: 10rem;
- display: inline-block;
-
- }
+}
+.spinner {
+ display: block;
+ margin: 0 auto;
+ height:30rem;
+ width:30rem;
+ border-radius: 50%;
+ border:2rem solid var(--color-track);
+ border-top-color:var(--color-accent);
+ animation: spin .5s linear infinite;
}
@keyframes spin {
From 5d3284c7b02836f5255f1a1284418d4925ca673d Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 29 Sep 2016 23:44:58 +0200
Subject: [PATCH 0005/5523] ui: add option to disable popup's closer
---
app/browser/js/app/utils.js | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/app/browser/js/app/utils.js b/app/browser/js/app/utils.js
index 04d7504a..b5be0f40 100644
--- a/app/browser/js/app/utils.js
+++ b/app/browser/js/app/utils.js
@@ -1,6 +1,6 @@
module.exports = {
- createPopup: function(title,content) {
+ createPopup: function(title,content,closable) {
var popup = $(`
`),
closer = popup.find('.popup-title .closer')
- closer.click(function(){
- popup.close()
- })
+ if (closable) {
+ closer.click(function(){
+ popup.close()
+ })
+ } else {
+ closer.remove()
+ }
popup.close = function(){
From bd7f56100ecbdb228fe7daf6bbe8220c593a2ee7 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 29 Sep 2016 23:45:25 +0200
Subject: [PATCH 0006/5523] headless: update new clients when they connect (by
triggering a state send without osc sends in the other clients); fixes #29
---
app/browser/js/app.js | 2 ++
app/browser/js/app/callbacks.js | 17 ++++++++++++++++-
app/browser/js/app/widgets/utils.js | 6 +++++-
app/main/server-express.js | 6 +++++-
4 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/app/browser/js/app.js b/app/browser/js/app.js
index 81ac09bf..ad7ebb2e 100644
--- a/app/browser/js/app.js
+++ b/app/browser/js/app.js
@@ -11,6 +11,8 @@ EDITING = false
TRAVERSING = false
+OSCSYNCONLY = false
+
TABS = {}
diff --git a/app/browser/js/app/callbacks.js b/app/browser/js/app/callbacks.js
index b6cb54db..e75a0941 100644
--- a/app/browser/js/app/callbacks.js
+++ b/app/browser/js/app/callbacks.js
@@ -82,10 +82,25 @@ module.exports = {
sessionOpen: function(event,data){
var data = data || event
var session = JSON.parse(data)
- init(session)
+ init(session,function(){
+ IPC.send('sessionOpened')
+ })
},
+ stateSend:function(){
+ var p = utils.createPopup('New client connecting...','
', false)
+
+ setTimeout(function(){
+
+ OSCSYNCONLY = true
+ actions.stateSend()
+ OSCSYNCONLY = false
+
+ p.close()
+ },150)
+ },
+
error: function(event,data){
var data = data || event
diff --git a/app/browser/js/app/widgets/utils.js b/app/browser/js/app/widgets/utils.js
index 5e6ce9a9..a7886f85 100644
--- a/app/browser/js/app/widgets/utils.js
+++ b/app/browser/js/app/widgets/utils.js
@@ -1,7 +1,11 @@
module.exports = {
sendOsc: function(data){
- IPC.send('sendOsc', data)
+ if (!OSCSYNCONLY) {
+ IPC.send('sendOsc', data)
+ } else {
+ IPC.send('syncOsc', data)
+ }
},
clip: function(value,range) {
diff --git a/app/main/server-express.js b/app/main/server-express.js
index 1aedb701..d168fcab 100644
--- a/app/main/server-express.js
+++ b/app/main/server-express.js
@@ -39,10 +39,14 @@ module.exports = function(settings) {
var name = e.data[0],
data = e.data[1]
if (callbacks[name]) callbacks[name](data,socket.id)
- if (name=='sendOsc' && data.sync!==false) {
+ if ((name=='sendOsc' && data.sync!==false) || name=='syncOsc') {
// synchronize all other connected clients
socket.broadcast.emit('receiveOsc',data)
}
+ if (name=='sessionOpened') {
+ // synchronize all other connected clients
+ socket.broadcast.emit('stateSend',data)
+ }
});
});
}
From da0ed17f2360d07478ff74e2cc586c1850b0490e Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 30 Sep 2016 00:24:41 +0200
Subject: [PATCH 0007/5523] headless: print all available network addresses
---
app/main/server-express.js | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/app/main/server-express.js b/app/main/server-express.js
index d168fcab..1128dbaa 100644
--- a/app/main/server-express.js
+++ b/app/main/server-express.js
@@ -8,6 +8,7 @@ module.exports = function(settings) {
server = http.createServer(express),
io = require('socket.io')(),
ioWildcard = require('socketio-wildcard')(),
+ ifaces = require('os').networkInterfaces(),
ipc = {}
express.get('/', function(req, res){
@@ -51,8 +52,17 @@ module.exports = function(settings) {
});
}
+ var appAddresses = []
+ Object.keys(ifaces).forEach(function (ifname) {
+ for (i=0;i
Date: Fri, 30 Sep 2016 09:28:40 +0200
Subject: [PATCH 0008/5523] headless: make widgets sync between clients only if
their targets match
---
app/browser/js/app/callbacks.js | 11 +++++++++--
app/browser/js/app/parser.js | 2 ++
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/app/browser/js/app/callbacks.js b/app/browser/js/app/callbacks.js
index e75a0941..64028a6e 100644
--- a/app/browser/js/app/callbacks.js
+++ b/app/browser/js/app/callbacks.js
@@ -11,7 +11,8 @@ module.exports = {
// fetch ids corresponding to the osc path
var path = data.path,
pathref = path,
- args = data.args
+ args = data.args,
+ target = data.target
if (typeof data.args == 'object') {
for (var i=data.args.length-1;i>=0;i--) {
@@ -31,7 +32,13 @@ module.exports = {
else if (args.length==1) args = args[0]
for (i in WIDGETS_BY_PATH[pathref]) {
- if (WIDGETS_BY_PATH[pathref][i]) WIDGETS_BY_PATH[pathref][i].setValue(args,false,true)
+ // if the message target is provided (when message comes from another client connected to the same server)
+ // then we only update the widgets that have the same target
+ // compare arrays using > and < operators (both false = equality)
+ if (!target || !(WIDGETS_BY_PATH[pathref][i].target < target || WIDGETS_BY_PATH[pathref][i].target > target)) {
+ // update matching widgets
+ if (WIDGETS_BY_PATH[pathref][i]) WIDGETS_BY_PATH[pathref][i].setValue(args,false,true)
+ }
}
diff --git a/app/browser/js/app/parser.js b/app/browser/js/app/parser.js
index 9331a1ed..60dfe002 100644
--- a/app/browser/js/app/parser.js
+++ b/app/browser/js/app/parser.js
@@ -155,6 +155,8 @@ module.exports.widgets = function(data,parent) {
// create widget
var widgetInner = createWidget[widgetData.type](widgetData,widgetContainer)
+ // store widgets target
+ widgetInner.target = widgetData.target
widgetContainer[0].appendChild(widgetInner[0])
From d2791758f76962f3c7a85d5a15aa7f7d10b06460 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 30 Sep 2016 10:17:02 +0200
Subject: [PATCH 0009/5523] headless: sync other clients before sending osc
---
app/main/server-express.js | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/app/main/server-express.js b/app/main/server-express.js
index 1128dbaa..f43bd641 100644
--- a/app/main/server-express.js
+++ b/app/main/server-express.js
@@ -39,15 +39,17 @@ module.exports = function(settings) {
socket.on('*', function(e){
var name = e.data[0],
data = e.data[1]
- if (callbacks[name]) callbacks[name](data,socket.id)
- if ((name=='sendOsc' && data.sync!==false) || name=='syncOsc') {
- // synchronize all other connected clients
- socket.broadcast.emit('receiveOsc',data)
- }
+
+ if ((name=='sendOsc' && data.sync!==false) || name=='syncOsc') {
+ // synchronize all other connected clients
+ socket.broadcast.emit('receiveOsc',data)
+ }
if (name=='sessionOpened') {
// synchronize all other connected clients
socket.broadcast.emit('stateSend',data)
}
+
+ if (callbacks[name]) callbacks[name](data,socket.id)
});
});
}
From bde96d5d3b5a9c99cb96d2163558b7265e85dfae Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 30 Sep 2016 13:17:25 +0200
Subject: [PATCH 0010/5523] main: stop using electron-specific api : always use
express server and use electron as a normal browser/client
---
app/main/callbacks.js | 270 ++++++++++++++++++------------------
app/main/gui.js | 47 +++++++
app/main/main.js | 42 ++----
app/main/osc.js | 120 ++++++++--------
app/main/server-electron.js | 66 ---------
app/main/server-express.js | 127 +++++++++--------
app/main/settings.js | 87 ++++++------
7 files changed, 359 insertions(+), 400 deletions(-)
create mode 100644 app/main/gui.js
delete mode 100644 app/main/server-electron.js
diff --git a/app/main/callbacks.js b/app/main/callbacks.js
index 11e28dd2..bafbd6e3 100644
--- a/app/main/callbacks.js
+++ b/app/main/callbacks.js
@@ -1,142 +1,142 @@
var vm = require('vm'),
- path = require('path')
+ path = require('path'),
+ fs = require('fs'),
+ settings = require('./settings'),
+ osc = require('./osc'),
+ ipc = require('./server-express').ipc
-module.exports = function(settings,fs,ipc,osc,dialog) {
+module.exports = {
- return {
+ ready: function(data,clientId) {
+ if (settings.read('theme')) ipc.send('applyStyle',settings.read('theme'),clientId)
+ if (settings.read('sessionFile')) this.sessionOpen({path:settings.read('sessionFile')},clientId)
+ var recentSessions = settings.read('recentSessions')
- ready: function(data,clientId) {
- if (settings.read('theme')) ipc.send('applyStyle',settings.read('theme'),clientId)
- if (settings.read('sessionFile')) this.sessionOpen({path:settings.read('sessionFile')},clientId)
- var recentSessions = settings.read('recentSessions')
-
- if (settings.read('examples')) {
- var dir = path.resolve(__dirname + '/../examples')
- recentSessions = fs.readdirSync(dir)
- recentSessions = recentSessions.map(function(file){return 'examples/' + file})
- }
-
- ipc.send('sessionList',recentSessions,clientId)
- },
-
- sessionBrowse: function(data) {
- var sessionlist = settings.read('recentSessions'),
- self = this
- dialog.showOpenDialog(window,{title:'Load session file',defaultPath:settings.read('sessionPath'),filters: [ { name: 'OSC Session file', extensions: ['js'] }]},function(file){
- if (file==undefined) {return}
- settings.write('sessionPath',file[0].replace(file[0].split('/').pop(),''))
- self.sessionOpen({path:file[0]})
- })
- },
-
- sessionSave: function(data) {
- var self = this
- dialog.showSaveDialog(window,{title:'Save current session',defaultPath:settings.read('sessionPath'),filters: [ { name: 'OSC Session file', extensions: ['js'] }]},function(file){
-
- if (file==undefined) {return}
- settings.write('sessionPath',file.replace(file.split('/').pop(),''))
-
- if (file.indexOf('.js')==-1){file+='.js'}
- fs.writeFile(file,data, function (err, data) {
- if (err) throw err
- self.sessionAddToHistory(file)
- console.log('The session was saved in '+file)
- })
- })
- },
-
-
- sessionAddToHistory: function(data) {
- var sessionlist = settings.read('recentSessions')
- // add session to history
- sessionlist.unshift(data)
- // remove doubles from history
- sessionlist = sessionlist.filter(function(elem, index, self) {
- return index == self.indexOf(elem)
- })
- // save history
- settings.write('recentSessions',sessionlist)
- },
-
- sessionRemoveFromHistory: function(data) {
- var sessionlist = settings.read('recentSessions')
- sessionlist.splice(data,1)
- settings.write('recentSessions',sessionlist)
- },
-
- sessionOpen: function(data,clientId) {
- var file = data.file || (function(){try {return fs.readFileSync(data.path,'utf8')} catch(err) {return false}})(),
- error = file===false&&data.path?'Session file "' + data.path + '" not found.':false,
- session
-
- try {
- session = vm.runInNewContext(file)
- } catch(err) {
- error = err
- }
-
- if (!session) error= 'No session object returned'
-
- if (!error) {
- if (data.path) this.sessionAddToHistory(data.path)
- ipc.send('sessionOpen',JSON.stringify(session),clientId)
- } else {
- ipc.send('error',{title:'Error: invalid session file',text:''+error+'
'})
- }
- },
-
- sendOsc: function(data) {
-
- var targets = []
-
- if (settings.read('syncTargets') && data.sync!==false) Array.prototype.push.apply(targets, settings.read('syncTargets'))
- if (data.target) Array.prototype.push.apply(targets, data.target)
-
-
- for (i in targets) {
-
- var host = targets[i].split(':')[0],
- port = targets[i].split(':')[1]
-
- if (port) osc.send(host,port,data.path,data.args,data.precision)
-
- }
- },
-
- stateSave: function(data) {
- dialog.showSaveDialog(window,{title:'Save current state to preset file',defaultPath:settings.read('presetPath').replace(settings.read('presetPath').split('/').pop(),''),filters: [ { name: 'OSC Preset', extensions: ['preset'] }]},function(file){
-
- if (file==undefined) {return}
- settings.write('presetPath',file)
-
- if (file.indexOf('.preset')==-1){file+='.preset'}
- fs.writeFile(file,data, function (err, data) {
- if (err) throw err
- console.log('The current state was saved in '+file)
- })
- })
- },
-
- stateLoad: function(data,clientId) {
- dialog.showOpenDialog(window,{title:'Load preset file',defaultPath:settings.read('presetPath').replace(settings.read('presetPath').split('/').pop(),''),filters: [ { name: 'OSC Preset', extensions: ['preset'] }]},function(file){
-
- if (file==undefined) {return}
- settings.write('presetPath',file[0])
-
- fs.readFile(file[0],'utf-8', function read(err, data) {
- if (err) throw err
- ipc.send('stateLoad',data,clientId)
- })
- })
- },
-
- fullscreen: function(data) {
- window.setFullScreen(!window.isFullScreen())
- },
-
- log: function(data) {
- console.log(data)
+ if (settings.read('examples')) {
+ var dir = path.resolve(__dirname + '/../examples')
+ recentSessions = fs.readdirSync(dir)
+ recentSessions = recentSessions.map(function(file){return 'examples/' + file})
}
- }
+ ipc.send('sessionList',recentSessions,clientId)
+ },
+
+ sessionBrowse: function(data) {
+ var sessionlist = settings.read('recentSessions'),
+ self = this
+ dialog.showOpenDialog(window,{title:'Load session file',defaultPath:settings.read('sessionPath'),filters: [ { name: 'OSC Session file', extensions: ['js'] }]},function(file){
+ if (file==undefined) {return}
+ settings.write('sessionPath',file[0].replace(file[0].split('/').pop(),''))
+ self.sessionOpen({path:file[0]})
+ })
+ },
+
+ sessionSave: function(data) {
+ var self = this
+ dialog.showSaveDialog(window,{title:'Save current session',defaultPath:settings.read('sessionPath'),filters: [ { name: 'OSC Session file', extensions: ['js'] }]},function(file){
+
+ if (file==undefined) {return}
+ settings.write('sessionPath',file.replace(file.split('/').pop(),''))
+
+ if (file.indexOf('.js')==-1){file+='.js'}
+ fs.writeFile(file,data, function (err, data) {
+ if (err) throw err
+ self.sessionAddToHistory(file)
+ console.log('The session was saved in '+file)
+ })
+ })
+ },
+
+
+ sessionAddToHistory: function(data) {
+ var sessionlist = settings.read('recentSessions')
+ // add session to history
+ sessionlist.unshift(data)
+ // remove doubles from history
+ sessionlist = sessionlist.filter(function(elem, index, self) {
+ return index == self.indexOf(elem)
+ })
+ // save history
+ settings.write('recentSessions',sessionlist)
+ },
+
+ sessionRemoveFromHistory: function(data) {
+ var sessionlist = settings.read('recentSessions')
+ sessionlist.splice(data,1)
+ settings.write('recentSessions',sessionlist)
+ },
+
+ sessionOpen: function(data,clientId) {
+ var file = data.file || (function(){try {return fs.readFileSync(data.path,'utf8')} catch(err) {return false}})(),
+ error = file===false&&data.path?'Session file "' + data.path + '" not found.':false,
+ session
+
+ try {
+ session = vm.runInNewContext(file)
+ } catch(err) {
+ error = err
+ }
+
+ if (!session) error= 'No session object returned'
+
+ if (!error) {
+ if (data.path) this.sessionAddToHistory(data.path)
+ ipc.send('sessionOpen',JSON.stringify(session),clientId)
+ } else {
+ ipc.send('error',{title:'Error: invalid session file',text:''+error+'
'})
+ }
+ },
+
+ sendOsc: function(data) {
+
+ var targets = []
+
+ if (settings.read('syncTargets') && data.sync!==false) Array.prototype.push.apply(targets, settings.read('syncTargets'))
+ if (data.target) Array.prototype.push.apply(targets, data.target)
+
+
+ for (i in targets) {
+
+ var host = targets[i].split(':')[0],
+ port = targets[i].split(':')[1]
+
+ if (port) osc.send(host,port,data.path,data.args,data.precision)
+
+ }
+ },
+
+ stateSave: function(data) {
+ dialog.showSaveDialog(window,{title:'Save current state to preset file',defaultPath:settings.read('presetPath').replace(settings.read('presetPath').split('/').pop(),''),filters: [ { name: 'OSC Preset', extensions: ['preset'] }]},function(file){
+
+ if (file==undefined) {return}
+ settings.write('presetPath',file)
+
+ if (file.indexOf('.preset')==-1){file+='.preset'}
+ fs.writeFile(file,data, function (err, data) {
+ if (err) throw err
+ console.log('The current state was saved in '+file)
+ })
+ })
+ },
+
+ stateLoad: function(data,clientId) {
+ dialog.showOpenDialog(window,{title:'Load preset file',defaultPath:settings.read('presetPath').replace(settings.read('presetPath').split('/').pop(),''),filters: [ { name: 'OSC Preset', extensions: ['preset'] }]},function(file){
+
+ if (file==undefined) {return}
+ settings.write('presetPath',file[0])
+
+ fs.readFile(file[0],'utf-8', function read(err, data) {
+ if (err) throw err
+ ipc.send('stateLoad',data,clientId)
+ })
+ })
+ },
+
+ fullscreen: function(data) {
+ window.setFullScreen(!window.isFullScreen())
+ },
+
+ log: function(data) {
+ console.log(data)
+ }
}
diff --git a/app/main/gui.js b/app/main/gui.js
new file mode 100644
index 00000000..8bd7c762
--- /dev/null
+++ b/app/main/gui.js
@@ -0,0 +1,47 @@
+var path = require('path'),
+ shortcut = require('electron-localshortcut'),
+ {app, BrowserWindow, dialog} = require('electron'),
+ settings = require('./settings')
+
+dialog.showErrorBox = function(title,err) {
+ console.log(title + ': ' + err)
+}
+
+app.commandLine.appendSwitch('--enable-touch-events')
+
+app.on('window-all-closed', function() {
+ if (process.platform != 'darwin') {
+ app.quit()
+ }
+})
+
+app.on('ready',function(){
+ window = new BrowserWindow({
+ width: 800,
+ height: 600,
+ icon: path.resolve(__dirname + '/../resources/images/logo.png'),
+ title:settings.read('appName'),
+ backgroundColor:'#1a1d22'
+ })
+
+ window.loadURL('http://127.0.0.1:' + settings.read('httpPort'))
+
+ window.on('closed', function() {
+ window = null
+ })
+
+ window.setMenuBarVisibility(false)
+
+ shortcut.register(window,'CmdOrCtrl+R',function(){
+ window.reload()
+ })
+
+ shortcut.register(window,'F11',function(){
+ window.setFullScreen(!window.isFullScreen())
+ })
+
+ shortcut.register(window,'F12',function(){
+ window.toggleDevTools();
+ })
+
+})
diff --git a/app/main/main.js b/app/main/main.js
index eeb5155e..2fb9652d 100644
--- a/app/main/main.js
+++ b/app/main/main.js
@@ -1,41 +1,17 @@
-var fs = require('fs'),
- settings = require('./settings')(fs)
-
-if (!settings.read('noGui')) {
-
- var electron = require('electron'),
- app = electron.app,
- browserWindow = electron.BrowserWindow,
- dialog = electron.dialog,
- ipc = electron.ipcMain
-
- dialog.showErrorBox = function(title,err) {
- console.log(title + ': ' + err)
- }
-
- app.commandLine.appendSwitch('--enable-touch-events')
- app.on('window-all-closed', function() {
- if (process.platform != 'darwin') {
- app.quit()
- }
- })
-
- app.on('ready',function(){
- var server = require('./server-electron')(settings,app,ipc,browserWindow),
- osc = require('./osc')(ipc,settings),
- callbacks = require('./callbacks')(settings,fs,ipc,osc,dialog)
+var settings = require('./settings')
- server.bindCallbacks(callbacks)
- })
+if (!settings.read('guiOnly')) {
-} else {
- var server = require('./server-express')(settings),
- ipc = server.ipc,
- osc = require('./osc')(ipc,settings),
- callbacks = require('./callbacks')(settings,fs,ipc,osc,dialog)
+ var server = require('./server-express'),
+ osc = require('./osc'),
+ callbacks = require('./callbacks')
server.bindCallbacks(callbacks)
}
+
+if (!settings.read('noGui')) {
+ require('./gui')
+}
diff --git a/app/main/osc.js b/app/main/osc.js
index 3c5281a6..147c00b8 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -1,64 +1,64 @@
-var osc = require('node-osc')
+var osc = require('node-osc'),
+ ipc = require('./server-express').ipc,
+ settings = require('./settings'),
+ oscInPort = settings.read('oscInPort'),
+ debug = settings.read('debug')
-module.exports = function(ipc, settings) {
+if (oscInPort) {
- var inPort = settings.read('oscInPort'),
- debug = settings.read('debug')
-
- if (inPort) {
- var oscServer = new osc.Server(inPort, '127.0.0.1')
-
- oscServer.on('message', function (msg, rinfo) {
- var data = {path:msg.shift(),args:msg}
- if (data.args.length==1) data.args = data.args[0]
- ipc.send('receiveOsc',data)
- if (debug) console.log('OSC received: ',data, 'From : ' + rinfo.address + ':' + rinfo.port)
- })
- }
-
- return {
- send: function(host,port,path,args,precision) {
-
- var client = new osc.Client(host, port)
-
- client._sock.bind({exclusive:false,reuseAddr:true,port:inPort},function(){
-
-
- var message = new osc.Message(path)
-
- var numberType = precision==0?'integer':'float'
-
- if (typeof args=='object' && args!==null) {
- for (i in args) {
- var arg = args[i]
-
- if (typeof arg == 'number' && arg!==null && typeof arg != 'object') {
- message.append({type:numberType,value:arg})
- } else if (arg!==null && typeof arg != 'object'){
- message.append({type:'string',value:String(arg)})
- } else if (arg!==null && typeof arg == 'object' && arg.type && arg.value!=undefined) {
- message.append({type:arg.type,value:arg.value})
- }
- }
- } else if (args!==null){
- if (typeof args == 'number') {
- message.append({type:numberType,value:args})
- } else if (typeof args == 'object' && arg.type && arg.value!=undefined) {
- message.append({type:args.type,value:args.value})
- } else {
- message.append({type:'string',value:String(args)})
- }
- }
-
- client.send(message, function () {
- client.kill()
- })
-
- if (debug) console.log('OSC sent: ',{path:path,args:message.args}, 'To : ' + host + ':' + port)
-
- })
-
- }
- }
+ var oscServer = new osc.Server(oscInPort, '127.0.0.1')
+ oscServer.on('message', function (msg, rinfo) {
+ var data = {path:msg.shift(),args:msg}
+ if (data.args.length==1) data.args = data.args[0]
+ ipc.send('receiveOsc',data)
+ if (debug) console.log('OSC received: ',data, 'From : ' + rinfo.address + ':' + rinfo.port)
+ })
+
+}
+
+module.exports = {
+
+ send: function(host,port,path,args,precision) {
+
+ var client = new osc.Client(host, port)
+
+ client._sock.bind({exclusive:false,reuseAddr:true,port:oscInPort},function(){
+
+
+ var message = new osc.Message(path)
+
+ var numberType = precision==0?'integer':'float'
+
+ if (typeof args=='object' && args!==null) {
+ for (i in args) {
+ var arg = args[i]
+
+ if (typeof arg == 'number' && arg!==null && typeof arg != 'object') {
+ message.append({type:numberType,value:arg})
+ } else if (arg!==null && typeof arg != 'object'){
+ message.append({type:'string',value:String(arg)})
+ } else if (arg!==null && typeof arg == 'object' && arg.type && arg.value!=undefined) {
+ message.append({type:arg.type,value:arg.value})
+ }
+ }
+ } else if (args!==null){
+ if (typeof args == 'number') {
+ message.append({type:numberType,value:args})
+ } else if (typeof args == 'object' && arg.type && arg.value!=undefined) {
+ message.append({type:args.type,value:args.value})
+ } else {
+ message.append({type:'string',value:String(args)})
+ }
+ }
+
+ client.send(message, function () {
+ client.kill()
+ })
+
+ if (debug) console.log('OSC sent: ',{path:path,args:message.args}, 'To : ' + host + ':' + port)
+
+ })
+
+ }
}
diff --git a/app/main/server-electron.js b/app/main/server-electron.js
deleted file mode 100644
index 86b3aed9..00000000
--- a/app/main/server-electron.js
+++ /dev/null
@@ -1,66 +0,0 @@
-var path = require('path'),
- shortcut = require('electron-localshortcut')
-
-module.exports = function(settings,app,ipc,browserWindow) {
-
- window = new browserWindow({
- width: 800,
- height: 600,
- icon: path.resolve(__dirname + '/../resources/images/logo.png'),
- title:settings.read('appName'),
- backgroundColor:'#1a1d22'
- })
-
- window.loadURL('file://' + __dirname + '/../browser/index.html')
-
- window.on('closed', function() {
- window = null
- })
-
- window.setMenuBarVisibility(false)
-
- shortcut.register(window,'CmdOrCtrl+R',function(){
- window.reload()
- })
-
- shortcut.register(window,'F11',function(){
- window.setFullScreen(!window.isFullScreen())
- })
-
- shortcut.register(window,'F12',function(){
- window.toggleDevTools();
- })
-
-
- // mainProcess > renderProcess ipc shorthand
- ipc.send = function(name,data) {
- window.webContents.send(name,data)
- }
-
-
- // ipc bindings
-
- var bindCallbacks = function(callbacks) {
-
- var bindCallback = function(i) {
- ipc.on(i,function(event,data){
- callbacks[i](data)
- })
- }
-
- for (i in callbacks) {
- bindCallback(i)
- }
-
- ipc.on('ready',function(){
- window.show()
- })
-
- }
-
- return {
- ipc:ipc,
- bindCallbacks:bindCallbacks
- }
-
-}
diff --git a/app/main/server-express.js b/app/main/server-express.js
index f43bd641..3d322bfd 100644
--- a/app/main/server-express.js
+++ b/app/main/server-express.js
@@ -1,74 +1,71 @@
-module.exports = function(settings) {
- // Headless (noGui) mode
+var express = require('express')(),
+ path = require('path'),
+ http = require('http'),
+ server = http.createServer(express),
+ io = require('socket.io')(),
+ ioWildcard = require('socketio-wildcard')(),
+ ifaces = require('os').networkInterfaces(),
+ ipc = {},
+ settings = require('./settings')
- var express = require('express')(),
- path = require('path'),
- http = require('http'),
- server = http.createServer(express),
- io = require('socket.io')(),
- ioWildcard = require('socketio-wildcard')(),
- ifaces = require('os').networkInterfaces(),
- ipc = {}
-
- express.get('/', function(req, res){
- res.sendFile(path.resolve(__dirname + '/../browser/index-headless.html'))
- })
- express.get('*', function(req, res){
- res.sendFile(path.resolve(__dirname + '/../browser' + req.path))
- })
+express.get('/', function(req, res){
+ res.sendFile(path.resolve(__dirname + '/../browser/index-headless.html'))
+})
+express.get('*', function(req, res){
+ res.sendFile(path.resolve(__dirname + '/../browser' + req.path))
+})
- io.use(ioWildcard)
+io.use(ioWildcard)
- io.listen(server);
+io.listen(server);
- server.listen(settings.read('noGui'))
-
- ipc.send = function(name,data,clientId) {
- if (clientId) {
- io.to(clientId).emit(name,data)
- } else {
- io.emit(name,data)
- }
- }
-
- var bindCallbacks = function(callbacks) {
- io.on('connection', function(socket) {
- socket.on('*', function(e){
- var name = e.data[0],
- data = e.data[1]
-
- if ((name=='sendOsc' && data.sync!==false) || name=='syncOsc') {
- // synchronize all other connected clients
- socket.broadcast.emit('receiveOsc',data)
- }
- if (name=='sessionOpened') {
- // synchronize all other connected clients
- socket.broadcast.emit('stateSend',data)
- }
-
- if (callbacks[name]) callbacks[name](data,socket.id)
- });
- });
- }
-
- var appAddresses = []
- Object.keys(ifaces).forEach(function (ifname) {
- for (i=0;i1023&&parseInt(a.i)===a.i){return true}else{throw 'Error: Port must be an integer >= 1024'}})
.check(function(a,x){if(a.p==undefined || !isNaN(a.p)&&a.p>1023&&parseInt(a.p)===a.p){return true}else{throw 'Error: Port must be an integer >= 1024'}})
- .check(function(a,x){if(a.n==undefined || !isNaN(a.n)&&a.n>1023&&parseInt(a.n)===a.n){return true}else{throw 'Error: Port must be an integer >= 1024'}})
.check(function(a,x){if(a.s==undefined || a.s.join(' ').match('^([^:\s]*:[0-9]{4,5}[\s]*)*$')!=null){return true}else{throw 'Error: Sync hosts must be ip:port pairs & port must be >= 1024'}})
.strict()
.argv
-module.exports = function(fs) {
- var config = function(){try {return JSON.parse(fs.readFileSync(configFile,'utf-8'))} catch(err) {return {}}}(),
- defaultConfig = {
- presetPath : process.cwd(),
- sessionPath: process.cwd(),
- recentSessions: [],
+var config = function(){try {return JSON.parse(fs.readFileSync(configFile,'utf-8'))} catch(err) {return {}}}(),
+ defaultConfig = {
+ presetPath : process.cwd(),
+ sessionPath: process.cwd(),
+ recentSessions: [],
- appName: 'Open Stage Control',
- syncTargets: argv.s || false,
- oscInPort: argv.p || 0,
- debug: argv.d || false,
- sessionFile: argv.l || false,
- noGui: argv.n || false,
- examples: argv.examples,
- theme: function(){
- if (!argv.t) return
- var style = []
- for (i in argv.t) {
- try {style.push(fs.readFileSync(__dirname + '/themes/' + argv.t[i] + '.css','utf-8'))}
+ appName: 'Open Stage Control',
+ syncTargets: argv.s || false,
+ oscInPort: argv.i || 0,
+ httpPort: argv.p || 8080,
+ debug: argv.d || false,
+ sessionFile: argv.l || false,
+ noGui: argv.n || false,
+ guiOnly: argv.g || false,
+ examples: argv.examples,
+ theme: function(){
+ if (!argv.t) return
+ var style = []
+ for (i in argv.t) {
+ try {style.push(fs.readFileSync(__dirname + '/themes/' + argv.t[i] + '.css','utf-8'))}
+ catch(err) {
+ try {style.push(fs.readFileSync(argv.t[i],'utf-8'))}
catch(err) {
- try {style.push(fs.readFileSync(argv.t[i],'utf-8'))}
- catch(err) {
- console.log('Theme "' + argv.t[i] + '" not found.')
- }
+ console.log('Theme "' + argv.t[i] + '" not found.')
}
}
- return style
- }()
- }
- return {
+ }
+ return style
+ }()
+ }
+
+module.exports = {
+
+ read:function(key){
+ var x = config[key] || defaultConfig[key]
+ return x
+ },
+ write:function(key,value) {
+ config[key] = value
+ fs.writeFile(configFile,JSON.stringify(config,null,4), function (err, data) {
+ if (err) throw err
+ })
+ }
- read:function(key){
- var x = config[key] || defaultConfig[key]
- return x
- },
- write:function(key,value) {
- config[key] = value
- fs.writeFile(configFile,JSON.stringify(config,null,4), function (err, data) {
- if (err) throw err
- })
- }
- }
}
From edeb3e3165cde796df368b6e1e9af3bfe6ef2e8a Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 30 Sep 2016 13:28:01 +0200
Subject: [PATCH 0011/5523] main: remove remaining electron-specific api calls
and clean
---
app/browser/index-headless.html | 17 ------
app/browser/index.html | 6 +-
app/browser/js/app/actions.js | 91 ++++++++++++------------------
app/browser/js/browser-headless.js | 11 ----
app/browser/js/browser.js | 9 +--
app/main/server-express.js | 2 +-
package.json | 4 +-
7 files changed, 46 insertions(+), 94 deletions(-)
delete mode 100644 app/browser/index-headless.html
delete mode 100644 app/browser/js/browser-headless.js
diff --git a/app/browser/index-headless.html b/app/browser/index-headless.html
deleted file mode 100644
index 0abeffbe..00000000
--- a/app/browser/index-headless.html
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/app/browser/index.html b/app/browser/index.html
index b4f3437a..54d36553 100644
--- a/app/browser/index.html
+++ b/app/browser/index.html
@@ -1,13 +1,11 @@
-
+
-
+
diff --git a/app/browser/js/app/actions.js b/app/browser/js/app/actions.js
index 7db07aa1..e8cf719e 100644
--- a/app/browser/js/app/actions.js
+++ b/app/browser/js/app/actions.js
@@ -15,15 +15,10 @@ module.exports = {
stateSave: function() {
state = JSON.stringify(module.exports.stateGet(),null,' ')
- if (WEBFRAME) {
- IPC.send('stateSave',state)
- } else {
- var down = $('')
- var blob = new Blob([state],{type : 'text/plain'});
- down.attr('href', window.URL.createObjectURL(blob))
- down[0].click()
- }
-
+ var down = $('')
+ var blob = new Blob([state],{type : 'text/plain'});
+ down.attr('href', window.URL.createObjectURL(blob))
+ down[0].click()
},
stateGet: function (){
@@ -42,21 +37,17 @@ module.exports = {
},
stateLoad: function() {
- if (WEBFRAME) {
- IPC.send('stateLoad')
- } else {
- var prompt = $('')
- prompt.click()
- prompt.on('change',function(e){
- var reader = new FileReader();
- reader.onloadend = function(e) {
- var preset = e.target.result
- module.exports.stateSet(JSON.parse(preset),true)
- STATE = preset
- }
- reader.readAsText(e.target.files[0],'utf-8');
- })
- }
+ var prompt = $('')
+ prompt.click()
+ prompt.on('change',function(e){
+ var reader = new FileReader();
+ reader.onloadend = function(e) {
+ var preset = e.target.result
+ module.exports.stateSet(JSON.parse(preset),true)
+ STATE = preset
+ }
+ reader.readAsText(e.target.files[0],'utf-8');
+ })
},
stateSend: function(){
@@ -81,47 +72,37 @@ module.exports = {
toggleFullscreen: function(){
- if (WEBFRAME) {
- IPC.send('fullscreen')
- } else {
- var isInFullScreen = document.webkitIsFullScreen
+ var isInFullScreen = document.webkitIsFullScreen
- if (isInFullScreen) {
- document.webkitExitFullscreen()
- } else {
- document.documentElement.webkitRequestFullScreen()
- }
+ if (isInFullScreen) {
+ document.webkitExitFullscreen()
+ } else {
+ document.documentElement.webkitRequestFullScreen()
}
+
},
sessionBrowse: function(){
- if (WEBFRAME) {
- IPC.send('sessionBrowse')
- } else {
- var prompt = $('')
- prompt.click()
- prompt.on('change',function(e){
- var reader = new FileReader();
- reader.onloadend = function(e) {
- var session = e.target.result
- IPC.send('sessionOpen',{file:session})
- }
- reader.readAsText(e.target.files[0],'utf-8');
- })
- }
+ var prompt = $('')
+ prompt.click()
+ prompt.on('change',function(e){
+ var reader = new FileReader();
+ reader.onloadend = function(e) {
+ var session = e.target.result
+ IPC.send('sessionOpen',{file:session})
+ }
+ reader.readAsText(e.target.files[0],'utf-8');
+ })
+
},
sessionSave: function() {
var sessionfile = JSON.stringify(SESSION,null,' ')
- if (WEBFRAME) {
- IPC.send('sessionSave',sessionfile)
- } else {
- var down = $('')
- var blob = new Blob([sessionfile],{type : 'text/plain'});
- down.attr('href', window.URL.createObjectURL(blob))
- down[0].click()
- }
+ var down = $('')
+ var blob = new Blob([sessionfile],{type : 'text/plain'});
+ down.attr('href', window.URL.createObjectURL(blob))
+ down[0].click()
},
diff --git a/app/browser/js/browser-headless.js b/app/browser/js/browser-headless.js
deleted file mode 100644
index de27cf27..00000000
--- a/app/browser/js/browser-headless.js
+++ /dev/null
@@ -1,11 +0,0 @@
-WEBFRAME = false
-
-// mainProcess & renderProcess communication engine
-// electron's ipc module is not available here, we use socket.io as a replacement
-var socket = require('socket.io-client')
-
-IPC = socket.connect()
-IPC.send = IPC.emit
-
-
-require('./app')
diff --git a/app/browser/js/browser.js b/app/browser/js/browser.js
index f7bb7090..140d6c59 100644
--- a/app/browser/js/browser.js
+++ b/app/browser/js/browser.js
@@ -1,7 +1,8 @@
-var electron = require('electron')
-WEBFRAME = electron.webFrame
-
// mainProcess & renderProcess communication engine
-IPC = electron.ipcRenderer
+// electron's ipc module is not available here, we use socket.io as a replacement
+var socket = require('socket.io-client')
+
+IPC = socket.connect()
+IPC.send = IPC.emit
require('./app')
diff --git a/app/main/server-express.js b/app/main/server-express.js
index 3d322bfd..0923248c 100644
--- a/app/main/server-express.js
+++ b/app/main/server-express.js
@@ -10,7 +10,7 @@ var express = require('express')(),
settings = require('./settings')
express.get('/', function(req, res){
- res.sendFile(path.resolve(__dirname + '/../browser/index-headless.html'))
+ res.sendFile(path.resolve(__dirname + '/../browser/index.html'))
})
express.get('*', function(req, res){
res.sendFile(path.resolve(__dirname + '/../browser' + req.path))
diff --git a/package.json b/package.json
index 43a75311..a231107e 100644
--- a/package.json
+++ b/package.json
@@ -17,9 +17,9 @@
"deb64": "electron-installer-debian --src dist/open-stage-control-linux-x64/ --arch amd64 --dest dist/open-stage-control-linux-x64/ --icon app/resources/images/logo.png",
"debarm": "electron-installer-debian --src dist/open-stage-control-linux-armv7l/ --arch armv7l --dest dist/open-stage-control-linux-armv7l/ --icon app/resources/images/logo.png",
"watch-css": "nodemon --watch app/browser/scss -e scss -x \"npm run build-css\"",
- "watch-js": "nodemon --watch app/browser/js -e js --ignore app/browser/js/browser-headless.bundle.js -x \"npm run build-js\"",
+ "watch-js": "nodemon --watch app/browser/js -e js --ignore app/browser/js/browser.bundle.js -x \"npm run build-js\"",
"build-css": "node-sass --include-path app/browser/scss app/browser/scss/style.scss app/browser/css/style.css --output-style compressed",
- "build-js": "browserify app/browser/js/browser-headless.js -o app/browser/js/browser-headless.bundle.js",
+ "build-js": "browserify app/browser/js/browser.js -o app/browser/js/browser.bundle.js",
"deploy-docs": "cd app/resources && mkdocs gh-deploy --clean && rm -rf site",
"test": "npm run build"
}
From 346c2a3904e941511a20d42d5a0369edfc711a09 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 30 Sep 2016 13:43:38 +0200
Subject: [PATCH 0012/5523] history: check if file exists (on the server)
before adding to history
---
app/browser/js/app/actions.js | 8 +++++---
app/main/callbacks.js | 30 +++---------------------------
2 files changed, 8 insertions(+), 30 deletions(-)
diff --git a/app/browser/js/app/actions.js b/app/browser/js/app/actions.js
index e8cf719e..f8145bc5 100644
--- a/app/browser/js/app/actions.js
+++ b/app/browser/js/app/actions.js
@@ -87,12 +87,14 @@ module.exports = {
var prompt = $('')
prompt.click()
prompt.on('change',function(e){
- var reader = new FileReader();
+ var reader = new FileReader(),
+ file = e.target.files[0]
+
reader.onloadend = function(e) {
var session = e.target.result
- IPC.send('sessionOpen',{file:session})
+ IPC.send('sessionOpen',{file:session,path:file.path})
}
- reader.readAsText(e.target.files[0],'utf-8');
+ reader.readAsText(file, 'utf-8');
})
},
diff --git a/app/main/callbacks.js b/app/main/callbacks.js
index bafbd6e3..09185706 100644
--- a/app/main/callbacks.js
+++ b/app/main/callbacks.js
@@ -21,35 +21,11 @@ module.exports = {
ipc.send('sessionList',recentSessions,clientId)
},
- sessionBrowse: function(data) {
- var sessionlist = settings.read('recentSessions'),
- self = this
- dialog.showOpenDialog(window,{title:'Load session file',defaultPath:settings.read('sessionPath'),filters: [ { name: 'OSC Session file', extensions: ['js'] }]},function(file){
- if (file==undefined) {return}
- settings.write('sessionPath',file[0].replace(file[0].split('/').pop(),''))
- self.sessionOpen({path:file[0]})
- })
- },
-
- sessionSave: function(data) {
- var self = this
- dialog.showSaveDialog(window,{title:'Save current session',defaultPath:settings.read('sessionPath'),filters: [ { name: 'OSC Session file', extensions: ['js'] }]},function(file){
-
- if (file==undefined) {return}
- settings.write('sessionPath',file.replace(file.split('/').pop(),''))
-
- if (file.indexOf('.js')==-1){file+='.js'}
- fs.writeFile(file,data, function (err, data) {
- if (err) throw err
- self.sessionAddToHistory(file)
- console.log('The session was saved in '+file)
- })
- })
- },
-
-
sessionAddToHistory: function(data) {
var sessionlist = settings.read('recentSessions')
+
+ if (!fs.lstatSync(data).isFile()) return
+
// add session to history
sessionlist.unshift(data)
// remove doubles from history
From de6191eab910bb8b3a252b178930237db6450864 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 30 Sep 2016 14:08:43 +0200
Subject: [PATCH 0013/5523] main: add switches for choosing the app's address
and fix the old ones
---
app/main/gui.js | 5 +++--
app/main/server-express.js | 13 ++-----------
app/main/settings.js | 22 +++++++++++++++++++---
3 files changed, 24 insertions(+), 16 deletions(-)
diff --git a/app/main/gui.js b/app/main/gui.js
index 8bd7c762..4539217f 100644
--- a/app/main/gui.js
+++ b/app/main/gui.js
@@ -1,7 +1,8 @@
var path = require('path'),
shortcut = require('electron-localshortcut'),
{app, BrowserWindow, dialog} = require('electron'),
- settings = require('./settings')
+ settings = require('./settings'),
+ address = 'http://' + settings.read('address') || settings.read('appAddresses')[0]
dialog.showErrorBox = function(title,err) {
console.log(title + ': ' + err)
@@ -24,7 +25,7 @@ app.on('ready',function(){
backgroundColor:'#1a1d22'
})
- window.loadURL('http://127.0.0.1:' + settings.read('httpPort'))
+ window.loadURL(address)
window.on('closed', function() {
window = null
diff --git a/app/main/server-express.js b/app/main/server-express.js
index 0923248c..3f47e131 100644
--- a/app/main/server-express.js
+++ b/app/main/server-express.js
@@ -5,9 +5,9 @@ var express = require('express')(),
server = http.createServer(express),
io = require('socket.io')(),
ioWildcard = require('socketio-wildcard')(),
- ifaces = require('os').networkInterfaces(),
ipc = {},
- settings = require('./settings')
+ settings = require('./settings'),
+ appAddresses = settings.appAddresses
express.get('/', function(req, res){
res.sendFile(path.resolve(__dirname + '/../browser/index.html'))
@@ -52,15 +52,6 @@ var bindCallbacks = function(callbacks) {
});
}
-var appAddresses = []
-
-Object.keys(ifaces).forEach(function (ifname) {
- for (i=0;i
Date: Fri, 30 Sep 2016 14:09:41 +0200
Subject: [PATCH 0014/5523] docs: document new switches
---
app/resources/docs/getting-started.md | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
diff --git a/app/resources/docs/getting-started.md b/app/resources/docs/getting-started.md
index 12f31ecf..9b066a4a 100644
--- a/app/resources/docs/getting-started.md
+++ b/app/resources/docs/getting-started.md
@@ -8,13 +8,16 @@ Prebuilt binaries for Linux, Windows and OS X can be found on the [release](http
```bash
Options:
- -h, --help display help
- -s, --sync synchronized hosts (ip:port pairs) (all osc messages will also be sent to these)
- -l, --load session file to load
- -p, --port osc input port (for synchronization / feedback)
- -d, --debug log received osc in the console
- -n, --nogui disable default gui and makes the app availabe through http on specified port
- -t, --theme theme name or path (mutliple values allowed)
+ -h, --help display help
+ -s, --sync synchronized hosts (ip:port pairs) (all osc messages will also be sent to these)
+ -i, --input-port osc input port (for synchronization / feedback)
+ -d, --debug log received osc in the console
+ -p, --port http port of the app\'s server (default to 8080)
+ -n, --nogui disable default gui
+ -g, --gui-only only launch the gui (a server instance must be running)
+ -a, --address app\'s ip:port (for gui-only mode, default to localhost:8080
+ -l, --load session file to load
+ -t, --theme theme name or path (mutliple values allowed)
Examples:
@@ -22,10 +25,13 @@ $ open-stage-control -s 127.0.0.1:5555 127.0.0.1:6666 -p 7777
This will create an app listening on port 7777 for synchronization messages, and sending its widgets state changes to ports 5555 and 6666.
-$ open-stage-control -n 8080 -l path/to/session.js
+$ open-stage-control -n -l path/to/session.js
This will create a headless app available through http on port 8080. Multiple clients can use the app (with chrome only) simultaneously, their widgets will be synchronized.
+$ open-stage-control -n -l path/to/session.js
+
+
$ open-stage-control -t light noinput /path/to/custom_theme.css
From fdf94213a233c5d6a149df229cdf3b57b7356692 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 30 Sep 2016 14:14:05 +0200
Subject: [PATCH 0015/5523] main: fix default app address and wrong settings
calls
---
app/main/gui.js | 3 ++-
app/main/server-express.js | 2 +-
app/resources/docs/getting-started.md | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/app/main/gui.js b/app/main/gui.js
index 4539217f..d23e0429 100644
--- a/app/main/gui.js
+++ b/app/main/gui.js
@@ -2,8 +2,9 @@ var path = require('path'),
shortcut = require('electron-localshortcut'),
{app, BrowserWindow, dialog} = require('electron'),
settings = require('./settings'),
- address = 'http://' + settings.read('address') || settings.read('appAddresses')[0]
+ address = settings.read('address')? 'http://' + settings.read('address') : settings.read('appAddresses')[0]
+console.log(address)
dialog.showErrorBox = function(title,err) {
console.log(title + ': ' + err)
}
diff --git a/app/main/server-express.js b/app/main/server-express.js
index 3f47e131..f0c0456e 100644
--- a/app/main/server-express.js
+++ b/app/main/server-express.js
@@ -7,7 +7,7 @@ var express = require('express')(),
ioWildcard = require('socketio-wildcard')(),
ipc = {},
settings = require('./settings'),
- appAddresses = settings.appAddresses
+ appAddresses = settings.read('appAddresses')
express.get('/', function(req, res){
res.sendFile(path.resolve(__dirname + '/../browser/index.html'))
diff --git a/app/resources/docs/getting-started.md b/app/resources/docs/getting-started.md
index 9b066a4a..b102b541 100644
--- a/app/resources/docs/getting-started.md
+++ b/app/resources/docs/getting-started.md
@@ -15,7 +15,7 @@ Options:
-p, --port http port of the app\'s server (default to 8080)
-n, --nogui disable default gui
-g, --gui-only only launch the gui (a server instance must be running)
- -a, --address app\'s ip:port (for gui-only mode, default to localhost:8080
+ -a, --address app\'s ip:port (for gui-only mode, default to localhost:8080)
-l, --load session file to load
-t, --theme theme name or path (mutliple values allowed)
From 2639cfd930bf3ba5515e2b4d6bcb3dce5f1774c4 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 30 Sep 2016 17:16:49 +0200
Subject: [PATCH 0016/5523] heroku: use new switches
---
Procfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Procfile b/Procfile
index 094bafa2..2cc245aa 100644
--- a/Procfile
+++ b/Procfile
@@ -1 +1 @@
-web: npm run build-js && npm run build-css && cd app && node index.js -n $PORT --examples
+web: npm run build-js && npm run build-css && cd app && node index.js -n -p $PORT --examples
From d9e7a0cea0c5edcbef33cd1e64e2284c0308580f Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 30 Sep 2016 17:44:25 +0200
Subject: [PATCH 0017/5523] main: merge --address and --gui-only switches,
update docs
---
README.md | 2 +-
app/main/gui.js | 3 +--
app/main/settings.js | 4 +---
app/resources/docs/getting-started.md | 3 +--
app/resources/docs/index.md | 2 +-
5 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index b1bf70c9..2b286368 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
#
Open Stage Control
-Open Stage Control is a libre desktop OSC bi-directionnal control surface application. It's built with HTML, JavaScript & CSS on top of [Electron](http://electron.atom.io/) framework.
+Open Stage Control is a libre desktop OSC bi-directionnal control surface application. It's built with HTML, JavaScript & CSS and run as a Node / [Electron](http://electron.atom.io/) web server that accepts any number of Chrome / Chromium / Electron clients.
## Documentation
diff --git a/app/main/gui.js b/app/main/gui.js
index d23e0429..d15ca6a8 100644
--- a/app/main/gui.js
+++ b/app/main/gui.js
@@ -2,9 +2,8 @@ var path = require('path'),
shortcut = require('electron-localshortcut'),
{app, BrowserWindow, dialog} = require('electron'),
settings = require('./settings'),
- address = settings.read('address')? 'http://' + settings.read('address') : settings.read('appAddresses')[0]
+ address = typeof settings.read('guiOnly')=='string'? 'http://' + settings.read('guiOnly') : settings.read('appAddresses')[0]
-console.log(address)
dialog.showErrorBox = function(title,err) {
console.log(title + ': ' + err)
}
diff --git a/app/main/settings.js b/app/main/settings.js
index 52a51028..6c92fe2e 100644
--- a/app/main/settings.js
+++ b/app/main/settings.js
@@ -15,8 +15,7 @@ var argv = require('yargs')
'i':{alias:'input-port',describe:'osc input port (for synchronization)'},
'd':{alias:'debug',describe:'log received osc messages in the console'},
'n':{alias:'no-gui',describe:'disable default gui'},
- 'g':{alias:'gui-only',describe:'only launch the gui (a server instance must be running) '},
- 'a':{alias:'address',describe:'app\'s ip:port (for gui-only mode, default to localhost:8080)'},
+ 'g':{alias:'gui-only',describe:'app\'s ip:port, default to localhost:8080, only launch the gui (a server instance must be running)'},
't':{alias:'theme',type:'array',describe:'theme name or path (mutliple values allowed)'},
'examples':{describe:'list examples instead of recent sessions'}
})
@@ -40,7 +39,6 @@ var config = function(){try {return JSON.parse(fs.readFileSync(configFile,'utf-8
sessionFile: argv.l || false,
noGui: argv.n || false,
guiOnly: argv.g || false,
- address: argv.a || false,
appAddresses:function(){
var appAddresses = []
diff --git a/app/resources/docs/getting-started.md b/app/resources/docs/getting-started.md
index b102b541..fce14be1 100644
--- a/app/resources/docs/getting-started.md
+++ b/app/resources/docs/getting-started.md
@@ -14,8 +14,7 @@ Options:
-d, --debug log received osc in the console
-p, --port http port of the app\'s server (default to 8080)
-n, --nogui disable default gui
- -g, --gui-only only launch the gui (a server instance must be running)
- -a, --address app\'s ip:port (for gui-only mode, default to localhost:8080)
+ -g, --gui-only app\'s ip:port, default to localhost:8080, only launch the gui (a server instance must be running)
-l, --load session file to load
-t, --theme theme name or path (mutliple values allowed)
diff --git a/app/resources/docs/index.md b/app/resources/docs/index.md
index 00baa9f3..48350dd8 100644
--- a/app/resources/docs/index.md
+++ b/app/resources/docs/index.md
@@ -1,6 +1,6 @@
#
Open Stage Control
-Open Stage Control is a libre desktop OSC bi-directionnal control surface application. It's built with HTML, JavaScript & CSS on top of [Electron](http://electron.atom.io/) framework.
+Open Stage Control is a libre desktop OSC bi-directionnal control surface application. It's built with HTML, JavaScript & CSS and run as a Node / [Electron](http://electron.atom.io/) web server that accepts any number of Chrome / Chromium / Electron clients.
## Demo
From 034cfba05fbbcd2479046c2c9d8e12d874028884 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 30 Sep 2016 17:47:50 +0200
Subject: [PATCH 0018/5523] docs: syntax
---
app/resources/docs/getting-started.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/resources/docs/getting-started.md b/app/resources/docs/getting-started.md
index fce14be1..50e2d930 100644
--- a/app/resources/docs/getting-started.md
+++ b/app/resources/docs/getting-started.md
@@ -6,15 +6,15 @@
Prebuilt binaries for Linux, Windows and OS X can be found on the [release](https://github.com/jean-emmanuel/open-stage-control/releases) page.
-```bash
+```
Options:
-h, --help display help
-s, --sync synchronized hosts (ip:port pairs) (all osc messages will also be sent to these)
-i, --input-port osc input port (for synchronization / feedback)
-d, --debug log received osc in the console
- -p, --port http port of the app\'s server (default to 8080)
+ -p, --port http port of the app's server (default to 8080)
-n, --nogui disable default gui
- -g, --gui-only app\'s ip:port, default to localhost:8080, only launch the gui (a server instance must be running)
+ -g, --gui-only app's ip:port, default to localhost:8080, only launch the gui (a server instance must be running)
-l, --load session file to load
-t, --theme theme name or path (mutliple values allowed)
From c34d2e93c1a29624d825cf5e734a9ccd626cccfa Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sun, 2 Oct 2016 18:56:38 +0200
Subject: [PATCH 0019/5523] widgets: use a single options object to pass extra
params to widgets' setValue method
---
app/browser/js/app/actions.js | 2 +-
app/browser/js/app/callbacks.js | 2 +-
app/browser/js/app/widgets.js | 4 ++--
app/browser/js/app/widgets/push.js | 10 +++++-----
app/browser/js/app/widgets/rgb.js | 12 ++++++------
.../js/app/widgets/sliders/_sliders_base.js | 14 +++++++-------
app/browser/js/app/widgets/switch.js | 8 ++++----
app/browser/js/app/widgets/toggle.js | 10 +++++-----
app/browser/js/app/widgets/xy.js | 10 +++++-----
9 files changed, 36 insertions(+), 36 deletions(-)
diff --git a/app/browser/js/app/actions.js b/app/browser/js/app/actions.js
index f8145bc5..7e428bea 100644
--- a/app/browser/js/app/actions.js
+++ b/app/browser/js/app/actions.js
@@ -63,7 +63,7 @@ module.exports = {
if (WIDGETS[data[0]]!=undefined) {
for (var i=WIDGETS[data[0]].length-1;i>=0;i--) {
if (WIDGETS[data[0]][i].setValue) {
- WIDGETS[data[0]][i].setValue(data[1],send,true)
+ WIDGETS[data[0]][i].setValue(data[1],{send:send,sync:true})
}
}
}
diff --git a/app/browser/js/app/callbacks.js b/app/browser/js/app/callbacks.js
index 64028a6e..3df40817 100644
--- a/app/browser/js/app/callbacks.js
+++ b/app/browser/js/app/callbacks.js
@@ -37,7 +37,7 @@ module.exports = {
// compare arrays using > and < operators (both false = equality)
if (!target || !(WIDGETS_BY_PATH[pathref][i].target < target || WIDGETS_BY_PATH[pathref][i].target > target)) {
// update matching widgets
- if (WIDGETS_BY_PATH[pathref][i]) WIDGETS_BY_PATH[pathref][i].setValue(args,false,true)
+ if (WIDGETS_BY_PATH[pathref][i]) WIDGETS_BY_PATH[pathref][i].setValue(args,{send:false,sync:true})
}
}
diff --git a/app/browser/js/app/widgets.js b/app/browser/js/app/widgets.js
index f62d6cd2..646e173b 100644
--- a/app/browser/js/app/widgets.js
+++ b/app/browser/js/app/widgets.js
@@ -63,7 +63,7 @@ module.exports.sync = function() {
var v = widget.getValue()
for (i in WIDGETS[id]) {
if (!WIDGETS[id][i].is(widget) && WIDGETS[id][i].setValue) {
- WIDGETS[id][i].setValue(v,false,false)
+ WIDGETS[id][i].setValue(v)
}
}
}
@@ -73,7 +73,7 @@ module.exports.sync = function() {
var v = widget.getValue()
for (i in WIDGETS_LINKED[linkId]) {
if (!WIDGETS_LINKED[linkId][i].is(widget) && WIDGETS_LINKED[linkId][i].setValue) {
- WIDGETS_LINKED[linkId][i].setValue(v,true,false)
+ WIDGETS_LINKED[linkId][i].setValue(v,{send:true,sync:true})
}
}
}
diff --git a/app/browser/js/app/widgets/push.js b/app/browser/js/app/widgets/push.js
index 8a6a0391..bf332e60 100644
--- a/app/browser/js/app/widgets/push.js
+++ b/app/browser/js/app/widgets/push.js
@@ -76,19 +76,19 @@ module.exports.create = function(widgetData,container) {
}
}
- widget.setValue = function(v,send,sync) {
+ widget.setValue = function(v,options={}) {
if (v===widgetData.on || (v=='false'&&widgetData.on===false)) {
widget.addClass('on')
widget.state = 1
- if (send) widget.sendValue(v)
+ if (options.send) widget.sendValue(v)
widget.lastChanged = 'state'
- if (sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ if (options.sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
} else if (v===widgetData.off || (v=='false'&&widgetData.off===false)) {
widget.removeClass('on')
widget.state = 0
- if (send) widget.sendValue(v)
+ if (options.send) widget.sendValue(v)
widget.lastChanged = 'state'
- if (sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ if (options.sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
}
}
diff --git a/app/browser/js/app/widgets/rgb.js b/app/browser/js/app/widgets/rgb.js
index a28e5c7d..7d23f48c 100644
--- a/app/browser/js/app/widgets/rgb.js
+++ b/app/browser/js/app/widgets/rgb.js
@@ -196,7 +196,7 @@ module.exports.create = function(widgetData,container) {
rgb = hsbToRgb({h:h,s:s,b:l})
return [rgb.r,rgb.g,rgb.b]
}
- widget.setValue = function(v,send,sync) {
+ widget.setValue = function(v,options={}) {
if (!v || v.length!=3) return
for (i in [0,1,2]) {
@@ -226,8 +226,8 @@ module.exports.create = function(widgetData,container) {
- if (sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
- if (send) widget.sendValue(v)
+ if (options.sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ if (options.send) widget.sendValue(v)
}
widget.sendValue = function(v) {
var args = widgetData.preArgs.concat(v)
@@ -273,17 +273,17 @@ module.exports.create = function(widgetData,container) {
value.r.change(function(){
var r = clip(value.r.val(),[0,255])
var v = widget.getValue()
- widget.setValue([r,v[1],v[2]],true,true)
+ widget.setValue([r,v[1],v[2]],{sync:true,send:true})
})
value.g.change(function(){
var g = clip(value.g.val(),[0,255])
var v = widget.getValue()
- widget.setValue([v[0],g,v[2]],true,true)
+ widget.setValue([v[0],g,v[2]],{sync:true,send:true})
})
value.b.change(function(){
var b = clip(value.b.val(),[0,255])
var v = widget.getValue()
- widget.setValue([v[0],v[1],b],true,true)
+ widget.setValue([v[0],v[1],b],{sync:true,send:true})
})
widget.setValue([0,0,0])
diff --git a/app/browser/js/app/widgets/sliders/_sliders_base.js b/app/browser/js/app/widgets/sliders/_sliders_base.js
index 2d0407fa..3ea1e26b 100644
--- a/app/browser/js/app/widgets/sliders/_sliders_base.js
+++ b/app/browser/js/app/widgets/sliders/_sliders_base.js
@@ -62,7 +62,7 @@ var _sliders_base = module.exports = function(){
this.canvas.on('drag',this.dragHandleProxy.bind(this))
this.input.change(function(){
- this.widget.setValue(parseFloat(this.input.val()),true,true)
+ this.widget.setValue(parseFloat(this.input.val()),{sync:true,send:true})
}.bind(this))
this.widget.getValue = function(){
@@ -104,7 +104,7 @@ _sliders_base.prototype.mousewheelHandle = function(e, data, traversing) {
this.percent = clip(this.percent + Math.max(increment,10/Math.pow(10,this.widgetData.precision)) * direction ,[0,100])
- this.setValue(this.percentToValue(this.percent), true, true)
+ this.setValue(this.percentToValue(this.percent), {sync:true,send:true})
}
@@ -144,23 +144,23 @@ _sliders_base.prototype.valueToPercent = function(value) {
}
}
-_sliders_base.prototype.setValue = function(v,send,sync, dragged) {
+_sliders_base.prototype.setValue = function(v,options={}) {
if (typeof v != 'number') return
var value = roundTo(clip(Math.round(v*this.roundFactor)/this.roundFactor,[this.rangeValsMin,this.rangeValsMax]),this.widgetData.precision)
- if (dragged && this.value == value) send = false
+ if (options.dragged && this.value == value) send = false
this.value = value
- if (!dragged) this.percent = this.valueToPercent(this.value)
+ if (!options.dragged) this.percent = this.valueToPercent(this.value)
this.draw()
this.showValue()
- if (sync) this.widget.trigger('sync',[this.widgetData.id,this.widget,this.widgetData.linkId])
- if (send) this.sendValue(v)
+ if (options.sync) this.widget.trigger('sync',[this.widgetData.id,this.widget,this.widgetData.linkId])
+ if (options.send) this.sendValue(v)
}
_sliders_base.prototype.sendValue = function(value) {
diff --git a/app/browser/js/app/widgets/switch.js b/app/browser/js/app/widgets/switch.js
index c8ad7ddb..c9edc78b 100644
--- a/app/browser/js/app/widgets/switch.js
+++ b/app/browser/js/app/widgets/switch.js
@@ -47,7 +47,7 @@ module.exports.create = function(widgetData,container) {
widget.find('.value').on('draginit',function(e,dd){
var data = $(this).data()
- if (data.value!=widget.value || widget.value===undefined) widget.setValue(data.value,true,true)
+ if (data.value!=widget.value || widget.value===undefined) widget.setValue(data.value,{sync:true,send:true})
})
@@ -55,7 +55,7 @@ module.exports.create = function(widgetData,container) {
widget.getValue = function() {
return widget.value
}
- widget.setValue = function(v,send,sync) {
+ widget.setValue = function(v,options={}) {
var i = widget.values.indexOf(v)
if (i!=-1) {
widget.value = widget.values[i]
@@ -64,8 +64,8 @@ module.exports.create = function(widgetData,container) {
$(this).removeClass('ripple')
next()
})
- if (send) widget.sendValue(widget.value)
- if (sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ if (options.send) widget.sendValue(widget.value)
+ if (options.sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
}
}
diff --git a/app/browser/js/app/widgets/toggle.js b/app/browser/js/app/widgets/toggle.js
index 56fee496..5b24c1ae 100644
--- a/app/browser/js/app/widgets/toggle.js
+++ b/app/browser/js/app/widgets/toggle.js
@@ -43,7 +43,7 @@ module.exports.create = function(widgetData,container) {
widget.fakeclick = function(){
var newVal = widget.state?widgetData.off:widgetData.on
- widget.setValue(newVal,true,true)
+ widget.setValue(newVal,{sync:true,send:true})
$document.on('dragend.toggle',function(){
$document.off('dragend.toggle')
widget.on('draginit.toggle',function(){
@@ -57,18 +57,18 @@ module.exports.create = function(widgetData,container) {
widget.getValue = function() {
return widget.state?widgetData.on:widgetData.off
}
- widget.setValue = function(v,send,sync) {
+ widget.setValue = function(v,options={}) {
if (v===widgetData.on || (v=='false'&&widgetData.on===false)) {
widget.addClass('on')
widget.state = 1
- if (send) widget.sendValue(widgetData.on)
+ if (options.send) widget.sendValue(widgetData.on)
} else if (v===widgetData.off || (v=='false'&&widgetData.off===false)) {
widget.removeClass('on')
widget.state = 0
- if (send) widget.sendValue(widgetData.off)
+ if (options.send) widget.sendValue(widgetData.off)
}
- if (sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ if (options.sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
}
widget.sendValue = function(v) {
diff --git a/app/browser/js/app/widgets/xy.js b/app/browser/js/app/widgets/xy.js
index 4bb760d0..0e76e1eb 100644
--- a/app/browser/js/app/widgets/xy.js
+++ b/app/browser/js/app/widgets/xy.js
@@ -140,7 +140,7 @@ module.exports.create = function(widgetData,container) {
return [x,y]
}
- widget.setValue = function(v,send,sync) {
+ widget.setValue = function(v,options={}) {
if (!v || v.length!=2) return
for (i in [0,1]) {
@@ -158,8 +158,8 @@ module.exports.create = function(widgetData,container) {
widget.value = v
widget.showValue(v)
- if (sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
- if (send) widget.sendValue(v)
+ if (options.sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ if (options.send) widget.sendValue(v)
}
widget.sendValue = function(v) {
var args = widgetData.preArgs.concat(v)
@@ -196,12 +196,12 @@ module.exports.create = function(widgetData,container) {
value.x.change(function(){
var v = widget.getValue()
v[0] = clip(value.x.val(),[range.x.min,range.x.max])
- widget.setValue(v,true,true)
+ widget.setValue(v,{sync:true,send:true})
})
value.y.change(function(){
var v = widget.getValue()
v[1] = clip(value.y.val(),[range.y.min,range.y.max])
- widget.setValue(v,true,true)
+ widget.setValue(v,{sync:true,send:true})
})
widget.setValue([range.x.min,range.y.min])
From f35cfbb3a648f04457e56d6ff9bf02e46d2da52c Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sun, 2 Oct 2016 18:59:14 +0200
Subject: [PATCH 0020/5523] widgets: tell widgets if osc messages come from
local feedback (from another client)
---
app/browser/js/app/callbacks.js | 2 +-
app/browser/js/app/widgets.js | 4 ++--
app/browser/js/app/widgets/push.js | 4 ++++
app/browser/js/app/widgets/sliders/_sliders_base.js | 2 +-
app/browser/js/app/widgets/sliders/fader.js | 4 ++--
app/browser/js/app/widgets/sliders/knob.js | 4 ++--
6 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/app/browser/js/app/callbacks.js b/app/browser/js/app/callbacks.js
index 3df40817..f5ce5c6a 100644
--- a/app/browser/js/app/callbacks.js
+++ b/app/browser/js/app/callbacks.js
@@ -37,7 +37,7 @@ module.exports = {
// compare arrays using > and < operators (both false = equality)
if (!target || !(WIDGETS_BY_PATH[pathref][i].target < target || WIDGETS_BY_PATH[pathref][i].target > target)) {
// update matching widgets
- if (WIDGETS_BY_PATH[pathref][i]) WIDGETS_BY_PATH[pathref][i].setValue(args,{send:false,sync:true})
+ if (WIDGETS_BY_PATH[pathref][i]) WIDGETS_BY_PATH[pathref][i].setValue(args,{send:false,sync:true,fromLocal:target})
}
}
diff --git a/app/browser/js/app/widgets.js b/app/browser/js/app/widgets.js
index 646e173b..392bc4b8 100644
--- a/app/browser/js/app/widgets.js
+++ b/app/browser/js/app/widgets.js
@@ -63,7 +63,7 @@ module.exports.sync = function() {
var v = widget.getValue()
for (i in WIDGETS[id]) {
if (!WIDGETS[id][i].is(widget) && WIDGETS[id][i].setValue) {
- WIDGETS[id][i].setValue(v)
+ WIDGETS[id][i].setValue(v,{fromLocal:true})
}
}
}
@@ -73,7 +73,7 @@ module.exports.sync = function() {
var v = widget.getValue()
for (i in WIDGETS_LINKED[linkId]) {
if (!WIDGETS_LINKED[linkId][i].is(widget) && WIDGETS_LINKED[linkId][i].setValue) {
- WIDGETS_LINKED[linkId][i].setValue(v,{send:true,sync:true})
+ WIDGETS_LINKED[linkId][i].setValue(v,{send:true,sync:false,fromLocal:true})
}
}
}
diff --git a/app/browser/js/app/widgets/push.js b/app/browser/js/app/widgets/push.js
index bf332e60..a7c91fc3 100644
--- a/app/browser/js/app/widgets/push.js
+++ b/app/browser/js/app/widgets/push.js
@@ -77,6 +77,10 @@ module.exports.create = function(widgetData,container) {
}
widget.setValue = function(v,options={}) {
+ if (options.fromLocal) {
+ widget.setValuePrivate(v,options.send,false)
+ return
+ }
if (v===widgetData.on || (v=='false'&&widgetData.on===false)) {
widget.addClass('on')
widget.state = 1
diff --git a/app/browser/js/app/widgets/sliders/_sliders_base.js b/app/browser/js/app/widgets/sliders/_sliders_base.js
index 3ea1e26b..dda66311 100644
--- a/app/browser/js/app/widgets/sliders/_sliders_base.js
+++ b/app/browser/js/app/widgets/sliders/_sliders_base.js
@@ -149,7 +149,7 @@ _sliders_base.prototype.setValue = function(v,options={}) {
var value = roundTo(clip(Math.round(v*this.roundFactor)/this.roundFactor,[this.rangeValsMin,this.rangeValsMax]),this.widgetData.precision)
- if (options.dragged && this.value == value) send = false
+ if ((options.dragged || options.fromLocal) && this.value == value) options.send = false
this.value = value
diff --git a/app/browser/js/app/widgets/sliders/fader.js b/app/browser/js/app/widgets/sliders/fader.js
index 32eb1c52..1e080107 100644
--- a/app/browser/js/app/widgets/sliders/fader.js
+++ b/app/browser/js/app/widgets/sliders/fader.js
@@ -123,7 +123,7 @@ Fader.prototype.draginitHandle = function(e, data, traversing){
// this.percent = clip(this.percent,[0,100])
- this.setValue(this.percentToValue(this.percent), true, true, true)
+ this.setValue(this.percentToValue(this.percent), {send:true,sync:true,dragged:true})
}
@@ -133,7 +133,7 @@ Fader.prototype.dragHandle = function(e, data) {
this.percent + ( data.speedX/(this.width - this.margin * PXSCALE * 2)) * 100:
this.percent + (-data.speedY/(this.height - this.margin * PXSCALE * 2)) * 100
- this.setValue(this.percentToValue(this.percent), true, true, true)
+ this.setValue(this.percentToValue(this.percent), {send:true,sync:true,dragged:true})
}
diff --git a/app/browser/js/app/widgets/sliders/knob.js b/app/browser/js/app/widgets/sliders/knob.js
index 111b3180..767c8ab2 100644
--- a/app/browser/js/app/widgets/sliders/knob.js
+++ b/app/browser/js/app/widgets/sliders/knob.js
@@ -89,7 +89,7 @@ Knob.prototype.draginitHandle = function(e, data, traversing){
this.percent = this.angleToPercent(this.coordsToAngle(data.offsetX, data.offsetY))
- this.setValue(this.percentToValue(this.percent), true, true, true)
+ this.setValue(this.percentToValue(this.percent), {send:true,sync:true,dragged:true})
}
@@ -109,7 +109,7 @@ Knob.prototype.dragHandle = function(e, data, traversing) {
this.percent = this.percent,[0,100]
- this.setValue(this.percentToValue(this.percent), true, true, true)
+ this.setValue(this.percentToValue(this.percent), {send:true,sync:true,dragged:true})
}
From dd38a399dd26df9e988a401df8f4487ccc8d213f Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 3 Oct 2016 12:04:40 +0200
Subject: [PATCH 0021/5523] - widgets: pass setValue's options to the sync
event to make sure linked widgets don't send osc when synced by another
client - osc callback: use fromExternal instead of fromLocal to tell widgets
where the message comes from (default case = external) - push: make the
backlight respond only to external osc messages
---
app/browser/js/app/callbacks.js | 2 +-
app/browser/js/app/widgets.js | 7 +++---
app/browser/js/app/widgets/multifader.js | 2 +-
app/browser/js/app/widgets/multipush.js | 2 +-
app/browser/js/app/widgets/multitoggle.js | 2 +-
app/browser/js/app/widgets/plots/led.js | 2 +-
app/browser/js/app/widgets/plots/text.js | 2 +-
app/browser/js/app/widgets/push.js | 22 +++++++++----------
app/browser/js/app/widgets/rgb.js | 10 ++++-----
.../js/app/widgets/sliders/_sliders_base.js | 2 +-
app/browser/js/app/widgets/switch.js | 2 +-
app/browser/js/app/widgets/toggle.js | 2 +-
app/browser/js/app/widgets/xy.js | 6 ++---
13 files changed, 32 insertions(+), 31 deletions(-)
diff --git a/app/browser/js/app/callbacks.js b/app/browser/js/app/callbacks.js
index f5ce5c6a..d5cd1340 100644
--- a/app/browser/js/app/callbacks.js
+++ b/app/browser/js/app/callbacks.js
@@ -37,7 +37,7 @@ module.exports = {
// compare arrays using > and < operators (both false = equality)
if (!target || !(WIDGETS_BY_PATH[pathref][i].target < target || WIDGETS_BY_PATH[pathref][i].target > target)) {
// update matching widgets
- if (WIDGETS_BY_PATH[pathref][i]) WIDGETS_BY_PATH[pathref][i].setValue(args,{send:false,sync:true,fromLocal:target})
+ if (WIDGETS_BY_PATH[pathref][i]) WIDGETS_BY_PATH[pathref][i].setValue(args,{send:false,sync:true,fromExternal:!target})
}
}
diff --git a/app/browser/js/app/widgets.js b/app/browser/js/app/widgets.js
index 392bc4b8..f2f60c15 100644
--- a/app/browser/js/app/widgets.js
+++ b/app/browser/js/app/widgets.js
@@ -56,14 +56,15 @@ module.exports.createWidget = function(){
}()
module.exports.sync = function() {
- $('body').off('sync.global').on('sync.global',function(e,id,widget,linkId){
+ $('body').off('sync.global').on('sync.global',function(e){
+ var {id, widget, linkId, fromExternal, options} = e
// Widget that share the same id will update each other
// without sending any extra osc message
if (WIDGETS[id] && WIDGETS[id].length>1) {
var v = widget.getValue()
for (i in WIDGETS[id]) {
if (!WIDGETS[id][i].is(widget) && WIDGETS[id][i].setValue) {
- WIDGETS[id][i].setValue(v,{fromLocal:true})
+ WIDGETS[id][i].setValue(v,{send:false,sync:false})
}
}
}
@@ -73,7 +74,7 @@ module.exports.sync = function() {
var v = widget.getValue()
for (i in WIDGETS_LINKED[linkId]) {
if (!WIDGETS_LINKED[linkId][i].is(widget) && WIDGETS_LINKED[linkId][i].setValue) {
- WIDGETS_LINKED[linkId][i].setValue(v,{send:true,sync:false,fromLocal:true})
+ WIDGETS_LINKED[linkId][i].setValue(v,{send:options.send,sync:false})
}
}
}
diff --git a/app/browser/js/app/widgets/multifader.js b/app/browser/js/app/widgets/multifader.js
index 213c5a4f..62bc0cd1 100644
--- a/app/browser/js/app/widgets/multifader.js
+++ b/app/browser/js/app/widgets/multifader.js
@@ -71,7 +71,7 @@ module.exports.create = function(widgetData,container) {
widget.on('sync',function(e,id,w){
if (id==widgetData.id) return
widget.value[w.parent().index()] = w.getValue()
- widget.trigger('sync',[widgetData.id,widget])
+ widget.trigger('sync',{id:widgetData.id,widget:widget})
})
diff --git a/app/browser/js/app/widgets/multipush.js b/app/browser/js/app/widgets/multipush.js
index 6d74c3a4..2bf7c0b5 100644
--- a/app/browser/js/app/widgets/multipush.js
+++ b/app/browser/js/app/widgets/multipush.js
@@ -62,7 +62,7 @@ module.exports.create = function(widgetData,container) {
widget.on('sync',function(e,id,w){
if (id==widgetData.id) return
widget.value[w.parent().index()] = w.getValue()
- widget.trigger('sync',[widgetData.id,widget])
+ widget.trigger('sync',{id:widgetData.id,widget:widget})
})
diff --git a/app/browser/js/app/widgets/multitoggle.js b/app/browser/js/app/widgets/multitoggle.js
index d38c12c2..bc599683 100644
--- a/app/browser/js/app/widgets/multitoggle.js
+++ b/app/browser/js/app/widgets/multitoggle.js
@@ -62,7 +62,7 @@ module.exports.create = function(widgetData,container) {
widget.on('sync',function(e,id,w){
if (id==widgetData.id) return
widget.value[w.parent().index()] = w.getValue()
- widget.trigger('sync',[widgetData.id,widget])
+ widget.trigger('sync',{id:widgetData.id,widget:widget})
})
diff --git a/app/browser/js/app/widgets/plots/led.js b/app/browser/js/app/widgets/plots/led.js
index 96d037a0..e0de2a55 100644
--- a/app/browser/js/app/widgets/plots/led.js
+++ b/app/browser/js/app/widgets/plots/led.js
@@ -30,7 +30,7 @@ module.exports.create = function(widgetData,container) {
led = widget.find('span'),
range = widgetData.range
- widget.setValue = function(v,send,sync){
+ widget.setValue = function(v){
if (typeof v != 'number') return
led.css('opacity',mapToScale(v,[range.min,range.max],[0,1],widgetData.precision,widgetData.logScale,true))
}
diff --git a/app/browser/js/app/widgets/plots/text.js b/app/browser/js/app/widgets/plots/text.js
index 7bb0f445..71ae2f80 100644
--- a/app/browser/js/app/widgets/plots/text.js
+++ b/app/browser/js/app/widgets/plots/text.js
@@ -36,7 +36,7 @@ module.exports.create = function(widgetData,container) {
if (widgetData.vertical) widget.addClass('vertical')
- widget.setValue = function(v,send,sync){
+ widget.setValue = function(v){
text = typeof v=='object' && !v.length?label:v
widget.text(text)
}
diff --git a/app/browser/js/app/widgets/push.js b/app/browser/js/app/widgets/push.js
index a7c91fc3..e10f5126 100644
--- a/app/browser/js/app/widgets/push.js
+++ b/app/browser/js/app/widgets/push.js
@@ -45,9 +45,9 @@ module.exports.create = function(widgetData,container) {
})
widget.fakeclick = function(){
- if (!widget.active) widget.setValuePrivate(widgetData.on,true,true)
+ if (!widget.active) widget.setValuePrivate(widgetData.on,{send:true,sync:true})
$document.on('dragend.push',function(){
- widget.setValuePrivate(widgetData.off,true,true)
+ widget.setValuePrivate(widgetData.off,{send:true,sync:true})
$document.off('dragend.push')
widget.on('draginit.push',function(){
widget.off('draginit.push')
@@ -60,25 +60,25 @@ module.exports.create = function(widgetData,container) {
return widget[widget.lastChanged]?widgetData.on:widgetData.off
}
- widget.setValuePrivate = function(v,send,sync) {
+ widget.setValuePrivate = function(v,options={}) {
if (v===widgetData.on || (v=='false'&&widgetData.on===false)) {
widget.addClass('active')
widget.active = 1
- if (send) widget.sendValue(v)
+ if (options.send) widget.sendValue(v)
widget.lastChanged = 'active'
- if (sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options:options})
} else if (v===widgetData.off || (v=='false'&&widgetData.off===false)) {
widget.removeClass('active')
widget.active = 0
- if (send) widget.sendValue(v)
+ if (options.send) widget.sendValue(v)
widget.lastChanged = 'active'
- if (sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options:options})
}
}
widget.setValue = function(v,options={}) {
- if (options.fromLocal) {
- widget.setValuePrivate(v,options.send,false)
+ if (!options.fromExternal) {
+ if (options.send || options.sync) widget.setValuePrivate(v,options)
return
}
if (v===widgetData.on || (v=='false'&&widgetData.on===false)) {
@@ -86,13 +86,13 @@ module.exports.create = function(widgetData,container) {
widget.state = 1
if (options.send) widget.sendValue(v)
widget.lastChanged = 'state'
- if (options.sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId,options:options})
} else if (v===widgetData.off || (v=='false'&&widgetData.off===false)) {
widget.removeClass('on')
widget.state = 0
if (options.send) widget.sendValue(v)
widget.lastChanged = 'state'
- if (options.sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId,options:options})
}
}
diff --git a/app/browser/js/app/widgets/rgb.js b/app/browser/js/app/widgets/rgb.js
index 7d23f48c..057f5ff7 100644
--- a/app/browser/js/app/widgets/rgb.js
+++ b/app/browser/js/app/widgets/rgb.js
@@ -98,7 +98,7 @@ module.exports.create = function(widgetData,container) {
widget.sendValue(v)
widget.showValue(v)
- widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
}
}
@@ -123,7 +123,7 @@ module.exports.create = function(widgetData,container) {
widget.sendValue(v)
widget.showValue(v)
- widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
}
})
@@ -151,7 +151,7 @@ module.exports.create = function(widgetData,container) {
widget.sendValue(v)
widget.showValue(v)
- widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
}
}
@@ -180,7 +180,7 @@ module.exports.create = function(widgetData,container) {
widget.sendValue(v)
widget.showValue(v)
- widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
}
})
@@ -226,7 +226,7 @@ module.exports.create = function(widgetData,container) {
- if (options.sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
if (options.send) widget.sendValue(v)
}
widget.sendValue = function(v) {
diff --git a/app/browser/js/app/widgets/sliders/_sliders_base.js b/app/browser/js/app/widgets/sliders/_sliders_base.js
index dda66311..f92b828e 100644
--- a/app/browser/js/app/widgets/sliders/_sliders_base.js
+++ b/app/browser/js/app/widgets/sliders/_sliders_base.js
@@ -159,7 +159,7 @@ _sliders_base.prototype.setValue = function(v,options={}) {
this.showValue()
- if (options.sync) this.widget.trigger('sync',[this.widgetData.id,this.widget,this.widgetData.linkId])
+ if (options.sync) this.widget.trigger({type:'sync',id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
if (options.send) this.sendValue(v)
}
diff --git a/app/browser/js/app/widgets/switch.js b/app/browser/js/app/widgets/switch.js
index c9edc78b..5710ce9c 100644
--- a/app/browser/js/app/widgets/switch.js
+++ b/app/browser/js/app/widgets/switch.js
@@ -65,7 +65,7 @@ module.exports.create = function(widgetData,container) {
next()
})
if (options.send) widget.sendValue(widget.value)
- if (options.sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
}
}
diff --git a/app/browser/js/app/widgets/toggle.js b/app/browser/js/app/widgets/toggle.js
index 5b24c1ae..0d4c985f 100644
--- a/app/browser/js/app/widgets/toggle.js
+++ b/app/browser/js/app/widgets/toggle.js
@@ -68,7 +68,7 @@ module.exports.create = function(widgetData,container) {
if (options.send) widget.sendValue(widgetData.off)
}
- if (options.sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
}
widget.sendValue = function(v) {
diff --git a/app/browser/js/app/widgets/xy.js b/app/browser/js/app/widgets/xy.js
index 0e76e1eb..cc62a79f 100644
--- a/app/browser/js/app/widgets/xy.js
+++ b/app/browser/js/app/widgets/xy.js
@@ -98,7 +98,7 @@ module.exports.create = function(widgetData,container) {
widget.sendValue(v)
widget.showValue(v)
- widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
}
}
@@ -124,7 +124,7 @@ module.exports.create = function(widgetData,container) {
widget.sendValue(v)
widget.showValue(v)
- widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
}
})
@@ -158,7 +158,7 @@ module.exports.create = function(widgetData,container) {
widget.value = v
widget.showValue(v)
- if (options.sync) widget.trigger('sync',[widgetData.id,widget,widgetData.linkId])
+ if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
if (options.send) widget.sendValue(v)
}
widget.sendValue = function(v) {
From 5ff3e37d30a2498a90696596154406eb6b88e10f Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 3 Oct 2016 12:15:11 +0200
Subject: [PATCH 0022/5523] matrixes: fix matrixes sync events
---
app/browser/js/app/widgets/multifader.js | 8 ++++----
app/browser/js/app/widgets/multipush.js | 9 +++++----
app/browser/js/app/widgets/multitoggle.js | 8 ++++----
3 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/app/browser/js/app/widgets/multifader.js b/app/browser/js/app/widgets/multifader.js
index 62bc0cd1..701f40b0 100644
--- a/app/browser/js/app/widgets/multifader.js
+++ b/app/browser/js/app/widgets/multifader.js
@@ -68,10 +68,10 @@ module.exports.create = function(widgetData,container) {
- widget.on('sync',function(e,id,w){
- if (id==widgetData.id) return
- widget.value[w.parent().index()] = w.getValue()
- widget.trigger('sync',{id:widgetData.id,widget:widget})
+ widget.on('sync',function(e){
+ if (e.id==widgetData.id) return
+ widget.value[e.widget.parent().index()] = e.widget.getValue()
+ widget.trigger({type:'sync',id:widgetData.id,widget:widget})
})
diff --git a/app/browser/js/app/widgets/multipush.js b/app/browser/js/app/widgets/multipush.js
index 2bf7c0b5..01d2a4af 100644
--- a/app/browser/js/app/widgets/multipush.js
+++ b/app/browser/js/app/widgets/multipush.js
@@ -59,13 +59,14 @@ module.exports.create = function(widgetData,container) {
- widget.on('sync',function(e,id,w){
- if (id==widgetData.id) return
- widget.value[w.parent().index()] = w.getValue()
- widget.trigger('sync',{id:widgetData.id,widget:widget})
+ widget.on('sync',function(e){
+ if (e.id==widgetData.id) return
+ widget.value[e.widget.parent().index()] = e.widget.getValue()
+ widget.trigger({type:'sync',id:widgetData.id,widget:widget})
})
+
widget.getValue = function(){
return widget.value
}
diff --git a/app/browser/js/app/widgets/multitoggle.js b/app/browser/js/app/widgets/multitoggle.js
index bc599683..f212187d 100644
--- a/app/browser/js/app/widgets/multitoggle.js
+++ b/app/browser/js/app/widgets/multitoggle.js
@@ -59,10 +59,10 @@ module.exports.create = function(widgetData,container) {
- widget.on('sync',function(e,id,w){
- if (id==widgetData.id) return
- widget.value[w.parent().index()] = w.getValue()
- widget.trigger('sync',{id:widgetData.id,widget:widget})
+ widget.on('sync',function(e){
+ if (e.id==widgetData.id) return
+ widget.value[e.widget.parent().index()] = e.widget.getValue()
+ widget.trigger({type:'sync',id:widgetData.id,widget:widget})
})
From cf9217718bf10c81240f022cbbae4b1ae951bf75 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 3 Oct 2016 18:24:40 +0200
Subject: [PATCH 0023/5523] plots: use new arg syntax for sync handler
---
app/browser/js/app/widgets/plots/_plots_base.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/browser/js/app/widgets/plots/_plots_base.js b/app/browser/js/app/widgets/plots/_plots_base.js
index bbafa5e6..1b92f7fa 100644
--- a/app/browser/js/app/widgets/plots/_plots_base.js
+++ b/app/browser/js/app/widgets/plots/_plots_base.js
@@ -39,8 +39,8 @@ _plots_base.prototype.syncHandleProxy = function() {
this.syncHandle.apply(this,arguments)
}
-_plots_base.prototype.syncHandle = function(e,id,w) {
- if (this.linkedWidgets.indexOf(id)==-1 || !WIDGETS[id]) return
+_plots_base.prototype.syncHandle = function(e) {
+ if (this.linkedWidgets.indexOf(e.id)==-1 || !WIDGETS[e.id]) return
this.updateData()
requestAnimationFrame(this.draw.bind(this))
}
From b1c08a49b0ae34941d1fe483d962e46e40033166 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 3 Oct 2016 18:26:11 +0200
Subject: [PATCH 0024/5523] widgets: oop/prototype rewrite matrices
---
app/browser/js/app/widgets.js | 6 +-
.../js/app/widgets/matrices/_matrices_base.js | 36 ++++++++
.../js/app/widgets/matrices/multifader.js | 72 ++++++++++++++++
.../app/widgets/{ => matrices}/multipush.js | 44 ++++------
.../app/widgets/{ => matrices}/multitoggle.js | 44 ++++------
app/browser/js/app/widgets/multifader.js | 85 -------------------
6 files changed, 143 insertions(+), 144 deletions(-)
create mode 100644 app/browser/js/app/widgets/matrices/_matrices_base.js
create mode 100644 app/browser/js/app/widgets/matrices/multifader.js
rename app/browser/js/app/widgets/{ => matrices}/multipush.js (51%)
rename app/browser/js/app/widgets/{ => matrices}/multitoggle.js (50%)
delete mode 100644 app/browser/js/app/widgets/multifader.js
diff --git a/app/browser/js/app/widgets.js b/app/browser/js/app/widgets.js
index f2f60c15..138163da 100644
--- a/app/browser/js/app/widgets.js
+++ b/app/browser/js/app/widgets.js
@@ -13,9 +13,9 @@ var widgets = {
rgb: require('./widgets/rgb'),
// matrices
- multitoggle: require('./widgets/multitoggle'),
- multipush: require('./widgets/multipush'),
- multifader: require('./widgets/multifader'),
+ multitoggle: require('./widgets/matrices/multitoggle'),
+ multipush: require('./widgets/matrices/multipush'),
+ multifader: require('./widgets/matrices/multifader'),
// plots
led: require('./widgets/plots/led'),
diff --git a/app/browser/js/app/widgets/matrices/_matrices_base.js b/app/browser/js/app/widgets/matrices/_matrices_base.js
new file mode 100644
index 00000000..9cd995ea
--- /dev/null
+++ b/app/browser/js/app/widgets/matrices/_matrices_base.js
@@ -0,0 +1,36 @@
+var _widgets_base = require('../common/_widgets_base')
+
+var _matrices_base = module.exports = function(widgetData){
+
+ _widgets_base.apply(this,arguments)
+
+ this.widget = $(`
+
+
\
+ `)
+ this.value = []
+
+ this.widget.getValue = function(){
+ console.log(this.value)
+ return this.value
+ }.bind(this)
+
+ this.widget.on('sync',function(e){
+ if (e.id==this.widgetData.id) return
+ this.value[e.widget.parent().index()] = e.widget.getValue()
+ this.widget.trigger({type:'sync',id:this.widgetData.id,widget:this.widget})
+ }.bind(this))
+
+ this.widget.enableTraversingGestures()
+
+}
+
+
+
+_matrices_base.prototype = Object.create(_widgets_base.prototype)
+
+_matrices_base.prototype.constructor = _matrices_base
+
+_matrices_base.prototype.getValue = function(){
+ return this.value
+}
diff --git a/app/browser/js/app/widgets/matrices/multifader.js b/app/browser/js/app/widgets/matrices/multifader.js
new file mode 100644
index 00000000..38207ef4
--- /dev/null
+++ b/app/browser/js/app/widgets/matrices/multifader.js
@@ -0,0 +1,72 @@
+var _matrices_base = require('./_matrices_base')
+
+module.exports.options = {
+ type:'multifader',
+ id:'auto',
+
+ separator0:'Matrix',
+
+ strips:2,
+
+ separator1:'style',
+
+ label:'auto',
+ unit:'',
+ left:'auto',
+ top:'auto',
+ width:'auto',
+ height:'auto',
+ color:'auto',
+ compact:false,
+ css:'',
+
+
+ separator2:'osc',
+
+ range:{min:0,max:1},
+ logScale:false,
+ precision:2,
+ path:'auto',
+ preArgs:[],
+ target:[]
+}
+
+
+var Multifader = function(widgetData) {
+
+ _matrices_base.apply(this,arguments)
+
+ for (var i=0;i
- \
- `),
- $document = $(document)
+var Multipush = function(widgetData) {
- widget.value = []
+ _matrices_base.apply(this,arguments)
- for (var i=0;i
- \
- `),
- $document = $(document)
+ _matrices_base.apply(this,arguments)
- widget.value = []
-
- for (var i=0;i
- \
- `),
- $document = $(document)
-
- widget.value = []
-
- for (var i=0;i
Date: Mon, 3 Oct 2016 21:10:17 +0200
Subject: [PATCH 0025/5523] vizualizer: use new sync handler syntax
---
app/browser/js/app/widgets/plots/visualizer.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/browser/js/app/widgets/plots/visualizer.js b/app/browser/js/app/widgets/plots/visualizer.js
index ec1c4c48..cd5f3bd8 100644
--- a/app/browser/js/app/widgets/plots/visualizer.js
+++ b/app/browser/js/app/widgets/plots/visualizer.js
@@ -48,8 +48,8 @@ Visualizer.prototype = Object.create(_plots_base.prototype)
Visualizer.prototype.constructor = Visualizer
-Visualizer.prototype.syncHandle = function(e,id,w) {
- if (this.widgetData.widgetId!=id || !WIDGETS[id]) return
+Visualizer.prototype.syncHandle = function(e) {
+ if (this.widgetData.widgetId!=e.id || !WIDGETS[e.id]) return
this.startLoop()
}
From e5925b334ad6dc968d3f08433d29b6424606d83c Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 4 Oct 2016 14:36:10 +0200
Subject: [PATCH 0026/5523] ui: use loading popup instead of anonymous spinner
---
app/browser/js/app/callbacks.js | 2 +-
app/browser/js/app/init.js | 7 ++++---
app/browser/js/app/utils.js | 3 +++
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/app/browser/js/app/callbacks.js b/app/browser/js/app/callbacks.js
index d5cd1340..9c39f8b7 100644
--- a/app/browser/js/app/callbacks.js
+++ b/app/browser/js/app/callbacks.js
@@ -96,7 +96,7 @@ module.exports = {
},
stateSend:function(){
- var p = utils.createPopup('New client connecting...','', false)
+ var p = utils.loading('New client connecting...')
setTimeout(function(){
diff --git a/app/browser/js/app/init.js b/app/browser/js/app/init.js
index 60497957..1729dd39 100644
--- a/app/browser/js/app/init.js
+++ b/app/browser/js/app/init.js
@@ -2,13 +2,14 @@ var parsetabs = require('./parser').tabs,
ui = require('./ui'),
sync = require('./widgets').sync,
editorDisable = require('./actions').editorDisable,
- editorInit = require('./editor/init')
+ editorInit = require('./editor/init'),
+ {loading} = require('./utils')
module.exports = function(session,callback) {
$('#lobby').remove()
$('#container').empty()
- var spinner = $('').appendTo('#container')
+ var p = loading('Loading session file...')
setTimeout(function(){
parsetabs(session,$('#container'),true)
@@ -31,7 +32,7 @@ module.exports = function(session,callback) {
setTimeout(function(){
- spinner.remove()
+ p.close()
if (!callback) return
setTimeout(function(){
callback()
diff --git a/app/browser/js/app/utils.js b/app/browser/js/app/utils.js
index b5be0f40..2717106d 100644
--- a/app/browser/js/app/utils.js
+++ b/app/browser/js/app/utils.js
@@ -36,6 +36,9 @@ module.exports = {
return popup
},
+ loading: function(title){
+ return module.exports.createPopup(title,'', false)
+ },
icon: function(i) {
return ``
}
From 148e71d875b6d3e1caaf5262cb56c10013c24f30 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 5 Oct 2016 08:25:16 +0200
Subject: [PATCH 0027/5523] misc: preload assets
---
app/browser/index.html | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app/browser/index.html b/app/browser/index.html
index 54d36553..2d713a21 100644
--- a/app/browser/index.html
+++ b/app/browser/index.html
@@ -2,9 +2,12 @@
+
+
+
+
-
From dde2d92efcae9498736f8e83f46dfa56337c90d2 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 5 Oct 2016 08:26:07 +0200
Subject: [PATCH 0028/5523] misc: add pre-init loading popup ("reaching
server')
---
app/browser/js/app.js | 7 ++++---
app/browser/js/app/callbacks.js | 4 ++++
app/main/callbacks.js | 2 ++
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/app/browser/js/app.js b/app/browser/js/app.js
index ad7ebb2e..b9e9e992 100644
--- a/app/browser/js/app.js
+++ b/app/browser/js/app.js
@@ -51,6 +51,7 @@ for (i in callbacks) {
}
///////////////////////
-
-
-IPC.send('ready')
+$(document).ready(function(){
+ LOADING = require('./app/utils').loading('Connecting server...')
+ IPC.send('ready')
+})
diff --git a/app/browser/js/app/callbacks.js b/app/browser/js/app/callbacks.js
index 9c39f8b7..edf58607 100644
--- a/app/browser/js/app/callbacks.js
+++ b/app/browser/js/app/callbacks.js
@@ -44,6 +44,10 @@ module.exports = {
},
+ connected:function(){
+ LOADING.close()
+ },
+
stateLoad: function(event,data){
var data = data || event
data = JSON.parse(data)
diff --git a/app/main/callbacks.js b/app/main/callbacks.js
index 09185706..af38a414 100644
--- a/app/main/callbacks.js
+++ b/app/main/callbacks.js
@@ -8,6 +8,8 @@ var vm = require('vm'),
module.exports = {
ready: function(data,clientId) {
+ ipc.send('connected')
+
if (settings.read('theme')) ipc.send('applyStyle',settings.read('theme'),clientId)
if (settings.read('sessionFile')) this.sessionOpen({path:settings.read('sessionFile')},clientId)
var recentSessions = settings.read('recentSessions')
From 9c03ab8f364caf725f6e260ba0d319acbe7ea4b7 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 6 Oct 2016 23:00:54 +0200
Subject: [PATCH 0029/5523] main: rename --input-port to --osc-port
---
app/main/settings.js | 6 +++---
app/resources/docs/getting-started.md | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/app/main/settings.js b/app/main/settings.js
index 6c92fe2e..5ae46b38 100644
--- a/app/main/settings.js
+++ b/app/main/settings.js
@@ -11,11 +11,11 @@ var argv = require('yargs')
.options({
's':{alias:'sync',type:'array',describe:'synchronized hosts (ip:port pairs)'},
'l':{alias:'load',type:'string',describe:'session file to load'},
- 'p':{alias:'port',describe:'http port of the app\'s server (default to 8080)'},
- 'i':{alias:'input-port',describe:'osc input port (for synchronization)'},
+ 'p':{alias:'port',describe:'http port of the server (default to 8080)'},
+ 'o':{alias:'osc-port',describe:'osc input port'},
'd':{alias:'debug',describe:'log received osc messages in the console'},
'n':{alias:'no-gui',describe:'disable default gui'},
- 'g':{alias:'gui-only',describe:'app\'s ip:port, default to localhost:8080, only launch the gui (a server instance must be running)'},
+ 'g':{alias:'gui-only',describe:'server\'s ip:port, default to localhost:8080, only launch the gui (a server instance must be running)'},
't':{alias:'theme',type:'array',describe:'theme name or path (mutliple values allowed)'},
'examples':{describe:'list examples instead of recent sessions'}
})
diff --git a/app/resources/docs/getting-started.md b/app/resources/docs/getting-started.md
index 50e2d930..9f6ad334 100644
--- a/app/resources/docs/getting-started.md
+++ b/app/resources/docs/getting-started.md
@@ -10,11 +10,11 @@ Prebuilt binaries for Linux, Windows and OS X can be found on the [release](http
Options:
-h, --help display help
-s, --sync synchronized hosts (ip:port pairs) (all osc messages will also be sent to these)
- -i, --input-port osc input port (for synchronization / feedback)
+ -o, --osc-port osc input port (for synchronization / feedback)
-d, --debug log received osc in the console
- -p, --port http port of the app's server (default to 8080)
- -n, --nogui disable default gui
- -g, --gui-only app's ip:port, default to localhost:8080, only launch the gui (a server instance must be running)
+ -p, --port http port of the server (default to 8080)
+ -n, --no-gui disable default gui
+ -g, --gui-only server's ip:port, default to localhost:8080, only launch the gui (a server instance must be running)
-l, --load session file to load
-t, --theme theme name or path (mutliple values allowed)
From eee1e67aa27066cecf38da93c9a892e581a726a9 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 6 Oct 2016 23:03:58 +0200
Subject: [PATCH 0030/5523] log changes since 0.7.0
---
CHANGELOG.md | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 40fb458d..3ff19925 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,18 @@
# Changelog
+## next
+
+- main
+ - the headless server/clients model is now the only one beeing used : the GUI mode is nothing more than an embedded chromium (electron) client
+ - when a new client opens a session on the server, it is synchronized with the other clients
+- new switches : `--no-gui`, `--gui-only`, `--port`, `--osc-port` (see docs)
+- ui
+ - explicit loadings
+- widgets
+ - make push's backlight only respond to external osc messages (not to synchronization messages from other widgets or clients)
+- misc
+ - rewritten matrices with prototypes inheritance
+
## 0.7.0
- bug fixes
@@ -18,7 +31,7 @@
- engine
- electron 1.4.1 (chrome 53, node 6.5.0)
- misc
- - added `--examples` switch for showing the availabe example sessions instead of the history
+ - added `--examples` switch for showing the availabe example sessions instead of the history
- rewritten sliders and plots using canvas and prototypes inheritance
- reorganized package using the two-package.json structure: js and css assets are now create at build time, and only necessary dependencies are shipped with the app
From f776645ce067e33f5c79c7e9d68e8f6cdb9d20e0 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 7 Oct 2016 23:59:44 +0200
Subject: [PATCH 0031/5523] buttons: - remove special `false` value case for
push/toggles (which used to disable osc sending) - add `norelease` option to
`push` for disabling osc messages when releasing the button
---
CHANGELOG.md | 2 ++
app/browser/js/app/widgets/push.js | 19 +++++++++++--------
app/browser/js/app/widgets/toggle.js | 11 ++++++-----
.../user-guide/widgets-specifics/buttons.md | 10 +++++-----
4 files changed, 24 insertions(+), 18 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3ff19925..8ae08b81 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,6 +10,8 @@
- explicit loadings
- widgets
- make push's backlight only respond to external osc messages (not to synchronization messages from other widgets or clients)
+ - remove special `false` value case for push/toggles (which used to disable osc sending)
+ - add `norelease` option to `push` for disabling osc messages when releasing the button
- misc
- rewritten matrices with prototypes inheritance
diff --git a/app/browser/js/app/widgets/push.js b/app/browser/js/app/widgets/push.js
index e10f5126..3177d84b 100644
--- a/app/browser/js/app/widgets/push.js
+++ b/app/browser/js/app/widgets/push.js
@@ -19,6 +19,7 @@ module.exports.options = {
on:1,
off:0,
+ norelease:false,
precision:2,
path:'auto',
preArgs:[],
@@ -57,20 +58,23 @@ module.exports.create = function(widgetData,container) {
}
widget.getValue = function() {
- return widget[widget.lastChanged]?widgetData.on:widgetData.off
+ return widget[widget.lastChanged] ?
+ widgetData.on.value !== undefined ? widgetData.on.value : widgetData.on
+ :
+ widgetData.off.value !== undefined ? widgetData.off.value : widgetData.off
}
widget.setValuePrivate = function(v,options={}) {
- if (v===widgetData.on || (v=='false'&&widgetData.on===false)) {
+ if (v===widgetData.on || (v.value === widgetData.on.value && v.value !== undefined)) {
widget.addClass('active')
widget.active = 1
if (options.send) widget.sendValue(v)
widget.lastChanged = 'active'
if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options:options})
- } else if (v===widgetData.off || (v=='false'&&widgetData.off===false)) {
+ } else if (v===widgetData.off || (v.value === widgetData.off.value && v.value !== undefined)) {
widget.removeClass('active')
widget.active = 0
- if (options.send) widget.sendValue(v)
+ if (options.send && !widgetData.norelease) widget.sendValue(v)
widget.lastChanged = 'active'
if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options:options})
}
@@ -81,13 +85,13 @@ module.exports.create = function(widgetData,container) {
if (options.send || options.sync) widget.setValuePrivate(v,options)
return
}
- if (v===widgetData.on || (v=='false'&&widgetData.on===false)) {
+ if (v===widgetData.on || (v.value === widgetData.on.value && v.value !== undefined)) {
widget.addClass('on')
widget.state = 1
if (options.send) widget.sendValue(v)
widget.lastChanged = 'state'
if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId,options:options})
- } else if (v===widgetData.off || (v=='false'&&widgetData.off===false)) {
+ } else if (v===widgetData.off || (v.value === widgetData.off.value && v.value !== undefined)) {
widget.removeClass('on')
widget.state = 0
if (options.send) widget.sendValue(v)
@@ -97,8 +101,8 @@ module.exports.create = function(widgetData,container) {
}
widget.sendValue = function(v) {
- if (v===false) return
var args = widgetData.preArgs.concat(v)
+
sendOsc({
target:widgetData.target,
path:widgetData.path,
@@ -106,6 +110,5 @@ module.exports.create = function(widgetData,container) {
args:args
})
}
- widget.setValue()
return widget
}
diff --git a/app/browser/js/app/widgets/toggle.js b/app/browser/js/app/widgets/toggle.js
index 0d4c985f..ee1d31a6 100644
--- a/app/browser/js/app/widgets/toggle.js
+++ b/app/browser/js/app/widgets/toggle.js
@@ -55,14 +55,17 @@ module.exports.create = function(widgetData,container) {
widget.getValue = function() {
- return widget.state?widgetData.on:widgetData.off
+ return widget.state ?
+ widgetData.on.value !== undefined ? widgetData.on.value : widgetData.on
+ :
+ widgetData.off.value !== undefined ? widgetData.off.value : widgetData.off
}
widget.setValue = function(v,options={}) {
- if (v===widgetData.on || (v=='false'&&widgetData.on===false)) {
+ if (v===widgetData.on || (v.value === widgetData.on.value && v.value !== undefined)) {
widget.addClass('on')
widget.state = 1
if (options.send) widget.sendValue(widgetData.on)
- } else if (v===widgetData.off || (v=='false'&&widgetData.off===false)) {
+ } else if (v===widgetData.off || (v.value === widgetData.off.value && v.value !== undefined)) {
widget.removeClass('on')
widget.state = 0
if (options.send) widget.sendValue(widgetData.off)
@@ -72,7 +75,6 @@ module.exports.create = function(widgetData,container) {
}
widget.sendValue = function(v) {
- if (v===false) return
var args = widgetData.preArgs.concat(v)
sendOsc({
@@ -82,6 +84,5 @@ module.exports.create = function(widgetData,container) {
args:args
})
}
- widget.setValue()
return widget
}
diff --git a/app/resources/docs/user-guide/widgets-specifics/buttons.md b/app/resources/docs/user-guide/widgets-specifics/buttons.md
index 424ca591..789b1e5f 100644
--- a/app/resources/docs/user-guide/widgets-specifics/buttons.md
+++ b/app/resources/docs/user-guide/widgets-specifics/buttons.md
@@ -17,7 +17,6 @@ Buttons are exactly what you think they are.
- default: `1`
- usage: defines which value is sent on `on` position
- set to `null` to send send no argument in the osc message
- - set to `false` to prevent sending any osc message
- can be an `object` if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
#### `off`
@@ -25,7 +24,6 @@ Buttons are exactly what you think they are.
- default: `0`
- usage: defines which value is sent on `off` position
- set to `null` to send send no argument in the osc message
- - set to `false` to prevent sending any osc message
- can be an `object` if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
@@ -44,7 +42,6 @@ Buttons are exactly what you think they are.
- default: `1`
- usage: defines which value is sent when pushing the button
- set to `null` to send send no argument in the osc message
- - set to `false` to prevent sending any osc message
- can be an `object` if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
#### `off`
@@ -52,11 +49,14 @@ Buttons are exactly what you think they are.
- default: `0`
- usage: defines which value is sent when releasing the button
- set to `null` to send send no argument in the osc message
- - set to `false` to prevent sending any osc message
- can be an `object` if the type needs to be specified (see [preArgs](../widgets-generics.md#preargs))
+### `norelease`
+- type: `bool`
+- default: `false`
+- usage: set to true to prevent sending any osc message when releasing the button
-Setting the `push`'s value externally (via osc or widget linking/cloning) will toggle it's inner light.
+Setting the `push`'s value externally (via osc) will toggle it's inner light.
----
From 13c7aae7c986973f25f7de94a72e341d4ed96c70 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sat, 8 Oct 2016 00:13:19 +0200
Subject: [PATCH 0032/5523] osc: `true` and `false` values are now properly
sent as boolean
---
CHANGELOG.md | 1 +
app/main/osc.js | 11 +++++++----
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8ae08b81..e33c3977 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@
- make push's backlight only respond to external osc messages (not to synchronization messages from other widgets or clients)
- remove special `false` value case for push/toggles (which used to disable osc sending)
- add `norelease` option to `push` for disabling osc messages when releasing the button
+ - `true` and `false` values are now properly sent as boolean
- misc
- rewritten matrices with prototypes inheritance
diff --git a/app/main/osc.js b/app/main/osc.js
index 147c00b8..3e2829f1 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -14,7 +14,7 @@ if (oscInPort) {
ipc.send('receiveOsc',data)
if (debug) console.log('OSC received: ',data, 'From : ' + rinfo.address + ':' + rinfo.port)
})
-
+
}
module.exports = {
@@ -33,10 +33,11 @@ module.exports = {
if (typeof args=='object' && args!==null) {
for (i in args) {
var arg = args[i]
-
if (typeof arg == 'number' && arg!==null && typeof arg != 'object') {
message.append({type:numberType,value:arg})
- } else if (arg!==null && typeof arg != 'object'){
+ } else if (typeof arg == "boolean") {
+ message.append({type:"boolean",value:arg})
+ } else if (arg!==null && typeof arg != 'object'){
message.append({type:'string',value:String(arg)})
} else if (arg!==null && typeof arg == 'object' && arg.type && arg.value!=undefined) {
message.append({type:arg.type,value:arg.value})
@@ -45,7 +46,9 @@ module.exports = {
} else if (args!==null){
if (typeof args == 'number') {
message.append({type:numberType,value:args})
- } else if (typeof args == 'object' && arg.type && arg.value!=undefined) {
+ } else if (typeof args == "boolean") {
+ message.append({type:"boolean",value:args})
+ } else if (typeof args == 'object' && arg.type && arg.value!=undefined) {
message.append({type:args.type,value:args.value})
} else {
message.append({type:'string',value:String(args)})
From b93bf612629c962ee60907884765a74e7b5e0d34 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sat, 8 Oct 2016 00:16:33 +0200
Subject: [PATCH 0033/5523] log: typo
---
CHANGELOG.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e33c3977..15e71690 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,7 +10,7 @@
- explicit loadings
- widgets
- make push's backlight only respond to external osc messages (not to synchronization messages from other widgets or clients)
- - remove special `false` value case for push/toggles (which used to disable osc sending)
+ - removed special `false` value case for push/toggles (which used to disable osc sending)
- add `norelease` option to `push` for disabling osc messages when releasing the button
- `true` and `false` values are now properly sent as boolean
- misc
From 370e1eddcdfaf6ac3cffd78000dd3b2357980de3 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sat, 8 Oct 2016 09:19:20 +0200
Subject: [PATCH 0034/5523] main: fix osc port setting
---
app/main/settings.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/main/settings.js b/app/main/settings.js
index 5ae46b38..ad52eb3b 100644
--- a/app/main/settings.js
+++ b/app/main/settings.js
@@ -33,7 +33,7 @@ var config = function(){try {return JSON.parse(fs.readFileSync(configFile,'utf-8
appName: 'Open Stage Control',
syncTargets: argv.s || false,
- oscInPort: argv.i || 0,
+ oscInPort: argv.o || 0,
httpPort: argv.p || 8080,
debug: argv.d || false,
sessionFile: argv.l || false,
From 641bf5b8ca1bd87ebab0eaa1ca59e083f232fd12 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 10 Oct 2016 22:25:22 +0200
Subject: [PATCH 0035/5523] main: add a way to make osc calls only sync other
clients (without sending osc messages)
---
app/main/callbacks.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app/main/callbacks.js b/app/main/callbacks.js
index af38a414..003d6a56 100644
--- a/app/main/callbacks.js
+++ b/app/main/callbacks.js
@@ -67,6 +67,8 @@ module.exports = {
sendOsc: function(data) {
+ if (data.syncOnly) return
+
var targets = []
if (settings.read('syncTargets') && data.sync!==false) Array.prototype.push.apply(targets, settings.read('syncTargets'))
From 45e980e309e2f238df8691c3bcc1a0499a84c984 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 10 Oct 2016 22:26:18 +0200
Subject: [PATCH 0036/5523] push: sync release gesture when norelease is set
(but don't send osc messages)
---
app/browser/js/app/widgets/push.js | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/app/browser/js/app/widgets/push.js b/app/browser/js/app/widgets/push.js
index 3177d84b..275cf60d 100644
--- a/app/browser/js/app/widgets/push.js
+++ b/app/browser/js/app/widgets/push.js
@@ -74,7 +74,7 @@ module.exports.create = function(widgetData,container) {
} else if (v===widgetData.off || (v.value === widgetData.off.value && v.value !== undefined)) {
widget.removeClass('active')
widget.active = 0
- if (options.send && !widgetData.norelease) widget.sendValue(v)
+ if (options.send) widget.sendValue(v, widgetData.norelease)
widget.lastChanged = 'active'
if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options:options})
}
@@ -100,14 +100,15 @@ module.exports.create = function(widgetData,container) {
}
}
- widget.sendValue = function(v) {
+ widget.sendValue = function(v, norelease) {
var args = widgetData.preArgs.concat(v)
sendOsc({
target:widgetData.target,
path:widgetData.path,
precision:widgetData.precision,
- args:args
+ args:args,
+ syncOnly:norelease
})
}
return widget
From 7d6e724d645cd31313f353c2baa5952a1ac43762 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 10 Oct 2016 22:28:31 +0200
Subject: [PATCH 0037/5523] main: rename server module
---
app/main/callbacks.js | 2 +-
app/main/main.js | 2 +-
app/main/osc.js | 2 +-
app/main/{server-express.js => server.js} | 0
4 files changed, 3 insertions(+), 3 deletions(-)
rename app/main/{server-express.js => server.js} (100%)
diff --git a/app/main/callbacks.js b/app/main/callbacks.js
index 003d6a56..54c3ea11 100644
--- a/app/main/callbacks.js
+++ b/app/main/callbacks.js
@@ -3,7 +3,7 @@ var vm = require('vm'),
fs = require('fs'),
settings = require('./settings'),
osc = require('./osc'),
- ipc = require('./server-express').ipc
+ ipc = require('./server').ipc
module.exports = {
diff --git a/app/main/main.js b/app/main/main.js
index 2fb9652d..02fca70c 100644
--- a/app/main/main.js
+++ b/app/main/main.js
@@ -4,7 +4,7 @@ var settings = require('./settings')
if (!settings.read('guiOnly')) {
- var server = require('./server-express'),
+ var server = require('./server'),
osc = require('./osc'),
callbacks = require('./callbacks')
diff --git a/app/main/osc.js b/app/main/osc.js
index 3e2829f1..4e29c5ed 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -1,5 +1,5 @@
var osc = require('node-osc'),
- ipc = require('./server-express').ipc,
+ ipc = require('./server').ipc,
settings = require('./settings'),
oscInPort = settings.read('oscInPort'),
debug = settings.read('debug')
diff --git a/app/main/server-express.js b/app/main/server.js
similarity index 100%
rename from app/main/server-express.js
rename to app/main/server.js
From 47285f4dea3b94d41b6b85834f16292c3dc49c78 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 15:31:35 +0200
Subject: [PATCH 0038/5523] main: change main osc module to support boolean
args properly, add vmodule deps to disable unsupported serialport require()
---
README.md | 2 +-
app/main/osc.js | 94 ++++++++++++++++++-------------------
app/package.json | 3 +-
app/resources/docs/index.md | 2 +-
4 files changed, 50 insertions(+), 51 deletions(-)
diff --git a/README.md b/README.md
index 2b286368..e66fdfc3 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ It relies on the use of several libraries :
- [Node.js](https://nodejs.org/)
- [Electron](http://electron.atom.io/)
-- [node-osc](https://github.com/TheAlphaNerd/node-osc)
+- [osc.js](https://github.com/colinbdclark/osc.js)
- [socket.io](http://socket.io)
- [browserify](http://browserify.org)
- [express](http://expressjs.com)
diff --git a/app/main/osc.js b/app/main/osc.js
index 4e29c5ed..15197a72 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -1,67 +1,65 @@
-var osc = require('node-osc'),
+// destroy serialport module as it's currently unsupported and would throw when required by osc
+require('vmodule')('serialport', {}, {global: true})
+
+var osc = require('osc'),
ipc = require('./server').ipc,
settings = require('./settings'),
oscInPort = settings.read('oscInPort'),
debug = settings.read('debug')
-if (oscInPort) {
- var oscServer = new osc.Server(oscInPort, '127.0.0.1')
+var oscServer = new osc.UDPPort({
+ localAddress: "0.0.0.0",
+ localPort: oscInPort
+});
- oscServer.on('message', function (msg, rinfo) {
- var data = {path:msg.shift(),args:msg}
- if (data.args.length==1) data.args = data.args[0]
- ipc.send('receiveOsc',data)
- if (debug) console.log('OSC received: ',data, 'From : ' + rinfo.address + ':' + rinfo.port)
- })
+oscServer.on('message', function (msg, bundle, info) {
+ var data = {path: msg.address, args: msg.args}
+ if (data.args.length==1) data.args = data.args[0]
+ ipc.send('receiveOsc',data)
+ if (debug) console.log('OSC received: ',data, 'From : ' + info.address + ':' + info.port)
+})
+
+oscServer.open()
+
+
+var parseArg = function(arg,precision){
+ if (arg==null) return null
+ switch (typeof arg) {
+ case 'number':
+ return {type: precision == 0 ? 'i' : 'f', value: arg}
+ case 'boolean':
+ return {type: arg ? 'T' : 'F', value: arg}
+ case 'object':
+ return {type: arg.type, value: arg.value}
+ default:
+ return {type: 'string', value:String(arg)}
+ }
}
module.exports = {
send: function(host,port,path,args,precision) {
- var client = new osc.Client(host, port)
+ var message = []
- client._sock.bind({exclusive:false,reuseAddr:true,port:oscInPort},function(){
+ if (typeof args=='object' && args!==null) {
+ for (i in args) {
+ var arg = parseArg(args[i],precision)
+ if (arg!=null) message.push(arg)
+ }
+ } else if (args!==null){
+ var arg = parseArg(args[i],precision)
+ if (arg!=null) message.push(arg)
+ }
-
- var message = new osc.Message(path)
-
- var numberType = precision==0?'integer':'float'
-
- if (typeof args=='object' && args!==null) {
- for (i in args) {
- var arg = args[i]
- if (typeof arg == 'number' && arg!==null && typeof arg != 'object') {
- message.append({type:numberType,value:arg})
- } else if (typeof arg == "boolean") {
- message.append({type:"boolean",value:arg})
- } else if (arg!==null && typeof arg != 'object'){
- message.append({type:'string',value:String(arg)})
- } else if (arg!==null && typeof arg == 'object' && arg.type && arg.value!=undefined) {
- message.append({type:arg.type,value:arg.value})
- }
- }
- } else if (args!==null){
- if (typeof args == 'number') {
- message.append({type:numberType,value:args})
- } else if (typeof args == "boolean") {
- message.append({type:"boolean",value:args})
- } else if (typeof args == 'object' && arg.type && arg.value!=undefined) {
- message.append({type:args.type,value:args.value})
- } else {
- message.append({type:'string',value:String(args)})
- }
- }
-
- client.send(message, function () {
- client.kill()
- })
-
- if (debug) console.log('OSC sent: ',{path:path,args:message.args}, 'To : ' + host + ':' + port)
-
- })
+ oscServer.send({
+ address: path,
+ args: message
+ }, host, port);
+
+ if (debug) console.log('OSC sent: ',{path:path,args:message}, 'To : ' + host + ':' + port)
}
}
diff --git a/app/package.json b/app/package.json
index 40aa0ba2..b309b106 100644
--- a/app/package.json
+++ b/app/package.json
@@ -9,8 +9,9 @@
"email": "jeannot@ammd.net"
},
"dependencies": {
+ "vmodule":"1.0.1",
"electron-localshortcut":"0.6.1",
- "node-osc": "2.0.3",
+ "osc": "2.0.3",
"yargs": "5.0.0",
"socket.io": "1.4.8",
"socket.io-client": "1.4.8",
diff --git a/app/resources/docs/index.md b/app/resources/docs/index.md
index 48350dd8..8d26a29e 100644
--- a/app/resources/docs/index.md
+++ b/app/resources/docs/index.md
@@ -35,7 +35,7 @@ It relies on the use of several libraries :
- [Node.js](https://nodejs.org/)
- [Electron](http://electron.atom.io/)
-- [node-osc](https://github.com/TheAlphaNerd/node-osc)
+- [osc.js](https://github.com/colinbdclark/osc.js)
- [socket.io](http://socket.io)
- [browserify](http://browserify.org)
- [express](http://expressjs.com)
From 139eab5fa4164e4f600615af7785fda36c44a661 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 15:34:01 +0200
Subject: [PATCH 0039/5523] package: typo
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index a231107e..8724e8c2 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,7 @@
"electron-packager": "8.0.0"
},
"scripts": {
- "postinstall":"cd app && npm install && cd .. && npm run build-js && npm run build-css",
+ "postinstall": "cd app && npm install && cd .. && npm run build-js && npm run build-css",
"start": "cd app && npm start --",
"build": "npm run build-js && npm run build-css && electron-packager ./app open-stage-control --platform=$PLATFORM --arch=$ARCH --out dist/ --icon=resources/images/logo --overwrite --ignore \"(app/node_modules/electron.*)\"",
"deb32": "electron-installer-debian --src dist/open-stage-control-linux-ia32/ --arch i386 --dest dist/open-stage-control-linux-ia32/ --icon app/resources/images/logo.png",
From d1cb4194fa7fa109b6ecc1e08798068ee8add13f Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 15:44:42 +0200
Subject: [PATCH 0040/5523] structure: take src out of packaged folder
---
app/browser/index.html | 4 ++--
package.json | 10 +++++-----
{app/resources => resources}/README.md | 0
.../resources => resources}/docs/getting-started.md | 0
{app/resources => resources}/docs/img/logo.png | 0
{app/resources => resources}/docs/index.md | 0
.../docs/user-guide/interface.md | 0
.../docs/user-guide/session-file.md | 0
.../docs/user-guide/theming.md | 0
.../docs/user-guide/widgets-generics.md | 0
.../docs/user-guide/widgets-specifics/buttons.md | 0
.../docs/user-guide/widgets-specifics/containers.md | 0
.../docs/user-guide/widgets-specifics/matrices.md | 0
.../docs/user-guide/widgets-specifics/pads.md | 0
.../docs/user-guide/widgets-specifics/plots.md | 0
.../docs/user-guide/widgets-specifics/sliders.md | 0
{app/resources => resources}/images/logo.icns | Bin
{app/resources => resources}/images/logo.ico | Bin
{app/resources => resources}/images/logo.png | Bin
{app/resources => resources}/images/logo.sh | 0
{app/resources => resources}/images/logo.svg | 0
{app/resources => resources}/mkdocs.yml | 0
{app => src}/browser/js/app.js | 0
{app => src}/browser/js/app/actions.js | 0
{app => src}/browser/js/app/callbacks.js | 0
{app => src}/browser/js/app/editor/context-menu.js | 0
{app => src}/browser/js/app/editor/data-workers.js | 0
{app => src}/browser/js/app/editor/edit-objects.js | 0
{app => src}/browser/js/app/editor/init.js | 0
{app => src}/browser/js/app/editor/purge.js | 0
{app => src}/browser/js/app/init.js | 0
{app => src}/browser/js/app/parser.js | 0
{app => src}/browser/js/app/sidepanel.js | 0
{app => src}/browser/js/app/ui.js | 0
{app => src}/browser/js/app/utils.js | 0
{app => src}/browser/js/app/widgets.js | 0
.../browser/js/app/widgets/common/_canvas_base.js | 0
.../browser/js/app/widgets/common/_widgets_base.js | 0
.../js/app/widgets/matrices/_matrices_base.js | 0
.../browser/js/app/widgets/matrices/multifader.js | 0
.../browser/js/app/widgets/matrices/multipush.js | 0
.../browser/js/app/widgets/matrices/multitoggle.js | 0
{app => src}/browser/js/app/widgets/panel.js | 0
.../js/app/widgets/plots/_biquad_response.js | 0
.../browser/js/app/widgets/plots/_plots_base.js | 0
{app => src}/browser/js/app/widgets/plots/eq.js | 0
{app => src}/browser/js/app/widgets/plots/led.js | 0
{app => src}/browser/js/app/widgets/plots/meter.js | 0
{app => src}/browser/js/app/widgets/plots/plot.js | 0
{app => src}/browser/js/app/widgets/plots/text.js | 0
.../browser/js/app/widgets/plots/visualizer.js | 0
{app => src}/browser/js/app/widgets/push.js | 0
{app => src}/browser/js/app/widgets/rgb.js | 0
.../browser/js/app/widgets/sliders/_sliders_base.js | 0
.../browser/js/app/widgets/sliders/fader.js | 0
{app => src}/browser/js/app/widgets/sliders/knob.js | 0
{app => src}/browser/js/app/widgets/strip.js | 0
{app => src}/browser/js/app/widgets/switch.js | 0
{app => src}/browser/js/app/widgets/toggle.js | 0
{app => src}/browser/js/app/widgets/utils.js | 0
{app => src}/browser/js/app/widgets/xy.js | 0
{app => src}/browser/js/browser.js | 0
{app => src}/browser/js/jquery/jquery.drag.js | 0
{app => src}/browser/js/jquery/jquery.fake-input.js | 0
{app => src}/browser/js/jquery/jquery.min.js | 0
{app => src}/browser/js/jquery/jquery.resize.js | 0
{app => src}/browser/js/jquery/jquery.ui.js | 0
{app => src}/browser/scss/_editor.scss | 0
{app => src}/browser/scss/_layout.scss | 0
{app => src}/browser/scss/_reset.scss | 0
{app => src}/browser/scss/_scrollbars.scss | 0
{app => src}/browser/scss/_sidepanel.scss | 0
{app => src}/browser/scss/_vars.scss | 0
{app => src}/browser/scss/_widgets.scss | 0
{app => src}/browser/scss/style.scss | 0
{app => src}/browser/scss/widgets/_fader.scss | 0
{app => src}/browser/scss/widgets/_knob.scss | 0
{app => src}/browser/scss/widgets/_matrices.scss | 0
{app => src}/browser/scss/widgets/_pads.scss | 0
{app => src}/browser/scss/widgets/_panel.scss | 0
{app => src}/browser/scss/widgets/_plots.scss | 0
{app => src}/browser/scss/widgets/_push.scss | 0
{app => src}/browser/scss/widgets/_strip.scss | 0
{app => src}/browser/scss/widgets/_switch.scss | 0
{app => src}/browser/scss/widgets/_toggle.scss | 0
85 files changed, 7 insertions(+), 7 deletions(-)
rename {app/resources => resources}/README.md (100%)
rename {app/resources => resources}/docs/getting-started.md (100%)
rename {app/resources => resources}/docs/img/logo.png (100%)
rename {app/resources => resources}/docs/index.md (100%)
rename {app/resources => resources}/docs/user-guide/interface.md (100%)
rename {app/resources => resources}/docs/user-guide/session-file.md (100%)
rename {app/resources => resources}/docs/user-guide/theming.md (100%)
rename {app/resources => resources}/docs/user-guide/widgets-generics.md (100%)
rename {app/resources => resources}/docs/user-guide/widgets-specifics/buttons.md (100%)
rename {app/resources => resources}/docs/user-guide/widgets-specifics/containers.md (100%)
rename {app/resources => resources}/docs/user-guide/widgets-specifics/matrices.md (100%)
rename {app/resources => resources}/docs/user-guide/widgets-specifics/pads.md (100%)
rename {app/resources => resources}/docs/user-guide/widgets-specifics/plots.md (100%)
rename {app/resources => resources}/docs/user-guide/widgets-specifics/sliders.md (100%)
rename {app/resources => resources}/images/logo.icns (100%)
rename {app/resources => resources}/images/logo.ico (100%)
rename {app/resources => resources}/images/logo.png (100%)
rename {app/resources => resources}/images/logo.sh (100%)
rename {app/resources => resources}/images/logo.svg (100%)
rename {app/resources => resources}/mkdocs.yml (100%)
rename {app => src}/browser/js/app.js (100%)
rename {app => src}/browser/js/app/actions.js (100%)
rename {app => src}/browser/js/app/callbacks.js (100%)
rename {app => src}/browser/js/app/editor/context-menu.js (100%)
rename {app => src}/browser/js/app/editor/data-workers.js (100%)
rename {app => src}/browser/js/app/editor/edit-objects.js (100%)
rename {app => src}/browser/js/app/editor/init.js (100%)
rename {app => src}/browser/js/app/editor/purge.js (100%)
rename {app => src}/browser/js/app/init.js (100%)
rename {app => src}/browser/js/app/parser.js (100%)
rename {app => src}/browser/js/app/sidepanel.js (100%)
rename {app => src}/browser/js/app/ui.js (100%)
rename {app => src}/browser/js/app/utils.js (100%)
rename {app => src}/browser/js/app/widgets.js (100%)
rename {app => src}/browser/js/app/widgets/common/_canvas_base.js (100%)
rename {app => src}/browser/js/app/widgets/common/_widgets_base.js (100%)
rename {app => src}/browser/js/app/widgets/matrices/_matrices_base.js (100%)
rename {app => src}/browser/js/app/widgets/matrices/multifader.js (100%)
rename {app => src}/browser/js/app/widgets/matrices/multipush.js (100%)
rename {app => src}/browser/js/app/widgets/matrices/multitoggle.js (100%)
rename {app => src}/browser/js/app/widgets/panel.js (100%)
rename {app => src}/browser/js/app/widgets/plots/_biquad_response.js (100%)
rename {app => src}/browser/js/app/widgets/plots/_plots_base.js (100%)
rename {app => src}/browser/js/app/widgets/plots/eq.js (100%)
rename {app => src}/browser/js/app/widgets/plots/led.js (100%)
rename {app => src}/browser/js/app/widgets/plots/meter.js (100%)
rename {app => src}/browser/js/app/widgets/plots/plot.js (100%)
rename {app => src}/browser/js/app/widgets/plots/text.js (100%)
rename {app => src}/browser/js/app/widgets/plots/visualizer.js (100%)
rename {app => src}/browser/js/app/widgets/push.js (100%)
rename {app => src}/browser/js/app/widgets/rgb.js (100%)
rename {app => src}/browser/js/app/widgets/sliders/_sliders_base.js (100%)
rename {app => src}/browser/js/app/widgets/sliders/fader.js (100%)
rename {app => src}/browser/js/app/widgets/sliders/knob.js (100%)
rename {app => src}/browser/js/app/widgets/strip.js (100%)
rename {app => src}/browser/js/app/widgets/switch.js (100%)
rename {app => src}/browser/js/app/widgets/toggle.js (100%)
rename {app => src}/browser/js/app/widgets/utils.js (100%)
rename {app => src}/browser/js/app/widgets/xy.js (100%)
rename {app => src}/browser/js/browser.js (100%)
rename {app => src}/browser/js/jquery/jquery.drag.js (100%)
rename {app => src}/browser/js/jquery/jquery.fake-input.js (100%)
rename {app => src}/browser/js/jquery/jquery.min.js (100%)
rename {app => src}/browser/js/jquery/jquery.resize.js (100%)
rename {app => src}/browser/js/jquery/jquery.ui.js (100%)
rename {app => src}/browser/scss/_editor.scss (100%)
rename {app => src}/browser/scss/_layout.scss (100%)
rename {app => src}/browser/scss/_reset.scss (100%)
rename {app => src}/browser/scss/_scrollbars.scss (100%)
rename {app => src}/browser/scss/_sidepanel.scss (100%)
rename {app => src}/browser/scss/_vars.scss (100%)
rename {app => src}/browser/scss/_widgets.scss (100%)
rename {app => src}/browser/scss/style.scss (100%)
rename {app => src}/browser/scss/widgets/_fader.scss (100%)
rename {app => src}/browser/scss/widgets/_knob.scss (100%)
rename {app => src}/browser/scss/widgets/_matrices.scss (100%)
rename {app => src}/browser/scss/widgets/_pads.scss (100%)
rename {app => src}/browser/scss/widgets/_panel.scss (100%)
rename {app => src}/browser/scss/widgets/_plots.scss (100%)
rename {app => src}/browser/scss/widgets/_push.scss (100%)
rename {app => src}/browser/scss/widgets/_strip.scss (100%)
rename {app => src}/browser/scss/widgets/_switch.scss (100%)
rename {app => src}/browser/scss/widgets/_toggle.scss (100%)
diff --git a/app/browser/index.html b/app/browser/index.html
index 2d713a21..6e613562 100644
--- a/app/browser/index.html
+++ b/app/browser/index.html
@@ -4,8 +4,8 @@
-
-
+
+
diff --git a/package.json b/package.json
index 8724e8c2..ff3e72bf 100644
--- a/package.json
+++ b/package.json
@@ -16,11 +16,11 @@
"deb32": "electron-installer-debian --src dist/open-stage-control-linux-ia32/ --arch i386 --dest dist/open-stage-control-linux-ia32/ --icon app/resources/images/logo.png",
"deb64": "electron-installer-debian --src dist/open-stage-control-linux-x64/ --arch amd64 --dest dist/open-stage-control-linux-x64/ --icon app/resources/images/logo.png",
"debarm": "electron-installer-debian --src dist/open-stage-control-linux-armv7l/ --arch armv7l --dest dist/open-stage-control-linux-armv7l/ --icon app/resources/images/logo.png",
- "watch-css": "nodemon --watch app/browser/scss -e scss -x \"npm run build-css\"",
- "watch-js": "nodemon --watch app/browser/js -e js --ignore app/browser/js/browser.bundle.js -x \"npm run build-js\"",
- "build-css": "node-sass --include-path app/browser/scss app/browser/scss/style.scss app/browser/css/style.css --output-style compressed",
- "build-js": "browserify app/browser/js/browser.js -o app/browser/js/browser.bundle.js",
- "deploy-docs": "cd app/resources && mkdocs gh-deploy --clean && rm -rf site",
+ "watch-css": "nodemon --watch src/browser/scss -e scss -x \"npm run build-css\"",
+ "watch-js": "nodemon --watch src/browser/js -e js -x \"npm run build-js\"",
+ "build-css": "node-sass --include-path src/browser/scss src/browser/scss/style.scss app/browser/style.css --output-style compressed",
+ "build-js": "browserify src/browser/js/browser.js -o app/browser/browser.bundle.js",
+ "deploy-docs": "cd resources && mkdocs gh-deploy --clean && rm -rf site",
"test": "npm run build"
}
}
diff --git a/app/resources/README.md b/resources/README.md
similarity index 100%
rename from app/resources/README.md
rename to resources/README.md
diff --git a/app/resources/docs/getting-started.md b/resources/docs/getting-started.md
similarity index 100%
rename from app/resources/docs/getting-started.md
rename to resources/docs/getting-started.md
diff --git a/app/resources/docs/img/logo.png b/resources/docs/img/logo.png
similarity index 100%
rename from app/resources/docs/img/logo.png
rename to resources/docs/img/logo.png
diff --git a/app/resources/docs/index.md b/resources/docs/index.md
similarity index 100%
rename from app/resources/docs/index.md
rename to resources/docs/index.md
diff --git a/app/resources/docs/user-guide/interface.md b/resources/docs/user-guide/interface.md
similarity index 100%
rename from app/resources/docs/user-guide/interface.md
rename to resources/docs/user-guide/interface.md
diff --git a/app/resources/docs/user-guide/session-file.md b/resources/docs/user-guide/session-file.md
similarity index 100%
rename from app/resources/docs/user-guide/session-file.md
rename to resources/docs/user-guide/session-file.md
diff --git a/app/resources/docs/user-guide/theming.md b/resources/docs/user-guide/theming.md
similarity index 100%
rename from app/resources/docs/user-guide/theming.md
rename to resources/docs/user-guide/theming.md
diff --git a/app/resources/docs/user-guide/widgets-generics.md b/resources/docs/user-guide/widgets-generics.md
similarity index 100%
rename from app/resources/docs/user-guide/widgets-generics.md
rename to resources/docs/user-guide/widgets-generics.md
diff --git a/app/resources/docs/user-guide/widgets-specifics/buttons.md b/resources/docs/user-guide/widgets-specifics/buttons.md
similarity index 100%
rename from app/resources/docs/user-guide/widgets-specifics/buttons.md
rename to resources/docs/user-guide/widgets-specifics/buttons.md
diff --git a/app/resources/docs/user-guide/widgets-specifics/containers.md b/resources/docs/user-guide/widgets-specifics/containers.md
similarity index 100%
rename from app/resources/docs/user-guide/widgets-specifics/containers.md
rename to resources/docs/user-guide/widgets-specifics/containers.md
diff --git a/app/resources/docs/user-guide/widgets-specifics/matrices.md b/resources/docs/user-guide/widgets-specifics/matrices.md
similarity index 100%
rename from app/resources/docs/user-guide/widgets-specifics/matrices.md
rename to resources/docs/user-guide/widgets-specifics/matrices.md
diff --git a/app/resources/docs/user-guide/widgets-specifics/pads.md b/resources/docs/user-guide/widgets-specifics/pads.md
similarity index 100%
rename from app/resources/docs/user-guide/widgets-specifics/pads.md
rename to resources/docs/user-guide/widgets-specifics/pads.md
diff --git a/app/resources/docs/user-guide/widgets-specifics/plots.md b/resources/docs/user-guide/widgets-specifics/plots.md
similarity index 100%
rename from app/resources/docs/user-guide/widgets-specifics/plots.md
rename to resources/docs/user-guide/widgets-specifics/plots.md
diff --git a/app/resources/docs/user-guide/widgets-specifics/sliders.md b/resources/docs/user-guide/widgets-specifics/sliders.md
similarity index 100%
rename from app/resources/docs/user-guide/widgets-specifics/sliders.md
rename to resources/docs/user-guide/widgets-specifics/sliders.md
diff --git a/app/resources/images/logo.icns b/resources/images/logo.icns
similarity index 100%
rename from app/resources/images/logo.icns
rename to resources/images/logo.icns
diff --git a/app/resources/images/logo.ico b/resources/images/logo.ico
similarity index 100%
rename from app/resources/images/logo.ico
rename to resources/images/logo.ico
diff --git a/app/resources/images/logo.png b/resources/images/logo.png
similarity index 100%
rename from app/resources/images/logo.png
rename to resources/images/logo.png
diff --git a/app/resources/images/logo.sh b/resources/images/logo.sh
similarity index 100%
rename from app/resources/images/logo.sh
rename to resources/images/logo.sh
diff --git a/app/resources/images/logo.svg b/resources/images/logo.svg
similarity index 100%
rename from app/resources/images/logo.svg
rename to resources/images/logo.svg
diff --git a/app/resources/mkdocs.yml b/resources/mkdocs.yml
similarity index 100%
rename from app/resources/mkdocs.yml
rename to resources/mkdocs.yml
diff --git a/app/browser/js/app.js b/src/browser/js/app.js
similarity index 100%
rename from app/browser/js/app.js
rename to src/browser/js/app.js
diff --git a/app/browser/js/app/actions.js b/src/browser/js/app/actions.js
similarity index 100%
rename from app/browser/js/app/actions.js
rename to src/browser/js/app/actions.js
diff --git a/app/browser/js/app/callbacks.js b/src/browser/js/app/callbacks.js
similarity index 100%
rename from app/browser/js/app/callbacks.js
rename to src/browser/js/app/callbacks.js
diff --git a/app/browser/js/app/editor/context-menu.js b/src/browser/js/app/editor/context-menu.js
similarity index 100%
rename from app/browser/js/app/editor/context-menu.js
rename to src/browser/js/app/editor/context-menu.js
diff --git a/app/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js
similarity index 100%
rename from app/browser/js/app/editor/data-workers.js
rename to src/browser/js/app/editor/data-workers.js
diff --git a/app/browser/js/app/editor/edit-objects.js b/src/browser/js/app/editor/edit-objects.js
similarity index 100%
rename from app/browser/js/app/editor/edit-objects.js
rename to src/browser/js/app/editor/edit-objects.js
diff --git a/app/browser/js/app/editor/init.js b/src/browser/js/app/editor/init.js
similarity index 100%
rename from app/browser/js/app/editor/init.js
rename to src/browser/js/app/editor/init.js
diff --git a/app/browser/js/app/editor/purge.js b/src/browser/js/app/editor/purge.js
similarity index 100%
rename from app/browser/js/app/editor/purge.js
rename to src/browser/js/app/editor/purge.js
diff --git a/app/browser/js/app/init.js b/src/browser/js/app/init.js
similarity index 100%
rename from app/browser/js/app/init.js
rename to src/browser/js/app/init.js
diff --git a/app/browser/js/app/parser.js b/src/browser/js/app/parser.js
similarity index 100%
rename from app/browser/js/app/parser.js
rename to src/browser/js/app/parser.js
diff --git a/app/browser/js/app/sidepanel.js b/src/browser/js/app/sidepanel.js
similarity index 100%
rename from app/browser/js/app/sidepanel.js
rename to src/browser/js/app/sidepanel.js
diff --git a/app/browser/js/app/ui.js b/src/browser/js/app/ui.js
similarity index 100%
rename from app/browser/js/app/ui.js
rename to src/browser/js/app/ui.js
diff --git a/app/browser/js/app/utils.js b/src/browser/js/app/utils.js
similarity index 100%
rename from app/browser/js/app/utils.js
rename to src/browser/js/app/utils.js
diff --git a/app/browser/js/app/widgets.js b/src/browser/js/app/widgets.js
similarity index 100%
rename from app/browser/js/app/widgets.js
rename to src/browser/js/app/widgets.js
diff --git a/app/browser/js/app/widgets/common/_canvas_base.js b/src/browser/js/app/widgets/common/_canvas_base.js
similarity index 100%
rename from app/browser/js/app/widgets/common/_canvas_base.js
rename to src/browser/js/app/widgets/common/_canvas_base.js
diff --git a/app/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js
similarity index 100%
rename from app/browser/js/app/widgets/common/_widgets_base.js
rename to src/browser/js/app/widgets/common/_widgets_base.js
diff --git a/app/browser/js/app/widgets/matrices/_matrices_base.js b/src/browser/js/app/widgets/matrices/_matrices_base.js
similarity index 100%
rename from app/browser/js/app/widgets/matrices/_matrices_base.js
rename to src/browser/js/app/widgets/matrices/_matrices_base.js
diff --git a/app/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js
similarity index 100%
rename from app/browser/js/app/widgets/matrices/multifader.js
rename to src/browser/js/app/widgets/matrices/multifader.js
diff --git a/app/browser/js/app/widgets/matrices/multipush.js b/src/browser/js/app/widgets/matrices/multipush.js
similarity index 100%
rename from app/browser/js/app/widgets/matrices/multipush.js
rename to src/browser/js/app/widgets/matrices/multipush.js
diff --git a/app/browser/js/app/widgets/matrices/multitoggle.js b/src/browser/js/app/widgets/matrices/multitoggle.js
similarity index 100%
rename from app/browser/js/app/widgets/matrices/multitoggle.js
rename to src/browser/js/app/widgets/matrices/multitoggle.js
diff --git a/app/browser/js/app/widgets/panel.js b/src/browser/js/app/widgets/panel.js
similarity index 100%
rename from app/browser/js/app/widgets/panel.js
rename to src/browser/js/app/widgets/panel.js
diff --git a/app/browser/js/app/widgets/plots/_biquad_response.js b/src/browser/js/app/widgets/plots/_biquad_response.js
similarity index 100%
rename from app/browser/js/app/widgets/plots/_biquad_response.js
rename to src/browser/js/app/widgets/plots/_biquad_response.js
diff --git a/app/browser/js/app/widgets/plots/_plots_base.js b/src/browser/js/app/widgets/plots/_plots_base.js
similarity index 100%
rename from app/browser/js/app/widgets/plots/_plots_base.js
rename to src/browser/js/app/widgets/plots/_plots_base.js
diff --git a/app/browser/js/app/widgets/plots/eq.js b/src/browser/js/app/widgets/plots/eq.js
similarity index 100%
rename from app/browser/js/app/widgets/plots/eq.js
rename to src/browser/js/app/widgets/plots/eq.js
diff --git a/app/browser/js/app/widgets/plots/led.js b/src/browser/js/app/widgets/plots/led.js
similarity index 100%
rename from app/browser/js/app/widgets/plots/led.js
rename to src/browser/js/app/widgets/plots/led.js
diff --git a/app/browser/js/app/widgets/plots/meter.js b/src/browser/js/app/widgets/plots/meter.js
similarity index 100%
rename from app/browser/js/app/widgets/plots/meter.js
rename to src/browser/js/app/widgets/plots/meter.js
diff --git a/app/browser/js/app/widgets/plots/plot.js b/src/browser/js/app/widgets/plots/plot.js
similarity index 100%
rename from app/browser/js/app/widgets/plots/plot.js
rename to src/browser/js/app/widgets/plots/plot.js
diff --git a/app/browser/js/app/widgets/plots/text.js b/src/browser/js/app/widgets/plots/text.js
similarity index 100%
rename from app/browser/js/app/widgets/plots/text.js
rename to src/browser/js/app/widgets/plots/text.js
diff --git a/app/browser/js/app/widgets/plots/visualizer.js b/src/browser/js/app/widgets/plots/visualizer.js
similarity index 100%
rename from app/browser/js/app/widgets/plots/visualizer.js
rename to src/browser/js/app/widgets/plots/visualizer.js
diff --git a/app/browser/js/app/widgets/push.js b/src/browser/js/app/widgets/push.js
similarity index 100%
rename from app/browser/js/app/widgets/push.js
rename to src/browser/js/app/widgets/push.js
diff --git a/app/browser/js/app/widgets/rgb.js b/src/browser/js/app/widgets/rgb.js
similarity index 100%
rename from app/browser/js/app/widgets/rgb.js
rename to src/browser/js/app/widgets/rgb.js
diff --git a/app/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js
similarity index 100%
rename from app/browser/js/app/widgets/sliders/_sliders_base.js
rename to src/browser/js/app/widgets/sliders/_sliders_base.js
diff --git a/app/browser/js/app/widgets/sliders/fader.js b/src/browser/js/app/widgets/sliders/fader.js
similarity index 100%
rename from app/browser/js/app/widgets/sliders/fader.js
rename to src/browser/js/app/widgets/sliders/fader.js
diff --git a/app/browser/js/app/widgets/sliders/knob.js b/src/browser/js/app/widgets/sliders/knob.js
similarity index 100%
rename from app/browser/js/app/widgets/sliders/knob.js
rename to src/browser/js/app/widgets/sliders/knob.js
diff --git a/app/browser/js/app/widgets/strip.js b/src/browser/js/app/widgets/strip.js
similarity index 100%
rename from app/browser/js/app/widgets/strip.js
rename to src/browser/js/app/widgets/strip.js
diff --git a/app/browser/js/app/widgets/switch.js b/src/browser/js/app/widgets/switch.js
similarity index 100%
rename from app/browser/js/app/widgets/switch.js
rename to src/browser/js/app/widgets/switch.js
diff --git a/app/browser/js/app/widgets/toggle.js b/src/browser/js/app/widgets/toggle.js
similarity index 100%
rename from app/browser/js/app/widgets/toggle.js
rename to src/browser/js/app/widgets/toggle.js
diff --git a/app/browser/js/app/widgets/utils.js b/src/browser/js/app/widgets/utils.js
similarity index 100%
rename from app/browser/js/app/widgets/utils.js
rename to src/browser/js/app/widgets/utils.js
diff --git a/app/browser/js/app/widgets/xy.js b/src/browser/js/app/widgets/xy.js
similarity index 100%
rename from app/browser/js/app/widgets/xy.js
rename to src/browser/js/app/widgets/xy.js
diff --git a/app/browser/js/browser.js b/src/browser/js/browser.js
similarity index 100%
rename from app/browser/js/browser.js
rename to src/browser/js/browser.js
diff --git a/app/browser/js/jquery/jquery.drag.js b/src/browser/js/jquery/jquery.drag.js
similarity index 100%
rename from app/browser/js/jquery/jquery.drag.js
rename to src/browser/js/jquery/jquery.drag.js
diff --git a/app/browser/js/jquery/jquery.fake-input.js b/src/browser/js/jquery/jquery.fake-input.js
similarity index 100%
rename from app/browser/js/jquery/jquery.fake-input.js
rename to src/browser/js/jquery/jquery.fake-input.js
diff --git a/app/browser/js/jquery/jquery.min.js b/src/browser/js/jquery/jquery.min.js
similarity index 100%
rename from app/browser/js/jquery/jquery.min.js
rename to src/browser/js/jquery/jquery.min.js
diff --git a/app/browser/js/jquery/jquery.resize.js b/src/browser/js/jquery/jquery.resize.js
similarity index 100%
rename from app/browser/js/jquery/jquery.resize.js
rename to src/browser/js/jquery/jquery.resize.js
diff --git a/app/browser/js/jquery/jquery.ui.js b/src/browser/js/jquery/jquery.ui.js
similarity index 100%
rename from app/browser/js/jquery/jquery.ui.js
rename to src/browser/js/jquery/jquery.ui.js
diff --git a/app/browser/scss/_editor.scss b/src/browser/scss/_editor.scss
similarity index 100%
rename from app/browser/scss/_editor.scss
rename to src/browser/scss/_editor.scss
diff --git a/app/browser/scss/_layout.scss b/src/browser/scss/_layout.scss
similarity index 100%
rename from app/browser/scss/_layout.scss
rename to src/browser/scss/_layout.scss
diff --git a/app/browser/scss/_reset.scss b/src/browser/scss/_reset.scss
similarity index 100%
rename from app/browser/scss/_reset.scss
rename to src/browser/scss/_reset.scss
diff --git a/app/browser/scss/_scrollbars.scss b/src/browser/scss/_scrollbars.scss
similarity index 100%
rename from app/browser/scss/_scrollbars.scss
rename to src/browser/scss/_scrollbars.scss
diff --git a/app/browser/scss/_sidepanel.scss b/src/browser/scss/_sidepanel.scss
similarity index 100%
rename from app/browser/scss/_sidepanel.scss
rename to src/browser/scss/_sidepanel.scss
diff --git a/app/browser/scss/_vars.scss b/src/browser/scss/_vars.scss
similarity index 100%
rename from app/browser/scss/_vars.scss
rename to src/browser/scss/_vars.scss
diff --git a/app/browser/scss/_widgets.scss b/src/browser/scss/_widgets.scss
similarity index 100%
rename from app/browser/scss/_widgets.scss
rename to src/browser/scss/_widgets.scss
diff --git a/app/browser/scss/style.scss b/src/browser/scss/style.scss
similarity index 100%
rename from app/browser/scss/style.scss
rename to src/browser/scss/style.scss
diff --git a/app/browser/scss/widgets/_fader.scss b/src/browser/scss/widgets/_fader.scss
similarity index 100%
rename from app/browser/scss/widgets/_fader.scss
rename to src/browser/scss/widgets/_fader.scss
diff --git a/app/browser/scss/widgets/_knob.scss b/src/browser/scss/widgets/_knob.scss
similarity index 100%
rename from app/browser/scss/widgets/_knob.scss
rename to src/browser/scss/widgets/_knob.scss
diff --git a/app/browser/scss/widgets/_matrices.scss b/src/browser/scss/widgets/_matrices.scss
similarity index 100%
rename from app/browser/scss/widgets/_matrices.scss
rename to src/browser/scss/widgets/_matrices.scss
diff --git a/app/browser/scss/widgets/_pads.scss b/src/browser/scss/widgets/_pads.scss
similarity index 100%
rename from app/browser/scss/widgets/_pads.scss
rename to src/browser/scss/widgets/_pads.scss
diff --git a/app/browser/scss/widgets/_panel.scss b/src/browser/scss/widgets/_panel.scss
similarity index 100%
rename from app/browser/scss/widgets/_panel.scss
rename to src/browser/scss/widgets/_panel.scss
diff --git a/app/browser/scss/widgets/_plots.scss b/src/browser/scss/widgets/_plots.scss
similarity index 100%
rename from app/browser/scss/widgets/_plots.scss
rename to src/browser/scss/widgets/_plots.scss
diff --git a/app/browser/scss/widgets/_push.scss b/src/browser/scss/widgets/_push.scss
similarity index 100%
rename from app/browser/scss/widgets/_push.scss
rename to src/browser/scss/widgets/_push.scss
diff --git a/app/browser/scss/widgets/_strip.scss b/src/browser/scss/widgets/_strip.scss
similarity index 100%
rename from app/browser/scss/widgets/_strip.scss
rename to src/browser/scss/widgets/_strip.scss
diff --git a/app/browser/scss/widgets/_switch.scss b/src/browser/scss/widgets/_switch.scss
similarity index 100%
rename from app/browser/scss/widgets/_switch.scss
rename to src/browser/scss/widgets/_switch.scss
diff --git a/app/browser/scss/widgets/_toggle.scss b/src/browser/scss/widgets/_toggle.scss
similarity index 100%
rename from app/browser/scss/widgets/_toggle.scss
rename to src/browser/scss/widgets/_toggle.scss
From 395e3b53df73e1d944ceb1fab941a2d3f0cbd2b7 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 15:52:47 +0200
Subject: [PATCH 0041/5523] package: correct osc version
---
app/package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/package.json b/app/package.json
index b309b106..ef304022 100644
--- a/app/package.json
+++ b/app/package.json
@@ -11,7 +11,7 @@
"dependencies": {
"vmodule":"1.0.1",
"electron-localshortcut":"0.6.1",
- "osc": "2.0.3",
+ "osc": "2.1.0",
"yargs": "5.0.0",
"socket.io": "1.4.8",
"socket.io-client": "1.4.8",
From 64cee20eca61a7a3d8473164eeeb4f4a6d6b23e6 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 15:55:50 +0200
Subject: [PATCH 0042/5523] package: copy favicon at postinstall
---
app/browser/favicon.ico | 1 -
package.json | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
delete mode 120000 app/browser/favicon.ico
diff --git a/app/browser/favicon.ico b/app/browser/favicon.ico
deleted file mode 120000
index 4057c25b..00000000
--- a/app/browser/favicon.ico
+++ /dev/null
@@ -1 +0,0 @@
-../resources/images/logo.ico
\ No newline at end of file
diff --git a/package.json b/package.json
index ff3e72bf..ca071016 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,7 @@
"electron-packager": "8.0.0"
},
"scripts": {
- "postinstall": "cd app && npm install && cd .. && npm run build-js && npm run build-css",
+ "postinstall": "cp resources/images/logo.ico app/browser/favicon.ico && cd app && npm install && cd .. && npm run build-js && npm run build-css",
"start": "cd app && npm start --",
"build": "npm run build-js && npm run build-css && electron-packager ./app open-stage-control --platform=$PLATFORM --arch=$ARCH --out dist/ --icon=resources/images/logo --overwrite --ignore \"(app/node_modules/electron.*)\"",
"deb32": "electron-installer-debian --src dist/open-stage-control-linux-ia32/ --arch i386 --dest dist/open-stage-control-linux-ia32/ --icon app/resources/images/logo.png",
From 622026e6570daebf631aabb43815d87a6b3fd645 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 15:56:33 +0200
Subject: [PATCH 0043/5523] package: move socket.io-client to build package
---
app/package.json | 1 -
package.json | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/package.json b/app/package.json
index ef304022..e318df8b 100644
--- a/app/package.json
+++ b/app/package.json
@@ -14,7 +14,6 @@
"osc": "2.1.0",
"yargs": "5.0.0",
"socket.io": "1.4.8",
- "socket.io-client": "1.4.8",
"socketio-wildcard": "0.3.0",
"express": "4.14.0"
},
diff --git a/package.json b/package.json
index ca071016..f75379d0 100644
--- a/package.json
+++ b/package.json
@@ -19,6 +19,7 @@
"watch-css": "nodemon --watch src/browser/scss -e scss -x \"npm run build-css\"",
"watch-js": "nodemon --watch src/browser/js -e js -x \"npm run build-js\"",
"build-css": "node-sass --include-path src/browser/scss src/browser/scss/style.scss app/browser/style.css --output-style compressed",
+ "socket.io-client": "1.4.8",
"build-js": "browserify src/browser/js/browser.js -o app/browser/browser.bundle.js",
"deploy-docs": "cd resources && mkdocs gh-deploy --clean && rm -rf site",
"test": "npm run build"
From 885b61f595c0c69ebe71a763ff91dc181b77a8a3 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 15:58:50 +0200
Subject: [PATCH 0044/5523] package: rename css/js bundles
---
app/browser/index.html | 6 +++---
package.json | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/app/browser/index.html b/app/browser/index.html
index 6e613562..f2fdbdd1 100644
--- a/app/browser/index.html
+++ b/app/browser/index.html
@@ -4,11 +4,11 @@
-
-
+
+
-
+
diff --git a/package.json b/package.json
index f75379d0..a483b733 100644
--- a/package.json
+++ b/package.json
@@ -6,6 +6,7 @@
"browserify": "13.1.0",
"node-sass": "^3.7.0",
"nodemon": "^1.9.2",
+ "socket.io-client": "1.4.8",
"electron-installer-debian": "0.3.1",
"electron-packager": "8.0.0"
},
@@ -18,9 +19,8 @@
"debarm": "electron-installer-debian --src dist/open-stage-control-linux-armv7l/ --arch armv7l --dest dist/open-stage-control-linux-armv7l/ --icon app/resources/images/logo.png",
"watch-css": "nodemon --watch src/browser/scss -e scss -x \"npm run build-css\"",
"watch-js": "nodemon --watch src/browser/js -e js -x \"npm run build-js\"",
- "build-css": "node-sass --include-path src/browser/scss src/browser/scss/style.scss app/browser/style.css --output-style compressed",
- "socket.io-client": "1.4.8",
- "build-js": "browserify src/browser/js/browser.js -o app/browser/browser.bundle.js",
+ "build-css": "node-sass --include-path src/browser/scss src/browser/scss/style.scss app/browser/styles.css --output-style compressed",
+ "build-js": "browserify src/browser/js/browser.js -o app/browser/scripts.js",
"deploy-docs": "cd resources && mkdocs gh-deploy --clean && rm -rf site",
"test": "npm run build"
}
From e3c7d69dc7cc3401cc3d1549281099810d2cd33e Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 16:01:40 +0200
Subject: [PATCH 0045/5523] html: add preload script for fonts stylesheets
---
app/browser/index.html | 2 ++
1 file changed, 2 insertions(+)
diff --git a/app/browser/index.html b/app/browser/index.html
index f2fdbdd1..9c3c9eed 100644
--- a/app/browser/index.html
+++ b/app/browser/index.html
@@ -4,6 +4,8 @@
+
+
From 70571071a303fd022f0ee6cde5682865085dbdb0 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 16:03:09 +0200
Subject: [PATCH 0046/5523] docs: correct logo path
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index e66fdfc3..e48a38e0 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-#
Open Stage Control
+#
Open Stage Control
Open Stage Control is a libre desktop OSC bi-directionnal control surface application. It's built with HTML, JavaScript & CSS and run as a Node / [Electron](http://electron.atom.io/) web server that accepts any number of Chrome / Chromium / Electron clients.
From 74d9fcdbf567ae90dc33e79d7a8eabe7d73e79ad Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 16:06:16 +0200
Subject: [PATCH 0047/5523] gui: remove old icon setting
---
app/main/gui.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/app/main/gui.js b/app/main/gui.js
index d15ca6a8..26e7b55d 100644
--- a/app/main/gui.js
+++ b/app/main/gui.js
@@ -20,7 +20,6 @@ app.on('ready',function(){
window = new BrowserWindow({
width: 800,
height: 600,
- icon: path.resolve(__dirname + '/../resources/images/logo.png'),
title:settings.read('appName'),
backgroundColor:'#1a1d22'
})
From f3411d1c330d8d3e655763d95981745b6c9b79c4 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 16:06:28 +0200
Subject: [PATCH 0048/5523] package: fix icon location
---
package.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/package.json b/package.json
index a483b733..60776c7c 100644
--- a/package.json
+++ b/package.json
@@ -14,9 +14,9 @@
"postinstall": "cp resources/images/logo.ico app/browser/favicon.ico && cd app && npm install && cd .. && npm run build-js && npm run build-css",
"start": "cd app && npm start --",
"build": "npm run build-js && npm run build-css && electron-packager ./app open-stage-control --platform=$PLATFORM --arch=$ARCH --out dist/ --icon=resources/images/logo --overwrite --ignore \"(app/node_modules/electron.*)\"",
- "deb32": "electron-installer-debian --src dist/open-stage-control-linux-ia32/ --arch i386 --dest dist/open-stage-control-linux-ia32/ --icon app/resources/images/logo.png",
- "deb64": "electron-installer-debian --src dist/open-stage-control-linux-x64/ --arch amd64 --dest dist/open-stage-control-linux-x64/ --icon app/resources/images/logo.png",
- "debarm": "electron-installer-debian --src dist/open-stage-control-linux-armv7l/ --arch armv7l --dest dist/open-stage-control-linux-armv7l/ --icon app/resources/images/logo.png",
+ "deb32": "electron-installer-debian --src dist/open-stage-control-linux-ia32/ --arch i386 --dest dist/open-stage-control-linux-ia32/ --icon resources/images/logo.png",
+ "deb64": "electron-installer-debian --src dist/open-stage-control-linux-x64/ --arch amd64 --dest dist/open-stage-control-linux-x64/ --icon resources/images/logo.png",
+ "debarm": "electron-installer-debian --src dist/open-stage-control-linux-armv7l/ --arch armv7l --dest dist/open-stage-control-linux-armv7l/ --icon resources/images/logo.png",
"watch-css": "nodemon --watch src/browser/scss -e scss -x \"npm run build-css\"",
"watch-js": "nodemon --watch src/browser/js -e js -x \"npm run build-js\"",
"build-css": "node-sass --include-path src/browser/scss src/browser/scss/style.scss app/browser/styles.css --output-style compressed",
From 9ed636341bf8fbd7dd4263a77242eca9e71dcf96 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 16:15:16 +0200
Subject: [PATCH 0049/5523] package: update deps
---
app/package.json | 4 ++--
package.json | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/app/package.json b/app/package.json
index e318df8b..4d8d0374 100644
--- a/app/package.json
+++ b/app/package.json
@@ -12,8 +12,8 @@
"vmodule":"1.0.1",
"electron-localshortcut":"0.6.1",
"osc": "2.1.0",
- "yargs": "5.0.0",
- "socket.io": "1.4.8",
+ "yargs": "6.0.0",
+ "socket.io": "1.5.0",
"socketio-wildcard": "0.3.0",
"express": "4.14.0"
},
diff --git a/package.json b/package.json
index 60776c7c..68993050 100644
--- a/package.json
+++ b/package.json
@@ -2,13 +2,13 @@
"name": "open-stage-control-dev",
"description": "This is the dev package, see ./app/package.json",
"dependencies": {
- "electron-prebuilt": "1.4.1",
+ "electron-prebuilt": "1.4.3",
"browserify": "13.1.0",
"node-sass": "^3.7.0",
"nodemon": "^1.9.2",
- "socket.io-client": "1.4.8",
- "electron-installer-debian": "0.3.1",
- "electron-packager": "8.0.0"
+ "socket.io-client": "1.5.0",
+ "electron-installer-debian": "0.4.0",
+ "electron-packager": "8.1.0"
},
"scripts": {
"postinstall": "cp resources/images/logo.ico app/browser/favicon.ico && cd app && npm install && cd .. && npm run build-js && npm run build-css",
From fbb634be0d8ef953b6be3ad79ed8894d5ab13800 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 16:16:41 +0200
Subject: [PATCH 0050/5523] log: electron 1.4.3
---
CHANGELOG.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 15e71690..721e3b51 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,8 @@
- removed special `false` value case for push/toggles (which used to disable osc sending)
- add `norelease` option to `push` for disabling osc messages when releasing the button
- `true` and `false` values are now properly sent as boolean
+- engine
+ - electron 1.4.3
- misc
- rewritten matrices with prototypes inheritance
From 50995158eb099fb54c86db8eb063402b3785a5b1 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 16:20:30 +0200
Subject: [PATCH 0051/5523] package: use renamed electron package
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 68993050..d5cdce5e 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "open-stage-control-dev",
"description": "This is the dev package, see ./app/package.json",
"dependencies": {
- "electron-prebuilt": "1.4.3",
+ "electron": "1.4.3",
"browserify": "13.1.0",
"node-sass": "^3.7.0",
"nodemon": "^1.9.2",
From 00952883128973a6f187b5863b0fedd940e11606 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 16:36:49 +0200
Subject: [PATCH 0052/5523] cli: add --version and -e alias to --example
---
app/main/settings.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/main/settings.js b/app/main/settings.js
index ad52eb3b..422ea43c 100644
--- a/app/main/settings.js
+++ b/app/main/settings.js
@@ -17,12 +17,13 @@ var argv = require('yargs')
'n':{alias:'no-gui',describe:'disable default gui'},
'g':{alias:'gui-only',describe:'server\'s ip:port, default to localhost:8080, only launch the gui (a server instance must be running)'},
't':{alias:'theme',type:'array',describe:'theme name or path (mutliple values allowed)'},
- 'examples':{describe:'list examples instead of recent sessions'}
+ 'e':{alias:'examples',describe:'list examples instead of recent sessions'}
})
.check(function(a,x){if(a.i==undefined || !isNaN(a.i)&&a.i>1023&&parseInt(a.i)===a.i){return true}else{throw 'Error: Port must be an integer >= 1024'}})
.check(function(a,x){if(a.p==undefined || !isNaN(a.p)&&a.p>1023&&parseInt(a.p)===a.p){return true}else{throw 'Error: Port must be an integer >= 1024'}})
.check(function(a,x){if(a.s==undefined || a.s.join(' ').match('^([^:\s]*:[0-9]{4,5}[\s]*)*$')!=null){return true}else{throw 'Error: Sync hosts must be ip:port pairs & port must be >= 1024'}})
.strict()
+ .version().alias('v','version')
.argv
var config = function(){try {return JSON.parse(fs.readFileSync(configFile,'utf-8'))} catch(err) {return {}}}(),
From 647b5ec475bc7f252ad6da06dbfa31a5920c78dd Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 16:39:19 +0200
Subject: [PATCH 0053/5523] docs: copy switches docs from sources
---
resources/docs/getting-started.md | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/resources/docs/getting-started.md b/resources/docs/getting-started.md
index 9f6ad334..06a5862a 100644
--- a/resources/docs/getting-started.md
+++ b/resources/docs/getting-started.md
@@ -8,15 +8,19 @@ Prebuilt binaries for Linux, Windows and OS X can be found on the [release](http
```
Options:
- -h, --help display help
- -s, --sync synchronized hosts (ip:port pairs) (all osc messages will also be sent to these)
- -o, --osc-port osc input port (for synchronization / feedback)
- -d, --debug log received osc in the console
- -p, --port http port of the server (default to 8080)
- -n, --no-gui disable default gui
- -g, --gui-only server's ip:port, default to localhost:8080, only launch the gui (a server instance must be running)
- -l, --load session file to load
- -t, --theme theme name or path (mutliple values allowed)
+ -s, --sync synchronized hosts (ip:port pairs)
+ -l, --load session file to load
+ -p, --port http port of the server (default to 8080)
+ -o, --osc-port osc input port
+ -d, --debug log received osc messages in the console
+ -n, --no-gui disable default gui
+ -g, --gui-only server's ip:port, default to localhost:8080, only launch the
+ gui (a server instance must be running)
+ -t, --theme theme name or path (mutliple values allowed)
+ -e, --examples list examples instead of recent sessions
+ -h, --help display help
+ -v, --version display version number
+
Examples:
From 12ae3f673b4637f097b683aa0866a9cd16f26f43 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 16:39:43 +0200
Subject: [PATCH 0054/5523] log: add --version
---
CHANGELOG.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 721e3b51..7fe53e33 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,7 @@
- main
- the headless server/clients model is now the only one beeing used : the GUI mode is nothing more than an embedded chromium (electron) client
- when a new client opens a session on the server, it is synchronized with the other clients
-- new switches : `--no-gui`, `--gui-only`, `--port`, `--osc-port` (see docs)
+ - **new switches** : `--no-gui`, `--gui-only`, `--port`, `--osc-port`, `--version` (see docs)
- ui
- explicit loadings
- widgets
From ad7fe6aeb816c8233c620d49945a6c90c2902e26 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 16:41:36 +0200
Subject: [PATCH 0055/5523] package: bump 0.8.0
---
CHANGELOG.md | 2 +-
app/package.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7fe53e33..3bde8ee1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
# Changelog
-## next
+## 0.8.0
- main
- the headless server/clients model is now the only one beeing used : the GUI mode is nothing more than an embedded chromium (electron) client
diff --git a/app/package.json b/app/package.json
index 4d8d0374..65a88cc6 100644
--- a/app/package.json
+++ b/app/package.json
@@ -2,7 +2,7 @@
"name": "open-stage-control",
"productName": "Open Stage Control",
"description": "A libre desktop OSC bi-directionnal control surface application.",
- "version": "0.7.0",
+ "version": "0.8.0",
"main": "index.js",
"author": {
"name": "Jean-Emmanuel Doucet / AMMD",
From 1acbc387231486cf34b64a60d95e31df1fcf3a6a Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 17:05:49 +0200
Subject: [PATCH 0056/5523] osc: handle osc error on bad messages reception
---
app/main/osc.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/app/main/osc.js b/app/main/osc.js
index 15197a72..1481bf86 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -21,6 +21,10 @@ oscServer.on('message', function (msg, bundle, info) {
if (debug) console.log('OSC received: ',data, 'From : ' + info.address + ':' + info.port)
})
+oscServer.on('error', function (error) {
+ console.log(error)
+})
+
oscServer.open()
@@ -58,7 +62,7 @@ module.exports = {
address: path,
args: message
}, host, port);
-
+
if (debug) console.log('OSC sent: ',{path:path,args:message}, 'To : ' + host + ':' + port)
}
From 580d2c747b9ad6ce7c263c02458c86472db95a7a Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 17:36:26 +0200
Subject: [PATCH 0057/5523] sliders: prevent sending the same value over and
over while using mousewheel
---
src/browser/js/app/widgets/sliders/_sliders_base.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js
index f92b828e..5a364aa2 100644
--- a/src/browser/js/app/widgets/sliders/_sliders_base.js
+++ b/src/browser/js/app/widgets/sliders/_sliders_base.js
@@ -104,7 +104,7 @@ _sliders_base.prototype.mousewheelHandle = function(e, data, traversing) {
this.percent = clip(this.percent + Math.max(increment,10/Math.pow(10,this.widgetData.precision)) * direction ,[0,100])
- this.setValue(this.percentToValue(this.percent), {sync:true,send:true})
+ this.setValue(this.percentToValue(this.percent), {sync:true,send:true,dragged:true})
}
From 758f18cbb0c34547e78fe355324f7158b4324813 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 22:37:27 +0200
Subject: [PATCH 0058/5523] plots: remove margin and add `origin` option
---
.../user-guide/widgets-specifics/plots.md | 13 +++-
.../js/app/widgets/plots/_plots_base.js | 66 +++++++++++++------
src/browser/js/app/widgets/plots/eq.js | 1 +
src/browser/js/app/widgets/plots/plot.js | 1 +
.../js/app/widgets/plots/visualizer.js | 10 +--
5 files changed, 65 insertions(+), 26 deletions(-)
diff --git a/resources/docs/user-guide/widgets-specifics/plots.md b/resources/docs/user-guide/widgets-specifics/plots.md
index 4e99e0d9..8bf1f568 100644
--- a/resources/docs/user-guide/widgets-specifics/plots.md
+++ b/resources/docs/user-guide/widgets-specifics/plots.md
@@ -61,6 +61,10 @@ The plot receives an array of [x,y] coordinates and draws them on a chart with
- default: `false`
- usage: set to `true` to use logarithmic scale for the `y` axis (log10)
+#### `origin`
+- type: `number`
+- default: `auto`
+- usage: defines the y-axis origin. Set to `false` to disable it.
## Eq
@@ -106,7 +110,10 @@ The Eq receives an array of filter objects and draws their frequency response be
- default: `false`
- usage: set to `true` to use logarithmic scale for the `x` axis (log10)
-
+#### `origin`
+- type: `number`
+- default: `auto`
+- usage: defines the y-axis origin. Set to `false` to disable it.
## Visualizer
@@ -139,6 +146,10 @@ The visualizer displays the evolution in time of a received value (through osc)
- default: `false`
- usage: set to `true` use logarithmic scaling (log10)
+#### `origin`
+- type: `number`
+- default: `auto`
+- usage: defines the y-axis origin. Set to `false` to disable it.
## Text
diff --git a/src/browser/js/app/widgets/plots/_plots_base.js b/src/browser/js/app/widgets/plots/_plots_base.js
index 1b92f7fa..861a3ffb 100644
--- a/src/browser/js/app/widgets/plots/_plots_base.js
+++ b/src/browser/js/app/widgets/plots/_plots_base.js
@@ -61,27 +61,52 @@ _plots_base.prototype.draw = function() {
this.ctx.strokeStyle = this.colors.custom
this.ctx.stroke()
+
+
+ if (this.widgetData.origin !== false) {
+
+ var origin = mapToScale(this.widgetData.origin||this.rangeY.min,[this.rangeY.min,this.rangeY.max],[this.height,0],0,this.widgetData.logScaleY,true)
+
+ this.ctx.save()
+ this.ctx.globalAlpha = 0.1
+ this.ctx.fillStyle = this.colors.custom
+ this.ctx.lineTo(this.width,origin)
+ this.ctx.lineTo(0,origin)
+ this.ctx.closePath()
+ this.ctx.fill()
+ this.ctx.restore()
+
+ }
+
+
this.ctx.font = PXSCALE * 10 + 'px sans-serif'
this.ctx.fillStyle = this.colors.text
+ if (this.pips.x) {
- this.ctx.textBaseline = "bottom"
- this.ctx.textAlign = 'left'
- this.ctx.fillText(this.pips.x.min,12*PXSCALE,this.height)
- this.ctx.textAlign = 'right'
- this.ctx.fillText(this.pips.x.max,this.width-10,this.height)
+ this.ctx.textBaseline = "bottom"
+ this.ctx.textAlign = 'left'
+ this.ctx.fillText(this.pips.x.min,(this.pips.y?12:2)*PXSCALE,this.height)
+ this.ctx.textAlign = 'right'
+ this.ctx.fillText(this.pips.x.max,this.width-2*PXSCALE,this.height)
- this.ctx.save()
- this.ctx.translate(0, this.height)
- this.ctx.rotate(-Math.PI/2)
+ }
- this.ctx.textBaseline = "top"
- this.ctx.textAlign = 'left'
- this.ctx.fillText(this.pips.y.min,12*PXSCALE,2*PXSCALE)
- this.ctx.textAlign = 'right'
- this.ctx.fillText(this.pips.y.max,this.height-10*PXSCALE,2*PXSCALE)
- this.ctx.rotate(Math.PI/2)
- this.ctx.restore()
+ if (this.pips.y) {
+
+ this.ctx.save()
+ this.ctx.translate(0, this.height)
+ this.ctx.rotate(-Math.PI/2)
+
+ this.ctx.textBaseline = "top"
+ this.ctx.textAlign = 'left'
+ this.ctx.fillText(this.pips.y.min,(this.pips.x?12:2)*PXSCALE,2*PXSCALE)
+ this.ctx.textAlign = 'right'
+ this.ctx.fillText(this.pips.y.max,this.height-2*PXSCALE,2*PXSCALE)
+ this.ctx.rotate(Math.PI/2)
+ this.ctx.restore()
+
+ }
}
@@ -95,21 +120,22 @@ _plots_base.prototype.draw_data = function() {
var newpoint = this.data[i].length?
[
- mapToScale(this.data[i][0],[this.rangeX.min,this.rangeX.max],[15*PXSCALE,this.width-15*PXSCALE],0,this.widgetData.logScaleX,true),
- mapToScale(this.data[i][1],[this.rangeY.min,this.rangeY.max],[this.height-15*PXSCALE,15*PXSCALE],0,this.widgetData.logScaleY,true),
+ mapToScale(this.data[i][0],[this.rangeX.min,this.rangeX.max],[0,this.width],0,this.widgetData.logScaleX,true),
+ mapToScale(this.data[i][1],[this.rangeY.min,this.rangeY.max],[this.height-PXSCALE,PXSCALE],0,this.widgetData.logScaleY,true),
]
:
[
- mapToScale(i,[0,this.data.length-1],[15*PXSCALE,this.width-15*PXSCALE],0,this.widgetData.logScaleX,true),
- mapToScale(this.data[i],[this.rangeY.min,this.rangeY.max],[this.height-15*PXSCALE,15*PXSCALE],0,this.widgetData.logScaleY,true),
+ mapToScale(i,[0,this.data.length-1],[0,this.width],0,this.widgetData.logScaleX,true),
+ mapToScale(this.data[i],[this.rangeY.min,this.rangeY.max],[this.height-PXSCALE,PXSCALE],0,this.widgetData.logScaleY,true),
]
if (first) {
this.ctx.moveTo(newpoint[0],newpoint[1])
+ this.ctx.lineTo(newpoint[0],newpoint[1])
first = false
} else {
- this.ctx.moveTo(point[0],point[1])
+ // this.ctx.moveTo(point[0],point[1])
this.ctx.lineTo(newpoint[0],newpoint[1])
}
point = newpoint
diff --git a/src/browser/js/app/widgets/plots/eq.js b/src/browser/js/app/widgets/plots/eq.js
index 0365c038..df99d600 100644
--- a/src/browser/js/app/widgets/plots/eq.js
+++ b/src/browser/js/app/widgets/plots/eq.js
@@ -21,6 +21,7 @@ module.exports.options = {
filters:[],
resolution:128,
rangeY: {min:-20,max:20},
+ origin: 'auto',
logScaleX: false,
separator3:'osc',
diff --git a/src/browser/js/app/widgets/plots/plot.js b/src/browser/js/app/widgets/plots/plot.js
index 45aa9af1..9c26e4ec 100644
--- a/src/browser/js/app/widgets/plots/plot.js
+++ b/src/browser/js/app/widgets/plots/plot.js
@@ -20,6 +20,7 @@ module.exports.options = {
points:[],
rangeX: {min:0,max:1},
rangeY: {min:0,max:1},
+ origin: 'auto',
logScaleX: false,
logScaleY: false,
diff --git a/src/browser/js/app/widgets/plots/visualizer.js b/src/browser/js/app/widgets/plots/visualizer.js
index cd5f3bd8..eeff6e0d 100644
--- a/src/browser/js/app/widgets/plots/visualizer.js
+++ b/src/browser/js/app/widgets/plots/visualizer.js
@@ -20,6 +20,7 @@ module.exports.options = {
widgetId:'',
duration:1,
range: {min:0,max:1},
+ origin: 'auto',
logScale: false,
separator3:'osc',
@@ -34,8 +35,7 @@ var Visualizer = function(widgetData) {
this.pips.y.min = Math.abs(widgetData.range.min)>=1000?widgetData.range.min/1000+'k':widgetData.range.min
this.pips.y.max = Math.abs(widgetData.range.max)>=1000?widgetData.range.max/1000+'k':widgetData.range.max
- this.pips.x.min = ''
- this.pips.x.max = ''
+ this.pips.x = false
this.length = Math.round(clip(60*widgetData.duration,[8,4096]))
this.data = new Array(this.length)
this.value = widgetData.range.min
@@ -77,10 +77,10 @@ Visualizer.prototype.draw_data = function(){
var first = true
var point = []
- for (var i=this.length-1;i>=0;i=i-1) {
+ for (var i=0;i
Date: Tue, 11 Oct 2016 22:44:57 +0200
Subject: [PATCH 0059/5523] log: plots `origin`
---
CHANGELOG.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3bde8ee1..ab8c0041 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog
+## next
+
+- widgets
+ - remove margins from `plots`
+ - added `origin` options to `plots`
+
## 0.8.0
- main
From b3b266047021cd9e0a5aa506bef1034e94ac3a77 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 11 Oct 2016 22:56:20 +0200
Subject: [PATCH 0060/5523] fader: fix broken horizontal + not compact mode
(missing argument in a drawing function)
---
CHANGELOG.md | 4 +++-
src/browser/js/app/widgets/sliders/fader.js | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ab8c0041..8118fcba 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,9 @@
# Changelog
-## next
+## 0.8.1
+- bug
+ - broken `fader` with `horizontal` set to `true` and `compact` set to `false`
- widgets
- remove margins from `plots`
- added `origin` options to `plots`
diff --git a/src/browser/js/app/widgets/sliders/fader.js b/src/browser/js/app/widgets/sliders/fader.js
index 1e080107..fffa5093 100644
--- a/src/browser/js/app/widgets/sliders/fader.js
+++ b/src/browser/js/app/widgets/sliders/fader.js
@@ -192,12 +192,12 @@ Fader.prototype.draw = function(){
this.ctx.save()
this.ctx.globalAlpha = 0.3
- this.ctx.arc(d + this.margin * PXSCALE, this.height / 2, 10 * PXSCALE, Math.PI * 2)
+ this.ctx.arc(d + this.margin * PXSCALE, this.height / 2, 10 * PXSCALE, Math.PI * 2, false)
this.ctx.fill()
this.ctx.restore()
this.ctx.beginPath()
- this.ctx.arc(d + this.margin * PXSCALE, this.height / 2, 4 * PXSCALE, Math.PI * 2)
+ this.ctx.arc(d + this.margin * PXSCALE, this.height / 2, 4 * PXSCALE, Math.PI * 2, false)
this.ctx.fill()
}
From 4f502f6120eb8e81dc6faa981787d933c4152f9a Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 12 Oct 2016 08:49:59 +0200
Subject: [PATCH 0061/5523] log and doc: type are set with osc typetags, not js
typestrings
---
CHANGELOG.md | 1 +
resources/docs/user-guide/widgets-generics.md | 12 ++++++++++--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8118fcba..cc88f72e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,7 @@
- removed special `false` value case for push/toggles (which used to disable osc sending)
- add `norelease` option to `push` for disabling osc messages when releasing the button
- `true` and `false` values are now properly sent as boolean
+ - **args type definition** in `preArgs` option now uses the osc typetags only ('f', 'i', 'T', 'F', etc)
- engine
- electron 1.4.3
- misc
diff --git a/resources/docs/user-guide/widgets-generics.md b/resources/docs/user-guide/widgets-generics.md
index a3f3d733..2fc1d5e6 100644
--- a/resources/docs/user-guide/widgets-generics.md
+++ b/resources/docs/user-guide/widgets-generics.md
@@ -103,12 +103,20 @@ preArgs: [
0.5, // this will be sent as an integer if precision equals 0
1, // this will be sent as float if precision is different from 0
{
- type:"float",
+ type:"f",
value:0.5
},
{
- type:"integer",
+ type:"i",
value:1
+ },
+ {
+ type:"T",
+ value:true
+ },
+ {
+ type:"F",
+ value:false
}
]
```
From 2b92e1805f05b40e8a1eaae7c9476e1447fb00d4 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 12 Oct 2016 09:07:07 +0200
Subject: [PATCH 0062/5523] osc: sanitize typetag before sending
---
CHANGELOG.md | 7 ++++++-
app/main/osc.js | 13 ++++++++++++-
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cc88f72e..2a4c7823 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog
+## next
+
+- bug
+ - avoid crash when sending osc with incorrect typetags
+
## 0.8.1
- bug
@@ -21,7 +26,7 @@
- removed special `false` value case for push/toggles (which used to disable osc sending)
- add `norelease` option to `push` for disabling osc messages when releasing the button
- `true` and `false` values are now properly sent as boolean
- - **args type definition** in `preArgs` option now uses the osc typetags only ('f', 'i', 'T', 'F', etc)
+ - **args type definition** in `preArgs` option now uses the osc typetags only ('f', 'i', 'T', 'F', etc)
- engine
- electron 1.4.3
- misc
diff --git a/app/main/osc.js b/app/main/osc.js
index 1481bf86..96a14971 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -28,6 +28,17 @@ oscServer.on('error', function (error) {
oscServer.open()
+var parseType = function(type){
+ var t = type[0].match(/[bhtdscrmTFNI]/)
+
+ if (t!==null) {
+ return t[0]
+ } else {
+ return 's'
+ }
+
+}
+
var parseArg = function(arg,precision){
if (arg==null) return null
switch (typeof arg) {
@@ -36,7 +47,7 @@ var parseArg = function(arg,precision){
case 'boolean':
return {type: arg ? 'T' : 'F', value: arg}
case 'object':
- return {type: arg.type, value: arg.value}
+ return {type: parseType(arg.type), value: arg.value}
default:
return {type: 'string', value:String(arg)}
}
From 1e4d2ea313b202189be1ae3a03343bdef7fc9c7c Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 12 Oct 2016 09:10:11 +0200
Subject: [PATCH 0063/5523] osc: fix fallback typetag ('s' instead of 'string)
---
CHANGELOG.md | 3 ++-
app/main/osc.js | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2a4c7823..0655d21d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,9 +1,10 @@
# Changelog
-## next
+## 0.8.2
- bug
- avoid crash when sending osc with incorrect typetags
+ - fixed fallback typetag ('s')
## 0.8.1
diff --git a/app/main/osc.js b/app/main/osc.js
index 96a14971..49da96e3 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -49,7 +49,7 @@ var parseArg = function(arg,precision){
case 'object':
return {type: parseType(arg.type), value: arg.value}
default:
- return {type: 'string', value:String(arg)}
+ return {type: 's', value:String(arg)}
}
}
From 80f21e6e7ededf8734031e0b618122540d428f04 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 12 Oct 2016 09:23:38 +0200
Subject: [PATCH 0064/5523] package: bump 0.8.2
---
app/package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/package.json b/app/package.json
index 65a88cc6..07a2056c 100644
--- a/app/package.json
+++ b/app/package.json
@@ -2,7 +2,7 @@
"name": "open-stage-control",
"productName": "Open Stage Control",
"description": "A libre desktop OSC bi-directionnal control surface application.",
- "version": "0.8.0",
+ "version": "0.8.2",
"main": "index.js",
"author": {
"name": "Jean-Emmanuel Doucet / AMMD",
From c043b6145d0239a17feb3fb3e51fe21bd5efeca2 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 12 Oct 2016 09:40:23 +0200
Subject: [PATCH 0065/5523] buttons: fix broken `null` & remove switch old
animation code
---
CHANGELOG.md | 1 +
src/browser/js/app/widgets/push.js | 12 ++++++------
src/browser/js/app/widgets/switch.js | 5 +----
src/browser/js/app/widgets/toggle.js | 8 ++++----
4 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0655d21d..9c0841c8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@
- bug
- avoid crash when sending osc with incorrect typetags
- fixed fallback typetag ('s')
+ - fixed broken `null` value for `push` & `toggle`
## 0.8.1
diff --git a/src/browser/js/app/widgets/push.js b/src/browser/js/app/widgets/push.js
index 275cf60d..a3c325fb 100644
--- a/src/browser/js/app/widgets/push.js
+++ b/src/browser/js/app/widgets/push.js
@@ -59,19 +59,19 @@ module.exports.create = function(widgetData,container) {
widget.getValue = function() {
return widget[widget.lastChanged] ?
- widgetData.on.value !== undefined ? widgetData.on.value : widgetData.on
+ widgetData.on != null && widgetData.on.value !== undefined ? widgetData.on.value : widgetData.on
:
- widgetData.off.value !== undefined ? widgetData.off.value : widgetData.off
+ widgetData.off != null && widgetData.off.value !== undefined ? widgetData.off.value : widgetData.off
}
widget.setValuePrivate = function(v,options={}) {
- if (v===widgetData.on || (v.value === widgetData.on.value && v.value !== undefined)) {
+ if (v===widgetData.on || (widgetData.on != null && v.value === widgetData.on.value && v.value !== undefined)) {
widget.addClass('active')
widget.active = 1
if (options.send) widget.sendValue(v)
widget.lastChanged = 'active'
if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options:options})
- } else if (v===widgetData.off || (v.value === widgetData.off.value && v.value !== undefined)) {
+ } else if (v===widgetData.off || (widgetData.off != null && v.value === widgetData.off.value && v.value !== undefined)) {
widget.removeClass('active')
widget.active = 0
if (options.send) widget.sendValue(v, widgetData.norelease)
@@ -85,13 +85,13 @@ module.exports.create = function(widgetData,container) {
if (options.send || options.sync) widget.setValuePrivate(v,options)
return
}
- if (v===widgetData.on || (v.value === widgetData.on.value && v.value !== undefined)) {
+ if (v===widgetData.on || (widgetData.on != null && v.value === widgetData.on.value && v.value !== undefined)) {
widget.addClass('on')
widget.state = 1
if (options.send) widget.sendValue(v)
widget.lastChanged = 'state'
if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId,options:options})
- } else if (v===widgetData.off || (v.value === widgetData.off.value && v.value !== undefined)) {
+ } else if (v===widgetData.off || (widgetData.off != null && v.value === widgetData.off.value && v.value !== undefined)) {
widget.removeClass('on')
widget.state = 0
if (options.send) widget.sendValue(v)
diff --git a/src/browser/js/app/widgets/switch.js b/src/browser/js/app/widgets/switch.js
index 5710ce9c..856c8862 100644
--- a/src/browser/js/app/widgets/switch.js
+++ b/src/browser/js/app/widgets/switch.js
@@ -60,10 +60,7 @@ module.exports.create = function(widgetData,container) {
if (i!=-1) {
widget.value = widget.values[i]
widget.find('.on').removeClass('on')
- widget.find('.value').eq(i).addClass('on').removeClass('ripple').addClass('ripple').delay(250).queue(function(next){
- $(this).removeClass('ripple')
- next()
- })
+ widget.find('.value').eq(i).addClass('on')
if (options.send) widget.sendValue(widget.value)
if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
}
diff --git a/src/browser/js/app/widgets/toggle.js b/src/browser/js/app/widgets/toggle.js
index ee1d31a6..c8ceb888 100644
--- a/src/browser/js/app/widgets/toggle.js
+++ b/src/browser/js/app/widgets/toggle.js
@@ -56,16 +56,16 @@ module.exports.create = function(widgetData,container) {
widget.getValue = function() {
return widget.state ?
- widgetData.on.value !== undefined ? widgetData.on.value : widgetData.on
+ widgetData.on != null && widgetData.on.value !== undefined ? widgetData.on.value : widgetData.on
:
- widgetData.off.value !== undefined ? widgetData.off.value : widgetData.off
+ widgetData.off != null && widgetData.off.value !== undefined ? widgetData.off.value : widgetData.off
}
widget.setValue = function(v,options={}) {
- if (v===widgetData.on || (v.value === widgetData.on.value && v.value !== undefined)) {
+ if (v===widgetData.on || (widgetData.on != null && v.value === widgetData.on.value && v.value !== undefined)) {
widget.addClass('on')
widget.state = 1
if (options.send) widget.sendValue(widgetData.on)
- } else if (v===widgetData.off || (v.value === widgetData.off.value && v.value !== undefined)) {
+ } else if (v===widgetData.off || (widgetData.off != null && v.value === widgetData.off.value && v.value !== undefined)) {
widget.removeClass('on')
widget.state = 0
if (options.send) widget.sendValue(widgetData.off)
From d9fe63413251428359c09b7663f7e7b6d00417d7 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 12 Oct 2016 12:21:59 +0200
Subject: [PATCH 0066/5523] osc: add missing typetags
---
app/main/osc.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/main/osc.js b/app/main/osc.js
index 49da96e3..1910c0f5 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -29,7 +29,7 @@ oscServer.open()
var parseType = function(type){
- var t = type[0].match(/[bhtdscrmTFNI]/)
+ var t = type[0].match(/[bhtdscrmifTFNI]/)
if (t!==null) {
return t[0]
From 3383af6473282ce635277b7587a8f348b0606400 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 12 Oct 2016 20:18:09 +0200
Subject: [PATCH 0067/5523] ui: fix scrollbar arrows (use lines to draw them
instead of fontawesome icons, since webfonts can't be loaded in css data:svg)
---
src/browser/scss/_scrollbars.scss | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/browser/scss/_scrollbars.scss b/src/browser/scss/_scrollbars.scss
index bcfaf739..cd40f70f 100644
--- a/src/browser/scss/_scrollbars.scss
+++ b/src/browser/scss/_scrollbars.scss
@@ -31,8 +31,8 @@
}
}
-@mixin arrow($i) {
- background-image:url('data:image/svg+xml;utf8,');
+@mixin arrow($r) {
+ background-image:url('data:image/svg+xml;utf8,');
background-blend-mode: difference, normal;
}
@@ -52,26 +52,26 @@
&:decrement:start {
border-left:2rem solid var(--color-bg);
border-bottom:2rem solid var(--color-bg);
- @include arrow()
+ @include arrow(180)
}
&:increment:end {
border-left:2rem solid var(--color-bg);
border-top:2rem solid var(--color-bg);
- @include arrow()
+ @include arrow(0)
}
}
&:horizontal {
&:decrement:start {
border-right:2rem solid var(--color-bg);
border-top:2rem solid var(--color-bg);
- @include arrow()
+ @include arrow(90)
}
&:increment:end {
border-left:2rem solid var(--color-bg);
border-top:2rem solid var(--color-bg);
- @include arrow()
+ @include arrow(-90)
}
}
From 23f636d936ad1edb32b8925455f7b949ff05be90 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 12 Oct 2016 20:25:07 +0200
Subject: [PATCH 0068/5523] matrices: make all options available
---
CHANGELOG.md | 7 ++++
.../js/app/widgets/matrices/multifader.js | 42 +++++++++++--------
.../js/app/widgets/matrices/multipush.js | 23 +++++-----
.../js/app/widgets/matrices/multitoggle.js | 23 +++++-----
src/browser/scss/widgets/_matrices.scss | 3 ++
5 files changed, 59 insertions(+), 39 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9c0841c8..6368509c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## 0.8.3
+
+- bug fixes
+ - scrollbar arrows not showing
+- widgets
+ - matrices : all `fader`, `push` and `toggle` options are now available to `multifader`, `multipush` and `multitoggle`
+
## 0.8.2
- bug
diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js
index 38207ef4..f30d2989 100644
--- a/src/browser/js/app/widgets/matrices/multifader.js
+++ b/src/browser/js/app/widgets/matrices/multifader.js
@@ -16,16 +16,24 @@ module.exports.options = {
top:'auto',
width:'auto',
height:'auto',
- color:'auto',
+ alignRight:false,
+ horizontal:false,
+ noPip:true,
compact:false,
+ color:'auto',
css:'',
+ separator2:'behaviour',
- separator2:'osc',
+ snap:false,
+
+ separator3:'osc',
range:{min:0,max:1},
+ origin: 'auto',
logScale:false,
precision:2,
+ meter:false,
path:'auto',
preArgs:[],
target:[]
@@ -36,22 +44,22 @@ var Multifader = function(widgetData) {
_matrices_base.apply(this,arguments)
+ if (widgetData.horizontal) {
+ this.widget.addClass('horizontal')
+ }
+
+ var strData = JSON.stringify(widgetData)
+
for (var i=0;i
Date: Wed, 12 Oct 2016 20:57:22 +0200
Subject: [PATCH 0069/5523] matrices: remove debug log
---
src/browser/js/app/widgets/matrices/_matrices_base.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/browser/js/app/widgets/matrices/_matrices_base.js b/src/browser/js/app/widgets/matrices/_matrices_base.js
index 9cd995ea..05b43e68 100644
--- a/src/browser/js/app/widgets/matrices/_matrices_base.js
+++ b/src/browser/js/app/widgets/matrices/_matrices_base.js
@@ -11,7 +11,6 @@ var _matrices_base = module.exports = function(widgetData){
this.value = []
this.widget.getValue = function(){
- console.log(this.value)
return this.value
}.bind(this)
From e8db2543b107cf0650984dc446f55a7dd65ebe7b Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 12 Oct 2016 21:06:01 +0200
Subject: [PATCH 0070/5523] matrices: complete matrices options and add
`traversing` option
---
.../user-guide/widgets-specifics/matrices.md | 38 +++++++++----------
.../js/app/widgets/matrices/_matrices_base.js | 1 -
.../js/app/widgets/matrices/multifader.js | 8 +++-
.../js/app/widgets/matrices/multipush.js | 10 ++++-
.../js/app/widgets/matrices/multitoggle.js | 20 ++++++----
5 files changed, 46 insertions(+), 31 deletions(-)
diff --git a/resources/docs/user-guide/widgets-specifics/matrices.md b/resources/docs/user-guide/widgets-specifics/matrices.md
index 3fdca0ee..b35c6e4d 100644
--- a/resources/docs/user-guide/widgets-specifics/matrices.md
+++ b/resources/docs/user-guide/widgets-specifics/matrices.md
@@ -21,18 +21,13 @@ Multifader creates a row of vertical faders that respond to the same gestures.
- `label`: `i`
- `path`: same as the widget's with `/i` appended to it
+#### `traversing`
+- type: `boolean`
+- default: `true`
+- usage: enable traversing gestures
-#### `range`
-- see fader's [`range`](sliders/#fader)
-
-#### `logScale`
-- see fader's [`logScale`](sliders/#fader)
-
-#### `unit`
-- see fader's [`unit`](sliders/#fader)
-
-#### `compact`
-- see fader's [`compact`](sliders/#fader)
+#### `options`
+- see fader's [`options`](sliders/#fader)
----
@@ -53,12 +48,13 @@ Multifader creates a row of vertical faders that respond to the same gestures.
- `label`: `i`
- `path`: same as the widget's with `/i` appended to it
+#### `traversing`
+- type: `boolean`
+- default: `true`
+- usage: enable traversing gestures
-#### `on`
-- see toggle's [`on`](buttons/#toggle)
-
-#### `off`
-- see toggle's [`off`](buttons/#toggle)
+#### `options`
+- see toggle's [`options`](buttons/#toggle)
----
@@ -78,9 +74,11 @@ Multifader creates a row of vertical faders that respond to the same gestures.
- `label`: `i`
- `path`: same as the widget's with `/i` appended to it
+#### `traversing`
+- type: `boolean`
+- default: `true`
+- usage: enable traversing gestures
-#### `on`
-- see push's [`on`](buttons/#push)
-#### `off`
-- see push's [`off`](buttons/#push)
+#### `options`
+- see push's [`options`](buttons/#push)
diff --git a/src/browser/js/app/widgets/matrices/_matrices_base.js b/src/browser/js/app/widgets/matrices/_matrices_base.js
index 05b43e68..533fa14e 100644
--- a/src/browser/js/app/widgets/matrices/_matrices_base.js
+++ b/src/browser/js/app/widgets/matrices/_matrices_base.js
@@ -20,7 +20,6 @@ var _matrices_base = module.exports = function(widgetData){
this.widget.trigger({type:'sync',id:this.widgetData.id,widget:this.widget})
}.bind(this))
- this.widget.enableTraversingGestures()
}
diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js
index f30d2989..09cd8386 100644
--- a/src/browser/js/app/widgets/matrices/multifader.js
+++ b/src/browser/js/app/widgets/matrices/multifader.js
@@ -25,7 +25,7 @@ module.exports.options = {
separator2:'behaviour',
- snap:false,
+ traversing:true,
separator3:'osc',
@@ -63,11 +63,15 @@ var Multifader = function(widgetData) {
var element = parsewidgets([data],this.widget)
element[0].setAttribute('style',`width:${100/widgetData.strips}%`)
element[0].classList.add('not-editable')
- element.find('.fader-wrapper').off('drag')
+
+ if (widgetData.traversing) element.find('.fader-wrapper').off('drag')
this.value[i] = widgetData.range.min
}
+
+ if (widgetData.traversing) this.widget.enableTraversingGestures()
+
}
Multifader.prototype = Object.create(_matrices_base.prototype)
diff --git a/src/browser/js/app/widgets/matrices/multipush.js b/src/browser/js/app/widgets/matrices/multipush.js
index 774c922e..0f9395ec 100644
--- a/src/browser/js/app/widgets/matrices/multipush.js
+++ b/src/browser/js/app/widgets/matrices/multipush.js
@@ -18,10 +18,15 @@ module.exports.options = {
color:'auto',
css:'',
- separator2:'osc',
+ separator2:'behaviour',
+
+ traversing:true,
+
+ separator3:'osc',
on:1,
off:0,
+ norelease:false,
precision:2,
path:'auto',
preArgs:[],
@@ -54,6 +59,9 @@ var Multipush = function(widgetData) {
}
+ if (widgetData.traversing) this.widget.enableTraversingGestures()
+
+
}
Multipush.prototype = Object.create(_matrices_base.prototype)
diff --git a/src/browser/js/app/widgets/matrices/multitoggle.js b/src/browser/js/app/widgets/matrices/multitoggle.js
index 94bc2d7f..3dae2107 100644
--- a/src/browser/js/app/widgets/matrices/multitoggle.js
+++ b/src/browser/js/app/widgets/matrices/multitoggle.js
@@ -18,7 +18,11 @@ module.exports.options = {
color:'auto',
css:'',
- separator2:'osc',
+ separator2:'behaviour',
+
+ traversing:true,
+
+ separator3:'osc',
on:1,
off:0,
@@ -37,13 +41,13 @@ var Multitoggle = function(widgetData) {
for (var i=0;i
Date: Wed, 12 Oct 2016 21:10:40 +0200
Subject: [PATCH 0071/5523] ui: reduce scrollbar arrow size
---
src/browser/scss/_scrollbars.scss | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/browser/scss/_scrollbars.scss b/src/browser/scss/_scrollbars.scss
index cd40f70f..c699515f 100644
--- a/src/browser/scss/_scrollbars.scss
+++ b/src/browser/scss/_scrollbars.scss
@@ -32,7 +32,7 @@
}
@mixin arrow($r) {
- background-image:url('data:image/svg+xml;utf8,');
+ background-image:url('data:image/svg+xml;utf8,');
background-blend-mode: difference, normal;
}
From dcefee581e0b018915ba3ccc11121e00b1505a05 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 12 Oct 2016 21:20:16 +0200
Subject: [PATCH 0072/5523] multifader: fix horizontal mode
---
.../js/app/widgets/matrices/multifader.js | 2 +-
src/browser/scss/widgets/_matrices.scss | 25 +++++++++++++++++++
2 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js
index 09cd8386..e599b69a 100644
--- a/src/browser/js/app/widgets/matrices/multifader.js
+++ b/src/browser/js/app/widgets/matrices/multifader.js
@@ -61,7 +61,7 @@ var Multifader = function(widgetData) {
data.path = widgetData.path + '/' + i
var element = parsewidgets([data],this.widget)
- element[0].setAttribute('style',`width:${100/widgetData.strips}%`)
+ element[0].setAttribute('style',`${widgetData.horizontal?'height':'width'}:${100/widgetData.strips}%`)
element[0].classList.add('not-editable')
if (widgetData.traversing) element.find('.fader-wrapper').off('drag')
diff --git a/src/browser/scss/widgets/_matrices.scss b/src/browser/scss/widgets/_matrices.scss
index bbbf7381..34f103a4 100644
--- a/src/browser/scss/widgets/_matrices.scss
+++ b/src/browser/scss/widgets/_matrices.scss
@@ -33,6 +33,31 @@
align-items:stretch;
&.horizontal {
flex-direction: column;
+ .fader-container {
+ flex-direction: row;
+ width: 100%;
+ .fader {
+ width:100%;
+ }
+ .label {
+ width:35rem;
+ height:100%;
+ border-bottom:0;
+ border-right:1rem solid var(--color-bg);
+ max-height: initial;
+ span {
+ transform: rotate(180deg);
+ display: block;
+ position: relative;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ -webkit-writing-mode:vertical-lr;
+ text-align: center;
+ height:100%;
+ }
+ }
+ }
+
}
}
.widget {
From 6517b86cb5629dc344250d63fcac0f4c549023d0 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 12 Oct 2016 21:27:08 +0200
Subject: [PATCH 0073/5523] fader: fix meter position when pips are hidden
---
CHANGELOG.md | 1 +
src/browser/scss/widgets/_fader.scss | 17 ++++++++++++++++-
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6368509c..7ff8e487 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@
- bug fixes
- scrollbar arrows not showing
+ - `fader` pips position when `noPip` is `true`
- widgets
- matrices : all `fader`, `push` and `toggle` options are now available to `multifader`, `multipush` and `multitoggle`
diff --git a/src/browser/scss/widgets/_fader.scss b/src/browser/scss/widgets/_fader.scss
index 1b93811d..122e4d0b 100644
--- a/src/browser/scss/widgets/_fader.scss
+++ b/src/browser/scss/widgets/_fader.scss
@@ -40,7 +40,16 @@
}
}
-
+ &:not(.has-pip):not(.compact) {
+ .meter-container {
+ margin-left: 15rem;
+ }
+ &.align-right {
+ .meter-container {
+ margin-left: -18rem;
+ }
+ }
+ }
&.has-pips {
.wrapper canvas {
@@ -185,6 +194,12 @@
left: auto;
right:0;
}
+ &.align-right {
+ .meter-container {
+ right: auto;
+ left:0;
+ }
+ }
&.horizontal {
.meter-container {
top: auto;
From 251091c4dc59c358ed5b3e1812fc19121a02b7f4 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 12 Oct 2016 21:34:22 +0200
Subject: [PATCH 0074/5523] ui: fix horizontal multifader label centering (use
flexbox to center widgets labels)
---
src/browser/scss/_widgets.scss | 3 ++-
src/browser/scss/widgets/_matrices.scss | 1 -
src/browser/scss/widgets/_strip.scss | 1 -
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/browser/scss/_widgets.scss b/src/browser/scss/_widgets.scss
index 8ef12cb5..12fe3b87 100644
--- a/src/browser/scss/_widgets.scss
+++ b/src/browser/scss/_widgets.scss
@@ -42,7 +42,8 @@
background: var(--color-raised);
border-bottom:1rem solid var(--color-bg);
flex-shrink: 0;
-
+ display: flex;
+ justify-content: space-around;
&.accent {
color:var(--color-accent);
}
diff --git a/src/browser/scss/widgets/_matrices.scss b/src/browser/scss/widgets/_matrices.scss
index 34f103a4..5d35aa44 100644
--- a/src/browser/scss/widgets/_matrices.scss
+++ b/src/browser/scss/widgets/_matrices.scss
@@ -53,7 +53,6 @@
text-overflow: ellipsis;
-webkit-writing-mode:vertical-lr;
text-align: center;
- height:100%;
}
}
}
diff --git a/src/browser/scss/widgets/_strip.scss b/src/browser/scss/widgets/_strip.scss
index ba8c0b1f..97888f78 100644
--- a/src/browser/scss/widgets/_strip.scss
+++ b/src/browser/scss/widgets/_strip.scss
@@ -74,7 +74,6 @@
text-overflow: ellipsis;
-webkit-writing-mode:vertical-lr;
text-align: center;
- height:100%;
}
}
From 2ae0b451e37cd21c4ebb8af885b3b3ce3ef558fa Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 12 Oct 2016 22:46:57 +0200
Subject: [PATCH 0075/5523] package: bump 0.8.3
---
app/package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/package.json b/app/package.json
index 07a2056c..2298d227 100644
--- a/app/package.json
+++ b/app/package.json
@@ -2,7 +2,7 @@
"name": "open-stage-control",
"productName": "Open Stage Control",
"description": "A libre desktop OSC bi-directionnal control surface application.",
- "version": "0.8.2",
+ "version": "0.8.3",
"main": "index.js",
"author": {
"name": "Jean-Emmanuel Doucet / AMMD",
From af333d1dbddb8fbf48da432adcc12daee9dc4e42 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 13 Oct 2016 14:55:42 +0200
Subject: [PATCH 0076/5523] docs: add armv7l build info, fixes #30
---
resources/docs/getting-started.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/docs/getting-started.md b/resources/docs/getting-started.md
index 06a5862a..9b3e715e 100644
--- a/resources/docs/getting-started.md
+++ b/resources/docs/getting-started.md
@@ -98,7 +98,7 @@ $ git clone https://github.com/jean-emmanuel/open-stage-control
$ cd open-stage-control
$ npm install
$ export PLATFORM=TARGET_PLATFORM # TARGET_PLATFORM can be linux, win32 (windows) or darwin (os x)
-$ export ARCH=TARGET_ARCH # TARGET_ARCH can be ia32 or x64
+$ export ARCH=TARGET_ARCH # TARGET_ARCH can be ia32, x64 or armv7l
$ npm run build
$ # Do the following if you want a deb package for debian/ubuntu
From 88af3c17595b90ef919fba9363d8571b3f340f66 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 17 Oct 2016 16:24:29 +0200
Subject: [PATCH 0077/5523] 0.8.3
---
package.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package.json b/package.json
index d5cdce5e..c3487aea 100644
--- a/package.json
+++ b/package.json
@@ -23,5 +23,6 @@
"build-js": "browserify src/browser/js/browser.js -o app/browser/scripts.js",
"deploy-docs": "cd resources && mkdocs gh-deploy --clean && rm -rf site",
"test": "npm run build"
- }
+ },
+ "version": "0.8.3"
}
From 9c44a66e38fae0c0f5451c3f3d515f6671cb9219 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 17 Oct 2016 16:29:07 +0200
Subject: [PATCH 0078/5523] git: ignore dist folder
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index 843f7a92..d8389896 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
node_modules
+dist
From ef7605c4634cb94b454b708288cc7a7707d5eca1 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 17 Oct 2016 16:36:57 +0200
Subject: [PATCH 0079/5523] package: rename meta / builder package
---
package.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package.json b/package.json
index c3487aea..902fe024 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
- "name": "open-stage-control-dev",
- "description": "This is the dev package, see ./app/package.json",
+ "name": "open-stage-control-builder",
+ "description": "This is the builder package, see ./app/package.json",
"dependencies": {
"electron": "1.4.3",
"browserify": "13.1.0",
From 309adcc32e3853deecd85ef2922451a45f445d94 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 17 Oct 2016 16:41:51 +0200
Subject: [PATCH 0080/5523] package: add description to builder package
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 902fe024..e5e5b3e3 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "open-stage-control-builder",
- "description": "This is the builder package, see ./app/package.json",
+ "description": "A libre desktop OSC bi-directionnal control surface application - builder package",
"dependencies": {
"electron": "1.4.3",
"browserify": "13.1.0",
From 37aa79b065063f65892d8c3ae04499dd51d7c3de Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 17 Oct 2016 16:42:40 +0200
Subject: [PATCH 0081/5523] 0.8.4
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index e5e5b3e3..d3a12bda 100644
--- a/package.json
+++ b/package.json
@@ -24,5 +24,5 @@
"deploy-docs": "cd resources && mkdocs gh-deploy --clean && rm -rf site",
"test": "npm run build"
},
- "version": "0.8.3"
+ "version": "0.8.4"
}
From 9a56c4e951f96b5d0af59423fb58d8f746a04a46 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 17 Oct 2016 16:43:21 +0200
Subject: [PATCH 0082/5523] 0.8.3
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index d3a12bda..e5e5b3e3 100644
--- a/package.json
+++ b/package.json
@@ -24,5 +24,5 @@
"deploy-docs": "cd resources && mkdocs gh-deploy --clean && rm -rf site",
"test": "npm run build"
},
- "version": "0.8.4"
+ "version": "0.8.3"
}
From a819e6ddc0bfc18dd98ae0683a5a9c59fdd57bad Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 17 Oct 2016 17:14:53 +0200
Subject: [PATCH 0083/5523] Readme: absolute urls
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index e48a38e0..a001c3a7 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-#
Open Stage Control
+#
Open Stage Control
Open Stage Control is a libre desktop OSC bi-directionnal control surface application. It's built with HTML, JavaScript & CSS and run as a Node / [Electron](http://electron.atom.io/) web server that accepts any number of Chrome / Chromium / Electron clients.
@@ -6,7 +6,7 @@ Open Stage Control is a libre desktop OSC bi-directionnal control surface applic
[Read the documentation](http://jean-emmanuel.github.io/open-stage-control/)
-*The docs' sources are located in [resources/](resources/)*
+*The docs' sources are located in [resources/](https://github.com/jean-emmanuel/open-stage-control/blob/master/resources)*
## Download
From cb4cd90e776bd128c58a52e0ea2f914d0acec86a Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Mon, 17 Oct 2016 17:21:34 +0200
Subject: [PATCH 0084/5523] package: patch increment before npm publish
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index e5e5b3e3..6cc1bbcc 100644
--- a/package.json
+++ b/package.json
@@ -24,5 +24,5 @@
"deploy-docs": "cd resources && mkdocs gh-deploy --clean && rm -rf site",
"test": "npm run build"
},
- "version": "0.8.3"
+ "version": "0.8.3-1"
}
From 2fe2ed790ff53ef5685fbc5770926c459582d653 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 00:37:58 +0200
Subject: [PATCH 0085/5523] widgets: export widget's classes in modules defs
---
src/browser/js/app/widgets/matrices/multifader.js | 2 +-
src/browser/js/app/widgets/matrices/multipush.js | 2 +-
src/browser/js/app/widgets/matrices/multitoggle.js | 2 +-
src/browser/js/app/widgets/plots/eq.js | 2 +-
src/browser/js/app/widgets/plots/plot.js | 2 +-
src/browser/js/app/widgets/plots/visualizer.js | 2 +-
src/browser/js/app/widgets/sliders/fader.js | 2 +-
src/browser/js/app/widgets/sliders/knob.js | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js
index e599b69a..5d48a7ba 100644
--- a/src/browser/js/app/widgets/matrices/multifader.js
+++ b/src/browser/js/app/widgets/matrices/multifader.js
@@ -40,7 +40,7 @@ module.exports.options = {
}
-var Multifader = function(widgetData) {
+var Multifader = module.exports.Multifader = function(widgetData) {
_matrices_base.apply(this,arguments)
diff --git a/src/browser/js/app/widgets/matrices/multipush.js b/src/browser/js/app/widgets/matrices/multipush.js
index 0f9395ec..d985e073 100644
--- a/src/browser/js/app/widgets/matrices/multipush.js
+++ b/src/browser/js/app/widgets/matrices/multipush.js
@@ -34,7 +34,7 @@ module.exports.options = {
}
-var Multipush = function(widgetData) {
+var Multipush = module.exports.Multipush = function(widgetData) {
_matrices_base.apply(this,arguments)
diff --git a/src/browser/js/app/widgets/matrices/multitoggle.js b/src/browser/js/app/widgets/matrices/multitoggle.js
index 3dae2107..25a3cf1f 100644
--- a/src/browser/js/app/widgets/matrices/multitoggle.js
+++ b/src/browser/js/app/widgets/matrices/multitoggle.js
@@ -32,7 +32,7 @@ module.exports.options = {
target:[]
}
-var Multitoggle = function(widgetData) {
+var Multitoggle = module.exports.Multitoggle = function(widgetData) {
_matrices_base.apply(this,arguments)
diff --git a/src/browser/js/app/widgets/plots/eq.js b/src/browser/js/app/widgets/plots/eq.js
index df99d600..352dee7e 100644
--- a/src/browser/js/app/widgets/plots/eq.js
+++ b/src/browser/js/app/widgets/plots/eq.js
@@ -31,7 +31,7 @@ module.exports.options = {
}
-var Eq = function(widgetData) {
+var Eq = module.exports.Eq = function(widgetData) {
_plots_base.call(this,widgetData)
diff --git a/src/browser/js/app/widgets/plots/plot.js b/src/browser/js/app/widgets/plots/plot.js
index 9c26e4ec..dd1a2bc7 100644
--- a/src/browser/js/app/widgets/plots/plot.js
+++ b/src/browser/js/app/widgets/plots/plot.js
@@ -31,7 +31,7 @@ module.exports.options = {
}
-var Plot = function(widgetData) {
+var Plot = module.exports.Plot = function(widgetData) {
_plots_base.call(this,widgetData)
diff --git a/src/browser/js/app/widgets/plots/visualizer.js b/src/browser/js/app/widgets/plots/visualizer.js
index eeff6e0d..5bb49a2e 100644
--- a/src/browser/js/app/widgets/plots/visualizer.js
+++ b/src/browser/js/app/widgets/plots/visualizer.js
@@ -29,7 +29,7 @@ module.exports.options = {
preArgs:[],
}
-var Visualizer = function(widgetData) {
+var Visualizer = module.exports.Visualizer = function(widgetData) {
_plots_base.call(this,widgetData)
diff --git a/src/browser/js/app/widgets/sliders/fader.js b/src/browser/js/app/widgets/sliders/fader.js
index fffa5093..7516ef6b 100644
--- a/src/browser/js/app/widgets/sliders/fader.js
+++ b/src/browser/js/app/widgets/sliders/fader.js
@@ -38,7 +38,7 @@ module.exports.options = {
target:[]
}
-var Fader = function(widgetData){
+var Fader = module.exports.Fader = function(widgetData){
_sliders_base.apply(this,arguments)
this.widget.addClass('fader')
diff --git a/src/browser/js/app/widgets/sliders/knob.js b/src/browser/js/app/widgets/sliders/knob.js
index 767c8ab2..34b06991 100644
--- a/src/browser/js/app/widgets/sliders/knob.js
+++ b/src/browser/js/app/widgets/sliders/knob.js
@@ -38,7 +38,7 @@ module.exports.options = {
-Knob = function(widgetData) {
+var Knob = module.exports.Knob = function(widgetData) {
_sliders_base.apply(this,arguments)
From 92fc881cbe0bf5c0683012e033968bd6b95d78a0 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 00:39:52 +0200
Subject: [PATCH 0086/5523] pads: wip pads rewriting: add base class, fake
slider (to handle user inputs) and xy
---
src/browser/js/app/widgets.js | 3 +-
.../js/app/widgets/pads/_fake_fader.js | 13 +++
src/browser/js/app/widgets/pads/_pads_base.js | 37 ++++++++
src/browser/js/app/widgets/pads/xy.js | 87 +++++++++++++++++++
src/browser/scss/widgets/_pads.scss | 27 ++++++
5 files changed, 166 insertions(+), 1 deletion(-)
create mode 100644 src/browser/js/app/widgets/pads/_fake_fader.js
create mode 100644 src/browser/js/app/widgets/pads/_pads_base.js
create mode 100644 src/browser/js/app/widgets/pads/xy.js
diff --git a/src/browser/js/app/widgets.js b/src/browser/js/app/widgets.js
index 138163da..24de2619 100644
--- a/src/browser/js/app/widgets.js
+++ b/src/browser/js/app/widgets.js
@@ -9,6 +9,7 @@ var widgets = {
push: require('./widgets/push'),
// pads
+ test: require('./widgets/pads/xy'),
xy: require('./widgets/xy'),
rgb: require('./widgets/rgb'),
@@ -33,7 +34,7 @@ var widgets = {
module.exports.categories = {
'Sliders':['fader','knob'],
'Buttons':['toggle','push','switch'],
- 'Pads':['xy','rgb'],
+ 'Pads':['test','xy','rgb'],
'Matrices':['multifader','multitoggle','multipush'],
'Plots':['plot','eq','visualizer','led','meter','text'],
'Containers':['panel','strip']
diff --git a/src/browser/js/app/widgets/pads/_fake_fader.js b/src/browser/js/app/widgets/pads/_fake_fader.js
new file mode 100644
index 00000000..47f7b4c6
--- /dev/null
+++ b/src/browser/js/app/widgets/pads/_fake_fader.js
@@ -0,0 +1,13 @@
+var {Fader} = require('../sliders/fader')
+
+var _fake_fader = module.exports = function(){
+
+ Fader.apply(this, arguments)
+
+}
+
+_fake_fader.prototype = Object.create(Fader.prototype)
+
+_fake_fader.prototype.constructor = _fake_fader
+
+_fake_fader.prototype.sendValue = function(){}
diff --git a/src/browser/js/app/widgets/pads/_pads_base.js b/src/browser/js/app/widgets/pads/_pads_base.js
new file mode 100644
index 00000000..163b5d0c
--- /dev/null
+++ b/src/browser/js/app/widgets/pads/_pads_base.js
@@ -0,0 +1,37 @@
+var Fader = require('../sliders/fader')
+var _canvas_base = require('../common/_canvas_base')
+
+var _pads_base = module.exports = function(){
+
+ this.widget = $(`
+
+ `)
+ this.wrapper = this.widget.find('.wrapper')
+ // _canvas_base.apply(this, arguments)
+
+
+}
+
+_pads_base.prototype = Object.create(_canvas_base.prototype)
+
+_pads_base.prototype.constructor = _pads_base
+
+
+_pads_base.prototype.setValue = function(v,options={}) {
+ if (typeof v != 'number') return
+
+}
+
+
+
+_pads_base.prototype.sendValue = function(value) {
+
+}
+
+_pads_base.prototype.showValue = function() {
+ this.input.val(this.value + this.unit)
+}
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
new file mode 100644
index 00000000..5e2fd23d
--- /dev/null
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -0,0 +1,87 @@
+var _pads_base = require('./_pads_base'),
+ Fader = require('./_fake_fader')
+
+
+module.exports.options = {
+ type:'xy',
+ id:'auto',
+ linkId:'',
+
+ separator1:'style',
+
+ label:'auto',
+ left:'auto',
+ top:'auto',
+ width:'auto',
+ height:'auto',
+ color:'auto',
+ css:'',
+
+ separator2:'behaviour',
+
+ snap:false,
+
+ separator3:'osc',
+
+ rangeX:{min:0,max:1},
+ rangeY:{min:0,max:1},
+ logScaleX:false,
+ logScaleY:false,
+ precision:2,
+ path:'auto',
+ preArgs:[],
+ split:false,
+ target:[]
+}
+
+var Xy = function(widgetData) {
+
+ _pads_base.apply(this,arguments)
+
+ this.xFader = new Fader({
+ compact:true,
+ horizontal:true,
+ height:'100%',
+ width:'100%',
+ snap:widgetData.snap,
+ range:widgetData.rangeX,
+ precision:widgetData.precision
+ })
+ this.yFader = new Fader({
+ compact:true,
+ horizontal:false,
+ height:'100%',
+ width:'100%',
+ snap:widgetData.snap,
+ range:widgetData.rangeY,
+ precision:widgetData.precision
+
+ })
+
+ this.wrapper.append(this.xFader.widget)
+ this.wrapper.append(this.yFader.widget)
+
+ this.widget.on('sync',(data)=>{
+ // console.log('sync:',data.widget.getValue())
+ })
+
+ this.wrapper.on('draginit',(e, data, traversing)=>{
+ this.xFader.draginitHandleProxy(e, data, traversing)
+ this.yFader.draginitHandleProxy(e, data, traversing)
+ })
+ this.wrapper.on('drag',(e, data, traversing)=>{
+ this.xFader.dragHandleProxy(e, data, traversing)
+ this.yFader.dragHandleProxy(e, data, traversing)
+ })
+
+}
+
+
+Xy.prototype = Object.create(_pads_base.prototype)
+
+Xy.prototype.constructor = Xy
+
+module.exports.create = function(widgetData) {
+ var xy = new Xy(widgetData)
+ return xy.widget
+}
diff --git a/src/browser/scss/widgets/_pads.scss b/src/browser/scss/widgets/_pads.scss
index 65e013b4..abe5877c 100644
--- a/src/browser/scss/widgets/_pads.scss
+++ b/src/browser/scss/widgets/_pads.scss
@@ -1,3 +1,30 @@
+.pad {
+ height:100%;
+ width: 100%;
+ overflow: hidden;
+ display: flex;
+ > .wrapper {
+ position: relative;
+ height: 100%;
+ width: 100%;
+ .fader {
+ --color-gauge:transparent;
+ --color-pips: var(--color-text-fade);
+ --color-knob: var(--color-custom);
+ pointer-events: none;
+ position: absolute;
+ width:100%;
+ height:100%;
+ .wrapper canvas {
+ background:transparent;
+ }
+ .input {
+ display: none;
+ }
+ }
+ }
+}
+
.xy-container, .rgb-container {
width:200rem;
height:250rem;
From 97b58abd06ad05fc38fed4dee2c6e428298edd75 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 01:02:14 +0200
Subject: [PATCH 0087/5523] pads: use widgets base instead of canvas base
---
src/browser/js/app/widgets/pads/_pads_base.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/_pads_base.js b/src/browser/js/app/widgets/pads/_pads_base.js
index 163b5d0c..fd84bb50 100644
--- a/src/browser/js/app/widgets/pads/_pads_base.js
+++ b/src/browser/js/app/widgets/pads/_pads_base.js
@@ -1,5 +1,5 @@
var Fader = require('../sliders/fader')
-var _canvas_base = require('../common/_canvas_base')
+var _widgets_base = require('../common/_widgets_base')
var _pads_base = module.exports = function(){
@@ -11,12 +11,12 @@ var _pads_base = module.exports = function(){
`)
this.wrapper = this.widget.find('.wrapper')
- // _canvas_base.apply(this, arguments)
+ _widgets_base.apply(this, arguments)
}
-_pads_base.prototype = Object.create(_canvas_base.prototype)
+_pads_base.prototype = Object.create(_widgets_base.prototype)
_pads_base.prototype.constructor = _pads_base
From b1a9752677610734153e0e8d41a904dedd0c68f9 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 01:04:45 +0200
Subject: [PATCH 0088/5523] xy: add sendosc
---
src/browser/js/app/widgets/pads/xy.js | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index 5e2fd23d..f689dd07 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -1,5 +1,7 @@
var _pads_base = require('./_pads_base'),
- Fader = require('./_fake_fader')
+ Fader = require('./_fake_fader'),
+ {sendOsc} = require('../utils')
+
module.exports.options = {
@@ -81,6 +83,18 @@ Xy.prototype = Object.create(_pads_base.prototype)
Xy.prototype.constructor = Xy
+Xy.prototype.sendValue = function() {
+ var args = this.widgetData.preArgs.concat(this.value)
+
+ sendOsc({
+ target:this.widgetData.target,
+ path:this.widgetData.path,
+ precision:this.widgetData.precision,
+ args:args
+ })
+
+}
+
module.exports.create = function(widgetData) {
var xy = new Xy(widgetData)
return xy.widget
From 9e2534c73b8ea297d78597c47968cfb1caff9248 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 01:05:12 +0200
Subject: [PATCH 0089/5523] xy: store faders in a object, value in an array
---
src/browser/js/app/widgets/pads/xy.js | 66 ++++++++++++++++-----------
1 file changed, 40 insertions(+), 26 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index f689dd07..4e3ab971 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -40,40 +40,54 @@ var Xy = function(widgetData) {
_pads_base.apply(this,arguments)
- this.xFader = new Fader({
- compact:true,
- horizontal:true,
- height:'100%',
- width:'100%',
- snap:widgetData.snap,
- range:widgetData.rangeX,
- precision:widgetData.precision
- })
- this.yFader = new Fader({
- compact:true,
- horizontal:false,
- height:'100%',
- width:'100%',
- snap:widgetData.snap,
- range:widgetData.rangeY,
- precision:widgetData.precision
+ this.value = []
- })
+ this.faders = {
+ x: new Fader({
+ id:0,
+ compact:true,
+ horizontal:true,
+ height:'100%',
+ width:'100%',
+ snap:widgetData.snap,
+ range:widgetData.rangeX,
+ precision:widgetData.precision
+ }),
+ y: new Fader({
+ id:1,
+ compact:true,
+ horizontal:false,
+ height:'100%',
+ width:'100%',
+ snap:widgetData.snap,
+ range:widgetData.rangeY,
+ precision:widgetData.precision
- this.wrapper.append(this.xFader.widget)
- this.wrapper.append(this.yFader.widget)
+ })
+ }
- this.widget.on('sync',(data)=>{
- // console.log('sync:',data.widget.getValue())
+ this.wrapper.append(this.faders.x.widget)
+ this.wrapper.append(this.faders.y.widget)
+
+ this.widget.on('sync',(e)=>{
+ e.stopPropagation()
+
+ var {id, widget} = e
+ var v = widget.getValue()
+
+ if (this.value[id] != v) {
+ this.value[id] = v
+ this.sendValue()
+ }
})
this.wrapper.on('draginit',(e, data, traversing)=>{
- this.xFader.draginitHandleProxy(e, data, traversing)
- this.yFader.draginitHandleProxy(e, data, traversing)
+ this.faders.x.draginitHandleProxy(e, data, traversing)
+ this.faders.y.draginitHandleProxy(e, data, traversing)
})
this.wrapper.on('drag',(e, data, traversing)=>{
- this.xFader.dragHandleProxy(e, data, traversing)
- this.yFader.dragHandleProxy(e, data, traversing)
+ this.faders.x.dragHandleProxy(e, data, traversing)
+ this.faders.y.dragHandleProxy(e, data, traversing)
})
}
From 7b30e093205faeeac7eb453feb08b1e9f7f7a20e Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 01:11:08 +0200
Subject: [PATCH 0090/5523] widgets: put sendOsc method in widgets base class
---
.../js/app/widgets/common/_widgets_base.js | 16 ++++++++++++++++
src/browser/js/app/widgets/pads/_pads_base.js | 6 ------
src/browser/js/app/widgets/pads/xy.js | 12 ------------
.../js/app/widgets/sliders/_sliders_base.js | 12 ------------
src/browser/js/app/widgets/sliders/knob.js | 2 --
src/browser/scss/widgets/_pads.scss | 1 +
6 files changed, 17 insertions(+), 32 deletions(-)
diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js
index d9602971..c23b29fc 100644
--- a/src/browser/js/app/widgets/common/_widgets_base.js
+++ b/src/browser/js/app/widgets/common/_widgets_base.js
@@ -1,3 +1,19 @@
+var {sendOsc} = require('../utils')
+
+
var _widget_base = module.exports = function(widgetData) {
this.widgetData = widgetData
}
+
+_widget_base.prototype.sendValue = function() {
+
+ var args = this.widgetData.preArgs.concat(this.value)
+
+ sendOsc({
+ target:this.widgetData.target,
+ path:this.widgetData.path,
+ precision:this.widgetData.precision,
+ args:args
+ })
+
+}
diff --git a/src/browser/js/app/widgets/pads/_pads_base.js b/src/browser/js/app/widgets/pads/_pads_base.js
index fd84bb50..c6f0cad3 100644
--- a/src/browser/js/app/widgets/pads/_pads_base.js
+++ b/src/browser/js/app/widgets/pads/_pads_base.js
@@ -26,12 +26,6 @@ _pads_base.prototype.setValue = function(v,options={}) {
}
-
-
-_pads_base.prototype.sendValue = function(value) {
-
-}
-
_pads_base.prototype.showValue = function() {
this.input.val(this.value + this.unit)
}
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index 4e3ab971..8c7e0827 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -97,18 +97,6 @@ Xy.prototype = Object.create(_pads_base.prototype)
Xy.prototype.constructor = Xy
-Xy.prototype.sendValue = function() {
- var args = this.widgetData.preArgs.concat(this.value)
-
- sendOsc({
- target:this.widgetData.target,
- path:this.widgetData.path,
- precision:this.widgetData.precision,
- args:args
- })
-
-}
-
module.exports.create = function(widgetData) {
var xy = new Xy(widgetData)
return xy.widget
diff --git a/src/browser/js/app/widgets/sliders/_sliders_base.js b/src/browser/js/app/widgets/sliders/_sliders_base.js
index 5a364aa2..9f1a1d10 100644
--- a/src/browser/js/app/widgets/sliders/_sliders_base.js
+++ b/src/browser/js/app/widgets/sliders/_sliders_base.js
@@ -163,18 +163,6 @@ _sliders_base.prototype.setValue = function(v,options={}) {
if (options.send) this.sendValue(v)
}
-_sliders_base.prototype.sendValue = function(value) {
- var args = this.widgetData.preArgs.concat(value)
-
- sendOsc({
- target:this.widgetData.target,
- path:this.widgetData.path,
- precision:this.widgetData.precision,
- args:args
- })
-
-}
-
_sliders_base.prototype.showValue = function() {
this.input.val(this.value + this.unit)
}
diff --git a/src/browser/js/app/widgets/sliders/knob.js b/src/browser/js/app/widgets/sliders/knob.js
index 34b06991..5d3a9c8d 100644
--- a/src/browser/js/app/widgets/sliders/knob.js
+++ b/src/browser/js/app/widgets/sliders/knob.js
@@ -225,8 +225,6 @@ Knob.prototype.draw = function(){
this.ctx.restore()
}
-
-
}
diff --git a/src/browser/scss/widgets/_pads.scss b/src/browser/scss/widgets/_pads.scss
index abe5877c..fd366605 100644
--- a/src/browser/scss/widgets/_pads.scss
+++ b/src/browser/scss/widgets/_pads.scss
@@ -15,6 +15,7 @@
position: absolute;
width:100%;
height:100%;
+ opacity: 0.5;
.wrapper canvas {
background:transparent;
}
From e0b144c1695ce7c459c68becab17bed186e26f4e Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 02:52:39 +0200
Subject: [PATCH 0091/5523] xy: implement sync, send, etc
---
src/browser/js/app/widgets/pads/xy.js | 56 ++++++++++++++++++++++++---
src/browser/scss/widgets/_pads.scss | 8 ++++
2 files changed, 59 insertions(+), 5 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index 8c7e0827..84bea8c5 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -2,8 +2,6 @@ var _pads_base = require('./_pads_base'),
Fader = require('./_fake_fader'),
{sendOsc} = require('../utils')
-
-
module.exports.options = {
type:'xy',
id:'auto',
@@ -40,7 +38,22 @@ var Xy = function(widgetData) {
_pads_base.apply(this,arguments)
- this.value = []
+ this.widget.append(`
+
+ X
+ Y
+
+
+ `)
+
+ this.inputs = [
+ this.widget.find('.x').fakeInput({align:'center'}),
+ this.widget.find('.y').fakeInput({align:'center'})
+ ]
+
this.faders = {
x: new Fader({
@@ -66,18 +79,22 @@ var Xy = function(widgetData) {
})
}
+ this.value = [this.faders.x.value, this.faders.y.value]
+
this.wrapper.append(this.faders.x.widget)
this.wrapper.append(this.faders.y.widget)
this.widget.on('sync',(e)=>{
e.stopPropagation()
- var {id, widget} = e
+ var {id, widget, options} = e
var v = widget.getValue()
if (this.value[id] != v) {
this.value[id] = v
- this.sendValue()
+ if (options.send) this.sendValue()
+ this.showValue(id)
+ $('body').trigger({type:'sync',id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
}
})
@@ -90,6 +107,24 @@ var Xy = function(widgetData) {
this.faders.y.dragHandleProxy(e, data, traversing)
})
+ this.inputs[0].change(()=>{
+ this.faders.x.setValue(parseFloat(this.inputs[0].val()),{sync:true,send:true})
+ })
+ this.inputs[1].change(()=>{
+ this.faders.y.setValue(parseFloat(this.inputs[1].val()),{sync:true,send:true})
+ })
+
+ this.showValue(0)
+ this.showValue(1)
+
+ this.widget.getValue = () => {
+ return this.value
+ }
+ this.widget.setValue = (v,o) => {
+ this.setValue(v,o)
+ }
+
+
}
@@ -97,6 +132,17 @@ Xy.prototype = Object.create(_pads_base.prototype)
Xy.prototype.constructor = Xy
+Xy.prototype.setValue = function(v, options){
+ if (!v || v.length!=2) return
+ this.faders.x.setValue(v[0], {sync: true, send:options.send})
+ this.faders.y.setValue(v[1], {sync: true, send:options.send})
+}
+
+
+Xy.prototype.showValue = function(i){
+ this.inputs[i].val(this.value[i])
+}
+
module.exports.create = function(widgetData) {
var xy = new Xy(widgetData)
return xy.widget
diff --git a/src/browser/scss/widgets/_pads.scss b/src/browser/scss/widgets/_pads.scss
index fd366605..cae39130 100644
--- a/src/browser/scss/widgets/_pads.scss
+++ b/src/browser/scss/widgets/_pads.scss
@@ -3,10 +3,18 @@
width: 100%;
overflow: hidden;
display: flex;
+ flex-direction: column;
+ .row {
+ display: flex;
+ text-align: center;
+ flex-shrink: 0;
+ background: var(--color-fg);
+ }
> .wrapper {
position: relative;
height: 100%;
width: 100%;
+ background:var(--color-faded);
.fader {
--color-gauge:transparent;
--color-pips: var(--color-text-fade);
From 3aec08b45677bed4cde9537f684bf3ea988f6ae7 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 02:56:12 +0200
Subject: [PATCH 0092/5523] widgets: clean old sendOsc requires
---
src/browser/js/app/widgets/pads/xy.js | 3 +--
src/browser/js/app/widgets/sliders/fader.js | 2 +-
src/browser/js/app/widgets/sliders/knob.js | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index 84bea8c5..36261f20 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -1,6 +1,5 @@
var _pads_base = require('./_pads_base'),
- Fader = require('./_fake_fader'),
- {sendOsc} = require('../utils')
+ Fader = require('./_fake_fader')
module.exports.options = {
type:'xy',
diff --git a/src/browser/js/app/widgets/sliders/fader.js b/src/browser/js/app/widgets/sliders/fader.js
index 7516ef6b..26a18cf1 100644
--- a/src/browser/js/app/widgets/sliders/fader.js
+++ b/src/browser/js/app/widgets/sliders/fader.js
@@ -1,4 +1,4 @@
-var {clip, mapToScale, sendOsc} = require('../utils'),
+var {clip, mapToScale} = require('../utils'),
_sliders_base = require('./_sliders_base')
diff --git a/src/browser/js/app/widgets/sliders/knob.js b/src/browser/js/app/widgets/sliders/knob.js
index 5d3a9c8d..ab2a95e4 100644
--- a/src/browser/js/app/widgets/sliders/knob.js
+++ b/src/browser/js/app/widgets/sliders/knob.js
@@ -1,4 +1,4 @@
-var {clip, mapToScale, sendOsc} = require('../utils'),
+var {clip, mapToScale} = require('../utils'),
_sliders_base = require('./_sliders_base')
From cd9c27a1561035dc6750f26a605aaf1d721a1e51 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 02:59:47 +0200
Subject: [PATCH 0093/5523] xy; return a new value array @getValue to avoid
object memory sharing
---
src/browser/js/app/widgets/pads/xy.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index 36261f20..d75df868 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -117,7 +117,7 @@ var Xy = function(widgetData) {
this.showValue(1)
this.widget.getValue = () => {
- return this.value
+ return [this.value[0], this.value[1]]
}
this.widget.setValue = (v,o) => {
this.setValue(v,o)
From 3c091aa440d491d2f8308ed1bdcce01a173fc2c2 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 09:10:37 +0200
Subject: [PATCH 0094/5523] xy: pass more params to inner faders
---
src/browser/js/app/widgets/pads/xy.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index d75df868..4173f9b3 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -63,7 +63,8 @@ var Xy = function(widgetData) {
width:'100%',
snap:widgetData.snap,
range:widgetData.rangeX,
- precision:widgetData.precision
+ precision:widgetData.precision,
+ logScale:widgetData.logScaleX
}),
y: new Fader({
id:1,
@@ -73,7 +74,8 @@ var Xy = function(widgetData) {
width:'100%',
snap:widgetData.snap,
range:widgetData.rangeY,
- precision:widgetData.precision
+ precision:widgetData.precision,
+ logScale:widgetData.logScaleY
})
}
From 57bb17f121f98891806dfc538f79b8d5a93b4ef0 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 09:11:23 +0200
Subject: [PATCH 0095/5523] xy: export class
---
src/browser/js/app/widgets/pads/xy.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index 4173f9b3..f7310bb3 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -33,7 +33,7 @@ module.exports.options = {
target:[]
}
-var Xy = function(widgetData) {
+var Xy = modules.exports.Xy = function(widgetData) {
_pads_base.apply(this,arguments)
From cf1286fb4e53abf10d77dc2b2054e519ab975857 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 09:25:53 +0200
Subject: [PATCH 0096/5523] xy: resume sync event propagation from the widget
(check id to avoid circular)
---
src/browser/js/app/widgets/pads/xy.js | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index f7310bb3..33417859 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -33,7 +33,7 @@ module.exports.options = {
target:[]
}
-var Xy = modules.exports.Xy = function(widgetData) {
+var Xy = module.exports.Xy = function(widgetData) {
_pads_base.apply(this,arguments)
@@ -86,6 +86,9 @@ var Xy = modules.exports.Xy = function(widgetData) {
this.wrapper.append(this.faders.y.widget)
this.widget.on('sync',(e)=>{
+
+ if (e.id == this.widgetData.id) return
+
e.stopPropagation()
var {id, widget, options} = e
@@ -95,7 +98,7 @@ var Xy = modules.exports.Xy = function(widgetData) {
this.value[id] = v
if (options.send) this.sendValue()
this.showValue(id)
- $('body').trigger({type:'sync',id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
+ this.widget.trigger({type:'sync',id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
}
})
From 274d02f71bbb37f458b307e696172ae3551f91cc Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 10:15:30 +0200
Subject: [PATCH 0097/5523] xy: use inner faders' inputs instead of creating
new ones
---
src/browser/js/app/widgets/pads/_pads_base.js | 4 ---
src/browser/js/app/widgets/pads/xy.js | 27 ++++---------------
2 files changed, 5 insertions(+), 26 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/_pads_base.js b/src/browser/js/app/widgets/pads/_pads_base.js
index c6f0cad3..0e283add 100644
--- a/src/browser/js/app/widgets/pads/_pads_base.js
+++ b/src/browser/js/app/widgets/pads/_pads_base.js
@@ -25,7 +25,3 @@ _pads_base.prototype.setValue = function(v,options={}) {
if (typeof v != 'number') return
}
-
-_pads_base.prototype.showValue = function() {
- this.input.val(this.value + this.unit)
-}
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index 33417859..9c3a697f 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -48,12 +48,6 @@ var Xy = module.exports.Xy = function(widgetData) {
`)
- this.inputs = [
- this.widget.find('.x').fakeInput({align:'center'}),
- this.widget.find('.y').fakeInput({align:'center'})
- ]
-
-
this.faders = {
x: new Fader({
id:0,
@@ -80,6 +74,11 @@ var Xy = module.exports.Xy = function(widgetData) {
})
}
+ this.inputs = [
+ this.widget.find('.x').replaceWith(this.faders.x.input),
+ this.widget.find('.y').replaceWith(this.faders.y.input)
+ ]
+
this.value = [this.faders.x.value, this.faders.y.value]
this.wrapper.append(this.faders.x.widget)
@@ -97,7 +96,6 @@ var Xy = module.exports.Xy = function(widgetData) {
if (this.value[id] != v) {
this.value[id] = v
if (options.send) this.sendValue()
- this.showValue(id)
this.widget.trigger({type:'sync',id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
}
})
@@ -111,16 +109,6 @@ var Xy = module.exports.Xy = function(widgetData) {
this.faders.y.dragHandleProxy(e, data, traversing)
})
- this.inputs[0].change(()=>{
- this.faders.x.setValue(parseFloat(this.inputs[0].val()),{sync:true,send:true})
- })
- this.inputs[1].change(()=>{
- this.faders.y.setValue(parseFloat(this.inputs[1].val()),{sync:true,send:true})
- })
-
- this.showValue(0)
- this.showValue(1)
-
this.widget.getValue = () => {
return [this.value[0], this.value[1]]
}
@@ -142,11 +130,6 @@ Xy.prototype.setValue = function(v, options){
this.faders.y.setValue(v[1], {sync: true, send:options.send})
}
-
-Xy.prototype.showValue = function(i){
- this.inputs[i].val(this.value[i])
-}
-
module.exports.create = function(widgetData) {
var xy = new Xy(widgetData)
return xy.widget
From c652065bd88389d6eba9bdd07832c355f17d742d Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 10:38:56 +0200
Subject: [PATCH 0098/5523] xy: clean sync handler
---
src/browser/js/app/widgets/pads/xy.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index 9c3a697f..38213d5d 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -86,7 +86,7 @@ var Xy = module.exports.Xy = function(widgetData) {
this.widget.on('sync',(e)=>{
- if (e.id == this.widgetData.id) return
+ if (e.xyIgnore) return
e.stopPropagation()
@@ -96,7 +96,7 @@ var Xy = module.exports.Xy = function(widgetData) {
if (this.value[id] != v) {
this.value[id] = v
if (options.send) this.sendValue()
- this.widget.trigger({type:'sync',id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
+ if (options.sync) this.widget.trigger({type:'sync',xyIgnore:true, id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
}
})
@@ -112,8 +112,8 @@ var Xy = module.exports.Xy = function(widgetData) {
this.widget.getValue = () => {
return [this.value[0], this.value[1]]
}
- this.widget.setValue = (v,o) => {
- this.setValue(v,o)
+ this.widget.setValue = (v, options) => {
+ this.setValue(v, options)
}
From 2103dc32b3e75b705d2c8c81ff9d8f98e1963950 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 13:25:45 +0200
Subject: [PATCH 0099/5523] xy: handle faders' event from wrapper
---
src/browser/js/app/widgets/pads/xy.js | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index 38213d5d..a7806810 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -84,9 +84,7 @@ var Xy = module.exports.Xy = function(widgetData) {
this.wrapper.append(this.faders.x.widget)
this.wrapper.append(this.faders.y.widget)
- this.widget.on('sync',(e)=>{
-
- if (e.xyIgnore) return
+ this.wrapper.on('sync',(e)=>{
e.stopPropagation()
@@ -96,7 +94,7 @@ var Xy = module.exports.Xy = function(widgetData) {
if (this.value[id] != v) {
this.value[id] = v
if (options.send) this.sendValue()
- if (options.sync) this.widget.trigger({type:'sync',xyIgnore:true, id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
+ if (options.sync) this.widget.trigger({type:'sync', id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
}
})
From 559999153a58792053a9a52c726d4dd29ea8e0f0 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 18:09:46 +0200
Subject: [PATCH 0100/5523] xy; fix value setting (do send osc when manually
setting the same value)
---
src/browser/js/app/widgets/pads/xy.js | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index a7806810..8728b4ac 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -91,11 +91,11 @@ var Xy = module.exports.Xy = function(widgetData) {
var {id, widget, options} = e
var v = widget.getValue()
- if (this.value[id] != v) {
- this.value[id] = v
- if (options.send) this.sendValue()
- if (options.sync) this.widget.trigger({type:'sync', id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
- }
+ this.value[id] = v
+
+ if (options.send) this.sendValue()
+ if (options.sync) this.widget.trigger({type:'sync', id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
+
})
this.wrapper.on('draginit',(e, data, traversing)=>{
@@ -123,9 +123,20 @@ Xy.prototype = Object.create(_pads_base.prototype)
Xy.prototype.constructor = Xy
Xy.prototype.setValue = function(v, options){
+
if (!v || v.length!=2) return
- this.faders.x.setValue(v[0], {sync: true, send:options.send})
- this.faders.y.setValue(v[1], {sync: true, send:options.send})
+
+ this.faders.x.setValue(v[0], {sync: false, send:false, dragged:false})
+ this.faders.y.setValue(v[1], {sync: false, send:false, dragged:false})
+
+ this.value = [
+ this.faders.x.widget.getValue(),
+ this.faders.y.widget.getValue()
+ ]
+
+ if (options.send) this.sendValue()
+ if (options.sync) this.widget.trigger({type:'sync', id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
+
}
module.exports.create = function(widgetData) {
From 5acb8414c8bb73fe2dcda9fbb11f05a4ee7436a5 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 18:25:25 +0200
Subject: [PATCH 0101/5523] xy: remove old widget, add new one
---
src/browser/js/app/widgets.js | 5 +-
src/browser/js/app/widgets/xy.js | 209 -------------------------------
2 files changed, 2 insertions(+), 212 deletions(-)
delete mode 100644 src/browser/js/app/widgets/xy.js
diff --git a/src/browser/js/app/widgets.js b/src/browser/js/app/widgets.js
index 24de2619..ad52acb9 100644
--- a/src/browser/js/app/widgets.js
+++ b/src/browser/js/app/widgets.js
@@ -9,8 +9,7 @@ var widgets = {
push: require('./widgets/push'),
// pads
- test: require('./widgets/pads/xy'),
- xy: require('./widgets/xy'),
+ xy: require('./widgets/pads/xy'),
rgb: require('./widgets/rgb'),
// matrices
@@ -34,7 +33,7 @@ var widgets = {
module.exports.categories = {
'Sliders':['fader','knob'],
'Buttons':['toggle','push','switch'],
- 'Pads':['test','xy','rgb'],
+ 'Pads':['xy','rgb'],
'Matrices':['multifader','multitoggle','multipush'],
'Plots':['plot','eq','visualizer','led','meter','text'],
'Containers':['panel','strip']
diff --git a/src/browser/js/app/widgets/xy.js b/src/browser/js/app/widgets/xy.js
deleted file mode 100644
index cc62a79f..00000000
--- a/src/browser/js/app/widgets/xy.js
+++ /dev/null
@@ -1,209 +0,0 @@
-var utils = require('./utils'),
- clip = utils.clip,
- mapToScale = utils.mapToScale,
- sendOsc = utils.sendOsc
-
-module.exports.options = {
- type:'xy',
- id:'auto',
- linkId:'',
-
- separator1:'style',
-
- label:'auto',
- left:'auto',
- top:'auto',
- width:'auto',
- height:'auto',
- color:'auto',
- css:'',
-
- separator2:'behaviour',
-
- snap:false,
-
- separator3:'osc',
-
- rangeX:{min:0,max:1},
- rangeY:{min:0,max:1},
- logScaleX:false,
- logScaleY:false,
- precision:2,
- path:'auto',
- preArgs:[],
- split:false,
- target:[]
-}
-module.exports.create = function(widgetData,container) {
- var widget = $(`
-
- `),
- handle = widget.find('.handle'),
- pad = widget.find('.xy'),
- value = {x:widget.find('.x').fakeInput({align:'center'}),y:widget.find('.y').fakeInput({align:'center'})},
- range = {x:widgetData.rangeX,y:widgetData.rangeY},
- snap = widgetData.snap,
- split = widgetData.split?
- typeof widgetData.split == 'object'?
- widgetData.split:{x:widgetData.path+'/x',y:widgetData.path+'/y'}
- :false;
- logScaleX = widgetData.logScaleX,
- logScaleY = widgetData.logScaleY,
- roundFactor = Math.pow(10,widgetData.precision)
-
-
- if (widgetData.height!='auto') widget.addClass('manual-height')
-
- pad.width = 0
- pad.height = 0
- handle.height = 0
- handle.width = 0
- widget.value = undefined
-
- pad.resize(function(){
- var width = pad.innerWidth(),
- height = pad.innerHeight()
- if (!width || (pad.height==height && pad.width==width)) return
- pad.width = width
- pad.height = height
-
- widget.updateUi(handle.width,handle.height)
- })
-
- var off = {x:0,y:0}
- pad.on('draginit',function(e,data,traversing){
-
- if (snap || traversing) {
- var h = ((pad.height-data.offsetY) * 100 / pad.height),
- w = (data.offsetX * 100 / pad.width)
-
- widget.updateUi(w,h)
-
- handle.height = h
- handle.width = w
-
- var v = widget.getValue()
-
- if (vwidget.value) {
- widget.value = v
-
- widget.sendValue(v)
- widget.showValue(v)
-
- widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
- }
-
- }
-
- off = {x:handle.width,y:handle.height}
-
- })
- pad.on('drag',function(e,data){
-
- var h = clip((-data.deltaY)*100/pad.height+off.y,[0,100]),
- w = clip((data.deltaX)*100/pad.width+off.x,[0,100])
-
- widget.updateUi(w,h)
-
- handle.height = h
- handle.width = w
-
- var v = widget.getValue()
-
- if (vwidget.value) {
- widget.value = v
-
- widget.sendValue(v)
- widget.showValue(v)
-
- widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
- }
-
- })
-
-
- widget.updateUi = function(w,h) {
- handle[0].setAttribute('style',`transform:translate3d(${pad.width*w/100}px, -${pad.height*h/100}px,0)`)
- }
-
- widget.getValue = function() {
- var x = mapToScale(handle.width,[0,100],[range.x.min,range.x.max],widgetData.precision,logScaleX),
- y = mapToScale(handle.height,[0,100],[range.y.min,range.y.max],widgetData.precision,logScaleY)
-
- return [x,y]
- }
- widget.setValue = function(v,options={}) {
- if (!v || v.length!=2) return
-
- for (i in [0,1]) {
- v[i] = clip(Math.round(v[i]*roundFactor)/roundFactor,[range[['x','y'][i]].min,range[['x','y'][i]].max])
- }
-
- var w = mapToScale(v[0],[range.x.min,range.x.max],[0,100],false,logScaleX,true)
- h = mapToScale(v[1],[range.y.min,range.y.max],[0,100],false,logScaleY,true),
-
-
- widget.updateUi(w,h)
-
- handle.height = h
- handle.width = w
- widget.value = v
-
- widget.showValue(v)
- if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
- if (options.send) widget.sendValue(v)
- }
- widget.sendValue = function(v) {
- var args = widgetData.preArgs.concat(v)
-
- sendOsc({
- target:split?false:widgetData.target,
- path:widgetData.path,
- args:args,
- precision:widgetData.precision,
- })
- if (split) {
- sendOsc({
- target:widgetData.target,
- path:split.x,
- args:widgetData.preArgs.concat(v[0]),
- precision:widgetData.precision,
- sync:false
- })
- sendOsc({
- target:widgetData.target,
- path:split.y,
- args:widgetData.preArgs.concat(v[1]),
- precision:widgetData.precision,
- sync:false
- })
- }
- }
-
- widget.showValue = function(v) {
- value.x.val(v[0])
- value.y.val(v[1])
- }
-
- value.x.change(function(){
- var v = widget.getValue()
- v[0] = clip(value.x.val(),[range.x.min,range.x.max])
- widget.setValue(v,{sync:true,send:true})
- })
- value.y.change(function(){
- var v = widget.getValue()
- v[1] = clip(value.y.val(),[range.y.min,range.y.max])
- widget.setValue(v,{sync:true,send:true})
- })
-
- widget.setValue([range.x.min,range.y.min])
- return widget
-}
From ea56f48388715d2483ed52f120e02dfd82efbb3b Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 18:51:02 +0200
Subject: [PATCH 0102/5523] pads: inherit from canvas base class and xy: cancel
faders drawing, use a dedicated, simple draw
---
.../js/app/widgets/pads/_fake_fader.js | 2 +
src/browser/js/app/widgets/pads/_pads_base.js | 8 ++--
src/browser/js/app/widgets/pads/xy.js | 39 ++++++++++++++++++-
src/browser/scss/widgets/_pads.scss | 13 +++----
4 files changed, 49 insertions(+), 13 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/_fake_fader.js b/src/browser/js/app/widgets/pads/_fake_fader.js
index 47f7b4c6..2d3a6cea 100644
--- a/src/browser/js/app/widgets/pads/_fake_fader.js
+++ b/src/browser/js/app/widgets/pads/_fake_fader.js
@@ -11,3 +11,5 @@ _fake_fader.prototype = Object.create(Fader.prototype)
_fake_fader.prototype.constructor = _fake_fader
_fake_fader.prototype.sendValue = function(){}
+
+_fake_fader.prototype.draw = function(){}
diff --git a/src/browser/js/app/widgets/pads/_pads_base.js b/src/browser/js/app/widgets/pads/_pads_base.js
index 0e283add..145cbea4 100644
--- a/src/browser/js/app/widgets/pads/_pads_base.js
+++ b/src/browser/js/app/widgets/pads/_pads_base.js
@@ -1,22 +1,22 @@
var Fader = require('../sliders/fader')
-var _widgets_base = require('../common/_widgets_base')
+var _canvas_base = require('../common/_canvas_base')
var _pads_base = module.exports = function(){
this.widget = $(`
`)
this.wrapper = this.widget.find('.wrapper')
- _widgets_base.apply(this, arguments)
+ _canvas_base.apply(this, arguments)
}
-_pads_base.prototype = Object.create(_widgets_base.prototype)
+_pads_base.prototype = Object.create(_canvas_base.prototype)
_pads_base.prototype.constructor = _pads_base
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index 8728b4ac..61e48f66 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -1,5 +1,6 @@
var _pads_base = require('./_pads_base'),
- Fader = require('./_fake_fader')
+ Fader = require('./_fake_fader'),
+ {clip} = require('../utils')
module.exports.options = {
type:'xy',
@@ -95,7 +96,7 @@ var Xy = module.exports.Xy = function(widgetData) {
if (options.send) this.sendValue()
if (options.sync) this.widget.trigger({type:'sync', id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
-
+ this.draw()
})
this.wrapper.on('draginit',(e, data, traversing)=>{
@@ -136,7 +137,41 @@ Xy.prototype.setValue = function(v, options){
if (options.send) this.sendValue()
if (options.sync) this.widget.trigger({type:'sync', id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
+ this.draw()
+}
+Xy.prototype.draw = function(){
+
+ var x = clip(this.faders.x.percent / 100 * this.width,[0,this.width]),
+ y = clip((1 - this.faders.y.percent / 100) * this.height,[0,this.height])
+
+ this.ctx.clearRect(0,0,this.width,this.height)
+
+ this.ctx.fillStyle = this.faders.x.colors.custom
+ this.ctx.lineWidth = PXSCALE
+ this.ctx.strokeStyle = this.faders.x.colors.custom
+
+ this.ctx.save()
+ this.ctx.globalAlpha = 0.3
+
+ this.ctx.beginPath()
+ this.ctx.arc(x, y, 10 * PXSCALE, Math.PI * 2, false)
+ this.ctx.fill()
+
+ this.ctx.globalAlpha = 0.1
+
+ this.ctx.beginPath()
+ this.ctx.moveTo(0,y)
+ this.ctx.lineTo(this.width,y)
+ this.ctx.moveTo(x,0)
+ this.ctx.lineTo(x,this.height)
+ this.ctx.stroke()
+
+ this.ctx.restore()
+
+ this.ctx.beginPath()
+ this.ctx.arc(x, y, 4 * PXSCALE, Math.PI * 2, false)
+ this.ctx.fill()
}
module.exports.create = function(widgetData) {
diff --git a/src/browser/scss/widgets/_pads.scss b/src/browser/scss/widgets/_pads.scss
index cae39130..fe64aa7c 100644
--- a/src/browser/scss/widgets/_pads.scss
+++ b/src/browser/scss/widgets/_pads.scss
@@ -15,18 +15,17 @@
height: 100%;
width: 100%;
background:var(--color-faded);
+ > canvas {
+ width:100%;
+ height:100%;
+ position: absolute;
+ }
.fader {
- --color-gauge:transparent;
- --color-pips: var(--color-text-fade);
- --color-knob: var(--color-custom);
pointer-events: none;
position: absolute;
width:100%;
height:100%;
- opacity: 0.5;
- .wrapper canvas {
- background:transparent;
- }
+ opacity: 0;
.input {
display: none;
}
From f525df42724de67f7b847d98f411ac1ac66a2a35 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 19:13:49 +0200
Subject: [PATCH 0103/5523] widget: add path splitting support in base class
(triggered by this.split property)
---
.../js/app/widgets/common/_widgets_base.js | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js
index c23b29fc..ecb0ab39 100644
--- a/src/browser/js/app/widgets/common/_widgets_base.js
+++ b/src/browser/js/app/widgets/common/_widgets_base.js
@@ -13,7 +13,23 @@ _widget_base.prototype.sendValue = function() {
target:this.widgetData.target,
path:this.widgetData.path,
precision:this.widgetData.precision,
- args:args
+ args:args,
+ syncOnly:this.split?true:false
})
+ if (this.split) {
+ var n = 0
+ for (i in this.split) {
+ sendOsc({
+ target:this.widgetData.target,
+ path:this.split[i],
+ precision:this.widgetData.precision,
+ args:this.widgetData.preArgs.concat(this.value[n]),
+ sync:false
+
+ })
+ n++
+ }
+ }
+
}
From dc08b761c1e8d8962843a6e6dd14f3d46a4d6e42 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 20 Oct 2016 19:15:36 +0200
Subject: [PATCH 0104/5523] xy: restore path splitting support
---
src/browser/js/app/widgets/pads/xy.js | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index 61e48f66..5872e2b2 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -38,6 +38,12 @@ var Xy = module.exports.Xy = function(widgetData) {
_pads_base.apply(this,arguments)
+ this.split = this.widgetData.split?
+ typeof this.widgetData.split == 'object'?
+ this.widgetData.split
+ : {x: this.widgetData.path + '/x', y: this.widgetData.path + '/y'}
+ : false
+
this.widget.append(`
X
From 6bce9b1af556cef457452694f40082d837eb75db Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 21 Oct 2016 00:48:21 +0200
Subject: [PATCH 0105/5523] pads: fake slider: choose to cancel default drawing
or not
---
src/browser/js/app/widgets/pads/_fake_fader.js | 5 ++---
src/browser/js/app/widgets/pads/xy.js | 4 ++--
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/_fake_fader.js b/src/browser/js/app/widgets/pads/_fake_fader.js
index 2d3a6cea..210e5dc8 100644
--- a/src/browser/js/app/widgets/pads/_fake_fader.js
+++ b/src/browser/js/app/widgets/pads/_fake_fader.js
@@ -1,9 +1,10 @@
var {Fader} = require('../sliders/fader')
-var _fake_fader = module.exports = function(){
+var _fake_fader = module.exports = function(widgetData, cancelDraw){
Fader.apply(this, arguments)
+ if (cancelDraw) this.draw = ()=>{}
}
_fake_fader.prototype = Object.create(Fader.prototype)
@@ -11,5 +12,3 @@ _fake_fader.prototype = Object.create(Fader.prototype)
_fake_fader.prototype.constructor = _fake_fader
_fake_fader.prototype.sendValue = function(){}
-
-_fake_fader.prototype.draw = function(){}
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index 5872e2b2..611aefed 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -66,7 +66,7 @@ var Xy = module.exports.Xy = function(widgetData) {
range:widgetData.rangeX,
precision:widgetData.precision,
logScale:widgetData.logScaleX
- }),
+ }, true),
y: new Fader({
id:1,
compact:true,
@@ -78,7 +78,7 @@ var Xy = module.exports.Xy = function(widgetData) {
precision:widgetData.precision,
logScale:widgetData.logScaleY
- })
+ }, true)
}
this.inputs = [
From 0a04a9db3d1f9e371dbb9e259e1dc8afa628883d Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 21 Oct 2016 01:15:57 +0200
Subject: [PATCH 0106/5523] pads: rgb rewrite
---
src/browser/js/app/widgets.js | 2 +-
src/browser/js/app/widgets/rgb.js | 292 ----------------------------
src/browser/scss/widgets/_pads.scss | 216 +++++---------------
3 files changed, 54 insertions(+), 456 deletions(-)
delete mode 100644 src/browser/js/app/widgets/rgb.js
diff --git a/src/browser/js/app/widgets.js b/src/browser/js/app/widgets.js
index ad52acb9..3e6c2301 100644
--- a/src/browser/js/app/widgets.js
+++ b/src/browser/js/app/widgets.js
@@ -10,7 +10,7 @@ var widgets = {
// pads
xy: require('./widgets/pads/xy'),
- rgb: require('./widgets/rgb'),
+ rgb: require('./widgets/pads/rgb'),
// matrices
multitoggle: require('./widgets/matrices/multitoggle'),
diff --git a/src/browser/js/app/widgets/rgb.js b/src/browser/js/app/widgets/rgb.js
deleted file mode 100644
index 057f5ff7..00000000
--- a/src/browser/js/app/widgets/rgb.js
+++ /dev/null
@@ -1,292 +0,0 @@
-var utils = require('./utils'),
- clip = utils.clip,
- mapToScale = utils.mapToScale,
- hsbToRgb = utils.hsbToRgb,
- rgbToHsb = utils.rgbToHsb,
- sendOsc = utils.sendOsc
-
-module.exports.options = {
- type:'rgb',
- id:'auto',
- linkId:'',
-
- separator1:'style',
-
- label:'auto',
- left:'auto',
- top:'auto',
- width:'auto',
- height:'auto',
- css:'',
-
- separator2:'behaviour',
-
- snap:false,
-
- separator3:'osc',
-
- precision:0,
- path:'auto',
- preArgs:[],
- split:false,
- target:[]
-}
-module.exports.create = function(widgetData,container) {
-
- var widget = $(`
- `),
- rgbHandle = widget.find('.rgb .handle'),
- hueHandle = widget.find('.hue .handle'),
- pad = widget.find('.xy'),
- huePad = widget.find('.hue'),
- rgbBg = pad.find('.bg')[0],
- value = {r:widget.find('.r').fakeInput({align:'center'}),g:widget.find('.g').fakeInput({align:'center'}),b:widget.find('.b').fakeInput({align:'center'})},
- snap = widgetData.snap,
- split = widgetData.split?
- typeof widgetData.split == 'object'?
- widgetData.split:{r:widgetData.path+'/r',g:widgetData.path+'/g',b:widgetData.path+'/b'}
- :false
-
-
- pad.width = 0
- pad.height = 0
- rgbHandle.height = 0
- rgbHandle.width = 0
- hueHandle.width = 0
- widget.value = undefined
-
- pad.resize(function(){
- var width = pad.innerWidth(),
- height = pad.innerHeight()
- if (!width || (pad.height==height && pad.width==width)) return
- pad.width = width
- pad.height = height
- rgbHandle[0].setAttribute('style',`transform:translate3d(${pad.width*rgbHandle.width/100}px, -${pad.height*rgbHandle.height/100}px,0)`)
-
- })
-
-
- var rgbOff = {x:0,y:0}
- pad.on('draginit',function(e,data,traversing){
- if (snap || traversing) {
-
- var h = ((pad.height-data.offsetY) * 100 / pad.height),
- w = (data.offsetX * 100 / pad.width)
-
- rgbHandle[0].setAttribute('style',`transform:translate3d(${pad.width*w/100}px, -${pad.height*h/100}px,0)`)
- rgbHandle.height = h
- rgbHandle.width = w
-
- var v = widget.getValue()
-
- if (vwidget.value) {
- widget.value = v
-
- widget.sendValue(v)
- widget.showValue(v)
-
- widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
- }
-
- }
-
- rgbOff = {x:rgbHandle.width,y:rgbHandle.height}
-
- })
- pad.on('drag',function(e,data){
-
- var h = clip((-data.deltaY)*100/pad.height+rgbOff.y,[0,100]),
- w = clip(data.deltaX*100/pad.width+rgbOff.x,[0,100])
-
- rgbHandle[0].setAttribute('style',`transform:translate3d(${pad.width*w/100}px, -${pad.height*h/100}px,0)`)
- rgbHandle.height = h
- rgbHandle.width = w
-
- var v = widget.getValue()
-
- if (vwidget.value) {
- widget.value = v
-
- widget.sendValue(v)
- widget.showValue(v)
-
- widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
- }
-
- })
-
-
- var hueOff = 0
- huePad.on('draginit',function(e,data,traversing){
- if (snap || traversing) {
-
- var d = (data.offsetX * 100 / pad.width)
- hueHandle[0].setAttribute('style',`transform:translate3d(${pad.width*d/100}px,0,0)`)
- hueHandle.width = d
-
-
- var h = clip(hueHandle.width*3.6,[0,360]),
- rgb = hsbToRgb({h:h,s:100,b:100})
-
- rgbBg.setAttribute('style','background-color:rgb('+rgb.r+','+rgb.g+','+rgb.b+')')
-
- var v = widget.getValue()
-
- if (vwidget.value) {
- widget.value = v
-
- widget.sendValue(v)
- widget.showValue(v)
-
- widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
- }
-
- }
-
- hueOff = hueHandle.width
-
- })
-
-
- huePad.on('drag',function(e,data){
-
- var w = clip(data.deltaX*100/pad.width+hueOff,[0,100])
- hueHandle[0].setAttribute('style',`transform:translate3d(${pad.width*w/100}px,0,0)`)
- hueHandle.width = w
-
- var h = clip(hueHandle.width*3.6,[0,360]),
- rgb = hsbToRgb({h:h,s:100,b:100})
-
- rgbBg.setAttribute('style','background-color:rgb('+rgb.r+','+rgb.g+','+rgb.b+')')
-
- var v = widget.getValue()
-
- if (vwidget.value) {
- widget.value = v
-
- widget.sendValue(v)
- widget.showValue(v)
-
- widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
- }
-
- })
-
-
-
-
-
- widget.getValue = function() {
- var s = clip(rgbHandle.width,[0,100]),
- l = clip(rgbHandle.height,[0,100]),
- h = mapToScale(hueHandle.width,[0,100],[0,360],widgetData.precision),
- rgb = hsbToRgb({h:h,s:s,b:l})
- return [rgb.r,rgb.g,rgb.b]
- }
- widget.setValue = function(v,options={}) {
- if (!v || v.length!=3) return
-
- for (i in [0,1,2]) {
- v[i] = clip(v[i],[0,255])
- }
-
-
- var hsb = rgbToHsb({r:v[0],g:v[1],b:v[2]})
-
- var w = mapToScale(hsb.s,[0,100],[0,100],false),
- h = mapToScale(hsb.b,[0,100],[0,100],false),
- hueW = mapToScale(hsb.h,[0,360],[0,100],false)
-
- rgbHandle[0].setAttribute('style',`transform:translate3d(${pad.width*w/100}px, -${pad.height*h/100}px,0)`)
- hueHandle[0].setAttribute('style',`transform:translate3d(${pad.width*hueW/100}px,0,0)`)
-
- rgbHandle.height = h
- rgbHandle.width = w
- hueHandle.width = hueW
- widget.value = v
-
-
- var rgb = hsbToRgb({h:hsb.h,s:100,b:100})
- rgbBg.setAttribute('style','background-color:rgb('+rgb.r+','+rgb.g+','+rgb.b+')')
-
- widget.showValue(v)
-
-
-
- if (options.sync) widget.trigger({type:'sync',id:widgetData.id,widget:widget, linkId:widgetData.linkId, options})
- if (options.send) widget.sendValue(v)
- }
- widget.sendValue = function(v) {
- var args = widgetData.preArgs.concat(v)
-
- sendOsc({
- target:split?false:widgetData.target,
- path:widgetData.path,
- args:args,
- precision:widgetData.precision,
- })
- if (split) {
- sendOsc({
- target:widgetData.target,
- path:split.r,
- args:widgetData.preArgs.concat(v[0]),
- precision:widgetData.precision,
- sync:false
- })
- sendOsc({
- target:widgetData.target,
- path:split.g,
- args:widgetData.preArgs.concat(v[1]),
- precision:widgetData.precision,
- sync:false
- })
- sendOsc({
- target:widgetData.target,
- path:split.b,
- args:widgetData.preArgs.concat(v[2]),
- precision:widgetData.precision,
- sync:false
- })
- }
- }
-
-
-
- widget.showValue = function(v) {
- value.r.val(v[0])
- value.g.val(v[1])
- value.b.val(v[2])
- }
- value.r.change(function(){
- var r = clip(value.r.val(),[0,255])
- var v = widget.getValue()
- widget.setValue([r,v[1],v[2]],{sync:true,send:true})
- })
- value.g.change(function(){
- var g = clip(value.g.val(),[0,255])
- var v = widget.getValue()
- widget.setValue([v[0],g,v[2]],{sync:true,send:true})
- })
- value.b.change(function(){
- var b = clip(value.b.val(),[0,255])
- var v = widget.getValue()
- widget.setValue([v[0],v[1],b],{sync:true,send:true})
- })
-
- widget.setValue([0,0,0])
-
- return widget
-}
diff --git a/src/browser/scss/widgets/_pads.scss b/src/browser/scss/widgets/_pads.scss
index fe64aa7c..75f5b24a 100644
--- a/src/browser/scss/widgets/_pads.scss
+++ b/src/browser/scss/widgets/_pads.scss
@@ -33,6 +33,59 @@
}
}
+.rgb-container {
+ .pad {
+ > .wrapper {
+ background: red;
+ > canvas {
+ z-index: 1;
+ }
+ &:before, &:after {
+ content:"";
+ position: absolute;
+ left:0;
+ top:0;
+ width: 100%;
+ height: 100%;
+ }
+ &:before {
+ background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
+ }
+ &:after {
+ background:linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
+ }
+ }
+ > .hue-wrapper {
+ position: relative;
+ height: 30rem;
+ z-index: 1;
+
+ &:before {
+ content:"";
+ position: absolute;
+ left:0;
+ top:0;
+ width: 100%;
+ height: 100%;
+ background:transparent linear-gradient(to left, #F00, #FF0080, #F0F, #8000FF, #00F, #0080FF, #0FF, #00FF80, #0F0, #80FF00, #FF0, #FF8000, #F00) repeat scroll 0% 0%;
+ z-index: -1;
+ opacity: 0.5;
+ }
+ .fader {
+ --color-knob:var(--color-text);
+ --color-gauge:transparent;
+ --color-track:transparent;
+ canvas {
+ background: transparent;
+ }
+ }
+ .input {
+ display: none;
+ }
+ }
+ }
+}
+
.xy-container, .rgb-container {
width:200rem;
height:250rem;
@@ -42,166 +95,3 @@
flex-shrink: 0;
}
}
-.xy-wrapper {
- height: 100%;
- overflow: hidden;
- display: flex;
- flex-direction: column;
-
- .value {
- width:100%;
- display:var(--display-input);
- }
- .input {
- width:50%;
- float:left;
- height: 24rem;
- text-align: center;
- position: relative;
- }
-}
-.xy {
- position:relative;
- width:auto;
- height:100%;
- overflow: hidden;
- cursor: -webkit-grab;
- background:var(--color-faded);
- &:active {
- cursor: -webkit-grabbing;
- }
- .handle {
- position:absolute;
- bottom:0;
- left:0;
- z-index:2;
- pointer-events: none;
- backface-visibility: hidden;
- transform-origin: center;
- transform:translate3d(0,0,0);
-
- &:before {
- content:"";
- position: absolute;
- top:-4rem;
- right:-4rem;
- height:8rem;
- width:8rem;
- background:var(--color-custom);
- border:none!important;
- border-radius: 100%!important;
- }
- &:after {
- content:"";
- position: absolute;
- top:-10rem;
- right:-10rem;
- height:20rem;
- width:20rem;
- border:none!important;
- border-radius: 100%!important;
- background:var(--color-custom);
- opacity: .2; }
-
- }
-}
-
-
-.rgb-wrapper {
- .input, input {
- width:33.33%;
- }
-}
-
-.rgb {
- .bg {
- position: absolute;
- top:0;
- left:0;
- right:0;
- bottom:0;
- background-color: red;
- opacity: .75;
- pointer-events: none;
- &:before, &:after {
- content:"";
- position: absolute;
- left:0;
- top:0;
- width: 100%;
- height: 100%;
- }
- &:before {
- background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
- }
- &:after {
- background:linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
- }
- }
- .handle {
- &:before {
- content:"";
- position: absolute;
- top:-4rem;
- right:-4rem;
- height:8rem;
- width:8rem;
- background:var(--color-text);
- border:none!important;
- border-radius: 100%!important;
- }
- &:after {
- content:"";
- position: absolute;
- top:-10rem;
- right:-10rem;
- height:20rem;
- width:20rem;
- border:none!important;
- border-radius: 100%!important;
- background:var(--color-text);
- }
- }
-}
-.hue {
- width:auto;
- min-height:30rem;
- overflow: hidden;
- cursor: -webkit-grab;
- position: relative;
- flex-shrink: 0;
- .bg {
- position: absolute;
- top:0;
- left:0;
- right:0;
- bottom:0;
- opacity: 0.5;
- background:transparent linear-gradient(to left, #F00, #FF0080, #F0F, #8000FF, #00F, #0080FF, #0FF, #00FF80, #0F0, #80FF00, #FF0, #FF8000, #F00) repeat scroll 0% 0%;
- pointer-events: none;
- }
- &:active {
- cursor: -webkit-grabbing;
- }
- .handle {
- position:absolute;
- z-index:2;
- left:0;
- top:50%;
- pointer-events: none;
- transform: translate3d(0,0,0);
- &:before {
- content:"";
- position: absolute;
- top:-4rem;
- right:-4rem;
- height:8rem;
- width:8rem;
- border:none!important;
- border-radius: 100%!important;
- box-shadow: none;
- background:var(--color-text);
- }
- }
-
-}
From d646bc37725ca6e0512616e96e0667dafa04c0b0 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 21 Oct 2016 09:41:31 +0200
Subject: [PATCH 0107/5523] rgb: add new rgb module
---
src/browser/js/app/widgets/pads/rgb.js | 248 +++++++++++++++++++++++++
1 file changed, 248 insertions(+)
create mode 100644 src/browser/js/app/widgets/pads/rgb.js
diff --git a/src/browser/js/app/widgets/pads/rgb.js b/src/browser/js/app/widgets/pads/rgb.js
new file mode 100644
index 00000000..b4222300
--- /dev/null
+++ b/src/browser/js/app/widgets/pads/rgb.js
@@ -0,0 +1,248 @@
+var _pads_base = require('./_pads_base'),
+ Fader = require('./_fake_fader'),
+ {clip, hsbToRgb, rgbToHsb} = require('../utils')
+
+
+module.exports.options = {
+ type:'rgb',
+ id:'auto',
+ linkId:'',
+
+ separator1:'style',
+
+ label:'auto',
+ left:'auto',
+ top:'auto',
+ width:'auto',
+ height:'auto',
+ css:'',
+
+ separator2:'behaviour',
+
+ snap:false,
+
+ separator3:'osc',
+
+ precision:0,
+ path:'auto',
+ preArgs:[],
+ split:false,
+ target:[]
+}
+
+var Rgb = module.exports.Rgb = function(widgetData) {
+
+ _pads_base.apply(this,arguments)
+
+ this.split = this.widgetData.split?
+ typeof this.widgetData.split == 'object'?
+ this.widgetData.split
+ : {r: this.widgetData.path + '/r', g: this.widgetData.path + '/g', b: this.widgetData.path + '/b'}
+ : false
+
+ this.widget.append(`
+
+
+ R
+ G
+ B
+
+
+ `)
+
+ this.hueWrapper = this.widget.find('.hue-wrapper')
+
+ this.faders = {
+ h: new Fader({
+ id:'h',
+ compact:false,
+ noPip:true,
+ horizontal:true,
+ snap:widgetData.snap,
+ range:{min:0,max:360},
+ precision:2
+ }),
+ s: new Fader({
+ id:'s',
+ compact:true,
+ horizontal:true,
+ snap:widgetData.snap,
+ range:{min:0,max:100},
+ precision:2
+
+ },true),
+ b: new Fader({
+ id:'b',
+ compact:true,
+ horizontal:false,
+ snap:widgetData.snap,
+ range:{min:0,max:100},
+ precision:2
+ },true)
+ }
+
+ this.faders.h.margin = 0
+
+ this.inputs = [
+ this.widget.find('.r').fakeInput({align:'center'}),
+ this.widget.find('.g').fakeInput({align:'center'}),
+ this.widget.find('.b').fakeInput({align:'center'})
+ ]
+
+ this.value = []
+ this.hsb = {h:0,s:0,b:0}
+
+ this.wrapper.append(this.faders.s.widget)
+ this.wrapper.append(this.faders.b.widget)
+
+ this.hueWrapper.append(this.faders.h.widget)
+
+ this.wrapper.on('sync',(e)=>{
+ e.stopPropagation()
+ })
+
+ this.faders.h.widget.on('sync',(e)=>{
+ e.stopPropagation()
+ this.dragHandle()
+ })
+
+ this.wrapper.on('draginit',(e, data, traversing)=>{
+ this.faders.s.draginitHandleProxy(e, data, traversing)
+ this.faders.b.draginitHandleProxy(e, data, traversing)
+ this.dragHandle()
+ })
+ this.wrapper.on('drag',(e, data, traversing)=>{
+ this.faders.s.dragHandleProxy(e, data, traversing)
+ this.faders.b.dragHandleProxy(e, data, traversing)
+ this.dragHandle()
+ })
+
+
+ this.inputs.forEach(function(input,i){
+ input.change(()=>{
+ this.value[i] = parseInt(clip(this.inputs[i].val(),[0,255]))
+ this.setValue(this.value,{send:true,sync:true})
+ })
+ },this)
+
+
+ this.widget.getValue = () => {
+ return [this.value[0], this.value[1], this.value[2]]
+ }
+ this.widget.setValue = (v, options) => {
+ this.setValue(v, options)
+ }
+
+ this.setValue([0,0,0])
+}
+
+
+Rgb.prototype = Object.create(_pads_base.prototype)
+
+Rgb.prototype.constructor = Rgb
+
+Rgb.prototype.dragHandle = function(){
+ var h =this.faders.h.value,
+ s = this.faders.s.value,
+ b = this.faders.b.value
+
+ if (h != this.hsb.h ||s != this.hsb.s || b != this.hsb.b) {
+
+ this.hsb.h = this.faders.h.value
+ this.hsb.s = this.faders.s.value
+ this.hsb.b = this.faders.b.value
+
+ this.update({nohue:true})
+
+ var rgb = hsbToRgb(this.hsb)
+ if (rgb.r != this.value[0] || rgb.g != this.value[1] || rgb.b != this.value[2]) {
+ this.setValue([rgb.r, rgb.g, rgb.b],{send:true,sync:true,dragged:true})
+ }
+ }
+
+}
+
+Rgb.prototype.setValue = function(v, options={}){
+
+ if (!v || v.length!=3) return
+
+ for (i in [0,1,2]) {
+ v[i] = clip(v[i],[0,255])
+ }
+
+ var hsb = rgbToHsb({r:v[0],g:v[1],b:v[2]})
+
+ if (!options.dragged) {
+ this.faders.h.setValue(hsb.h, {sync: false, send:false, dragged:false})
+ this.faders.s.setValue(hsb.s, {sync: false, send:false, dragged:false})
+ this.faders.b.setValue(hsb.b, {sync: false, send:false, dragged:false})
+ }
+
+ this.hsb = hsb
+ this.value = v
+
+ if (options.send) this.sendValue()
+ if (options.sync) this.widget.trigger({type:'sync', id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
+
+ this.update()
+}
+
+Rgb.prototype.update = function(options={}) {
+
+ if (!options.nohue) {
+ var hue = hsbToRgb({h:this.hsb.h,s:100,b:100})
+ this.hue = `rgb(${hue.r},${hue.g},${hue.b})`
+ this.wrapper[0].setAttribute('style',`background:${this.hue}`)
+ }
+
+ for (i in this.inputs) [
+ this.inputs[i].val(this.value[i])
+ ]
+
+ this.draw()
+
+}
+
+Rgb.prototype.draw = function(){
+
+ var x = clip(this.faders.s.percent / 100 * this.width,[0,this.width]),
+ y = clip((1 - this.faders.b.percent / 100) * this.height,[0,this.height]),
+ color = this.hsb.b > 70 && this.hsb.s < 30 ? 'black' : 'white'
+
+ this.ctx.clearRect(0,0,this.width,this.height)
+
+ this.ctx.fillStyle = color
+ this.ctx.strokeStyle = color
+ this.ctx.lineWidth = PXSCALE
+
+ this.ctx.save()
+ this.ctx.globalAlpha = 0.3
+
+ this.ctx.beginPath()
+ this.ctx.arc(x, y, 10 * PXSCALE, Math.PI * 2, false)
+ this.ctx.fill()
+
+ this.ctx.globalAlpha = 0.1
+
+ this.ctx.beginPath()
+ this.ctx.moveTo(0,y)
+ this.ctx.lineTo(this.width,y)
+ this.ctx.moveTo(x,0)
+ this.ctx.lineTo(x,this.height)
+ this.ctx.stroke()
+
+ this.ctx.restore()
+
+ this.ctx.beginPath()
+ this.ctx.arc(x, y, 4 * PXSCALE, Math.PI * 2, false)
+ this.ctx.fill()
+}
+
+module.exports.create = function(widgetData) {
+ var rgb = new Rgb(widgetData)
+ return rgb.widget
+}
From b6b157f048f27d52f0138a939a74a14923eb697b Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 21 Oct 2016 10:17:05 +0200
Subject: [PATCH 0108/5523] xy: handle drag gesture better (avoid handling one
event per inner fader)
---
src/browser/js/app/widgets/pads/xy.js | 46 ++++++++++++++++++---------
1 file changed, 31 insertions(+), 15 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/xy.js b/src/browser/js/app/widgets/pads/xy.js
index 611aefed..d4adc2a1 100644
--- a/src/browser/js/app/widgets/pads/xy.js
+++ b/src/browser/js/app/widgets/pads/xy.js
@@ -92,28 +92,31 @@ var Xy = module.exports.Xy = function(widgetData) {
this.wrapper.append(this.faders.y.widget)
this.wrapper.on('sync',(e)=>{
-
e.stopPropagation()
-
- var {id, widget, options} = e
- var v = widget.getValue()
-
- this.value[id] = v
-
- if (options.send) this.sendValue()
- if (options.sync) this.widget.trigger({type:'sync', id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
- this.draw()
})
this.wrapper.on('draginit',(e, data, traversing)=>{
this.faders.x.draginitHandleProxy(e, data, traversing)
this.faders.y.draginitHandleProxy(e, data, traversing)
+ this.dragHandle()
})
this.wrapper.on('drag',(e, data, traversing)=>{
this.faders.x.dragHandleProxy(e, data, traversing)
this.faders.y.dragHandleProxy(e, data, traversing)
+ this.dragHandle()
})
+
+ this.faders.x.input.change(()=>{
+ var v = [this.faders.x.value, this.faders.y.value]
+ this.setValue(v,{send:true,sync:true})
+ })
+ this.faders.y.input.change(()=>{
+ var v = [this.faders.x.value, this.faders.y.value]
+ this.setValue(v,{send:true,sync:true})
+ })
+
+
this.widget.getValue = () => {
return [this.value[0], this.value[1]]
}
@@ -129,20 +132,33 @@ Xy.prototype = Object.create(_pads_base.prototype)
Xy.prototype.constructor = Xy
-Xy.prototype.setValue = function(v, options){
+Xy.prototype.dragHandle = function(){
+ var x = this.faders.x.value,
+ y = this.faders.y.value
+
+
+ if (x != this.value[0] || y != this.value[1]) {
+ this.setValue([x, y],{send:true,sync:true,dragged:true})
+ }
+}
+
+Xy.prototype.setValue = function(v, options={}){
if (!v || v.length!=2) return
- this.faders.x.setValue(v[0], {sync: false, send:false, dragged:false})
- this.faders.y.setValue(v[1], {sync: false, send:false, dragged:false})
+ if (!options.dragged) {
+ this.faders.x.setValue(v[0], {sync: false, send:false, dragged:false})
+ this.faders.y.setValue(v[1], {sync: false, send:false, dragged:false})
+ }
this.value = [
- this.faders.x.widget.getValue(),
- this.faders.y.widget.getValue()
+ this.faders.x.value,
+ this.faders.y.value
]
if (options.send) this.sendValue()
if (options.sync) this.widget.trigger({type:'sync', id:this.widgetData.id,widget:this.widget, linkId:this.widgetData.linkId, options:options})
+
this.draw()
}
From 57d051c124195dcae56d6acb3355acbb659bb056 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 21 Oct 2016 10:28:52 +0200
Subject: [PATCH 0109/5523] rgb: fix precision setting
---
src/browser/js/app/widgets/pads/rgb.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/rgb.js b/src/browser/js/app/widgets/pads/rgb.js
index b4222300..55a729db 100644
--- a/src/browser/js/app/widgets/pads/rgb.js
+++ b/src/browser/js/app/widgets/pads/rgb.js
@@ -1,6 +1,6 @@
var _pads_base = require('./_pads_base'),
Fader = require('./_fake_fader'),
- {clip, hsbToRgb, rgbToHsb} = require('../utils')
+ {clip, roundTo, hsbToRgb, rgbToHsb} = require('../utils')
module.exports.options = {
@@ -124,7 +124,7 @@ var Rgb = module.exports.Rgb = function(widgetData) {
this.inputs.forEach(function(input,i){
input.change(()=>{
- this.value[i] = parseInt(clip(this.inputs[i].val(),[0,255]))
+ this.value[i] = parseFloat(clip(this.inputs[i].val(),[0,255]))
this.setValue(this.value,{send:true,sync:true})
})
},this)
@@ -171,7 +171,7 @@ Rgb.prototype.setValue = function(v, options={}){
if (!v || v.length!=3) return
for (i in [0,1,2]) {
- v[i] = clip(v[i],[0,255])
+ v[i] = roundTo(clip(v[i],[0,255]),this.widgetData.precision)
}
var hsb = rgbToHsb({r:v[0],g:v[1],b:v[2]})
From 9dbfd3c458269c5501719f0d786525a4be247205 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 21 Oct 2016 10:35:44 +0200
Subject: [PATCH 0110/5523] rgb: display hue change when rgb=0 0 0
---
src/browser/js/app/widgets/pads/rgb.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/browser/js/app/widgets/pads/rgb.js b/src/browser/js/app/widgets/pads/rgb.js
index 55a729db..f9d8d07d 100644
--- a/src/browser/js/app/widgets/pads/rgb.js
+++ b/src/browser/js/app/widgets/pads/rgb.js
@@ -152,11 +152,13 @@ Rgb.prototype.dragHandle = function(){
if (h != this.hsb.h ||s != this.hsb.s || b != this.hsb.b) {
+ var huechange = h != this.hsb.h
+
this.hsb.h = this.faders.h.value
this.hsb.s = this.faders.s.value
this.hsb.b = this.faders.b.value
- this.update({nohue:true})
+ this.update({nohue: !huechange})
var rgb = hsbToRgb(this.hsb)
if (rgb.r != this.value[0] || rgb.g != this.value[1] || rgb.b != this.value[2]) {
From 057836082ca445e71d9f2de07756860d48d9ef21 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 21 Oct 2016 17:27:38 +0200
Subject: [PATCH 0111/5523] main: remove sync=false preventing osc sends to
sync hosts (since actual clients sync is handled before that anyway)
---
app/main/callbacks.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/main/callbacks.js b/app/main/callbacks.js
index 54c3ea11..ffc8a83e 100644
--- a/app/main/callbacks.js
+++ b/app/main/callbacks.js
@@ -71,7 +71,7 @@ module.exports = {
var targets = []
- if (settings.read('syncTargets') && data.sync!==false) Array.prototype.push.apply(targets, settings.read('syncTargets'))
+ if (settings.read('syncTargets')) Array.prototype.push.apply(targets, settings.read('syncTargets'))
if (data.target) Array.prototype.push.apply(targets, data.target)
From bb8666cb82d5448be6b0964332122c403e82ba23 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 21 Oct 2016 18:02:53 +0200
Subject: [PATCH 0112/5523] pads: add multi-xy widget
---
CHANGELOG.md | 5 +
src/browser/js/app/widgets.js | 3 +-
src/browser/js/app/widgets/pads/multixy.js | 157 +++++++++++++++++++++
src/browser/scss/widgets/_pads.scss | 45 +++++-
4 files changed, 202 insertions(+), 8 deletions(-)
create mode 100644 src/browser/js/app/widgets/pads/multixy.js
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7ff8e487..484e99ae 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog
+## next
+
+- misc
+ - rewritten `pads` with prototype inheritance and using faders under the hood to handle events
+
## 0.8.3
- bug fixes
diff --git a/src/browser/js/app/widgets.js b/src/browser/js/app/widgets.js
index 3e6c2301..08d0e240 100644
--- a/src/browser/js/app/widgets.js
+++ b/src/browser/js/app/widgets.js
@@ -11,6 +11,7 @@ var widgets = {
// pads
xy: require('./widgets/pads/xy'),
rgb: require('./widgets/pads/rgb'),
+ multixy: require('./widgets/pads/multixy'),
// matrices
multitoggle: require('./widgets/matrices/multitoggle'),
@@ -33,7 +34,7 @@ var widgets = {
module.exports.categories = {
'Sliders':['fader','knob'],
'Buttons':['toggle','push','switch'],
- 'Pads':['xy','rgb'],
+ 'Pads':['xy','rgb','multixy'],
'Matrices':['multifader','multitoggle','multipush'],
'Plots':['plot','eq','visualizer','led','meter','text'],
'Containers':['panel','strip']
diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js
new file mode 100644
index 00000000..40a810c1
--- /dev/null
+++ b/src/browser/js/app/widgets/pads/multixy.js
@@ -0,0 +1,157 @@
+var _pads_base = require('./_pads_base'),
+ {Xy} = require('./xy'),
+ {clip} = require('../utils')
+
+module.exports.options = {
+ type:'xy',
+ id:'auto',
+ linkId:'',
+
+ separator2:'behaviour',
+
+ points: 3,
+
+ separator2:'style',
+
+ label:'auto',
+ left:'auto',
+ top:'auto',
+ width:'auto',
+ height:'auto',
+ color:'auto',
+ css:'',
+
+ separator3:'osc',
+
+ rangeX:{min:0,max:1},
+ rangeY:{min:0,max:1},
+ logScaleX:false,
+ logScaleY:false,
+ precision:2,
+ path:'auto',
+ preArgs:[],
+ split:false,
+ target:[]
+}
+
+var MultiXy = module.exports.MultiXy = function(widgetData) {
+
+ _pads_base.apply(this,arguments)
+
+ this.split = this.widgetData.split?
+ typeof this.widgetData.split == 'object'?
+ this.widgetData.split
+ : (()=>{
+ var s={};
+ for (var i=0; i{}
+ this.wrapper.append(this.pads[i].widget)
+
+ this.handles[i] = $(`${i}
`)
+ this.wrapper.append(this.handles[i])
+ }
+
+ this.value = []
+
+
+ this.handles.forEach((handle, i)=>{
+ handle.on('draginit, drag',(e, data, traversing)=>{
+ this.pads[i].wrapper.trigger(e.type, [data, traversing])
+ var v = this.pads[i].widget.getValue()
+ if (v < [this.value[i*2], this.value[i*2+1]] || v > [this.value[i*2], this.value[i*2+1]]) {
+ var n = this.widget.getValue()
+ n[i] = v
+ this.setValue(n, {sync:true,send:true, dragged:true})
+ }
+ })
+ })
+
+ this.wrapper.on('sync',(e)=>{
+ e.stopPropagation()
+ })
+
+ this.widget.getValue = () => {
+ var v = []
+ for (var i=0;i {
+ this.setValue(v, options)
+ }
+
+ var v = []
+ for (var i=0;i .pad {
+ > .wrapper {
+ > .pad {
+ position: absolute;
+ width:100%;
+ height:100%;
+ pointer-events: none;
+ .wrapper {
+ background: transparent;
+ }
+ .row {
+ display: none;
+ }
+ }
+ > .handle {
+ position: absolute;
+ left:0;
+ bottom:0;
+ width:24rem;
+ height: 24rem;
+ margin:0 0 -12rem -12rem;
+ text-align: center;
+ line-height: 24rem;
+ border-radius: 24rem;
+ cursor: -webkit-grab;
+ }
+ }
}
}
From 61cbf5046198d700329888450ea8c35caf6f3608 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 21 Oct 2016 18:18:26 +0200
Subject: [PATCH 0113/5523] log: multixy
---
CHANGELOG.md | 3 +++
1 file changed, 3 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 484e99ae..aee14a33 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,9 @@
## next
+
+- widgets
+ - **new** `multixy` pad
- misc
- rewritten `pads` with prototype inheritance and using faders under the hood to handle events
From f47bab19670dab736a9a3a08f15b1b959f1d9d1b Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Fri, 21 Oct 2016 18:23:17 +0200
Subject: [PATCH 0114/5523] multixy: change default number of points
---
src/browser/js/app/widgets/pads/multixy.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js
index 40a810c1..2cf705c7 100644
--- a/src/browser/js/app/widgets/pads/multixy.js
+++ b/src/browser/js/app/widgets/pads/multixy.js
@@ -7,9 +7,9 @@ module.exports.options = {
id:'auto',
linkId:'',
- separator2:'behaviour',
+ separator1:'multi xy',
- points: 3,
+ points: 2,
separator2:'style',
From 990a21da1a10ca7f9b15ae2a8bbf1c535cc0208d Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sat, 22 Oct 2016 10:57:36 +0200
Subject: [PATCH 0115/5523] pads: prevent inner canvas from catching drag
events (fix traversing mode)
---
src/browser/scss/widgets/_pads.scss | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/browser/scss/widgets/_pads.scss b/src/browser/scss/widgets/_pads.scss
index a74c84bd..316bced1 100644
--- a/src/browser/scss/widgets/_pads.scss
+++ b/src/browser/scss/widgets/_pads.scss
@@ -28,6 +28,7 @@
width:100%;
height:100%;
position: absolute;
+ pointer-events: none;
}
.fader {
pointer-events: none;
From 1905f9bafcee1c30a7e9206c0c0573071633fa8e Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sat, 22 Oct 2016 11:16:16 +0200
Subject: [PATCH 0116/5523] rgb: reduce knob contrast on bright values
---
src/browser/js/app/widgets/pads/rgb.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/browser/js/app/widgets/pads/rgb.js b/src/browser/js/app/widgets/pads/rgb.js
index f9d8d07d..d8a3c8da 100644
--- a/src/browser/js/app/widgets/pads/rgb.js
+++ b/src/browser/js/app/widgets/pads/rgb.js
@@ -213,7 +213,7 @@ Rgb.prototype.draw = function(){
var x = clip(this.faders.s.percent / 100 * this.width,[0,this.width]),
y = clip((1 - this.faders.b.percent / 100) * this.height,[0,this.height]),
- color = this.hsb.b > 70 && this.hsb.s < 30 ? 'black' : 'white'
+ color = this.hsb.b > 70 && this.hsb.s < 30 ? '#555' : 'white'
this.ctx.clearRect(0,0,this.width,this.height)
From 44907d1e16874704f76d952877eb126f7ec56d18 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sat, 22 Oct 2016 12:15:57 +0200
Subject: [PATCH 0117/5523] multixy: bypass inner pads drawing, use dedicated
draw
---
src/browser/js/app/widgets/pads/multixy.js | 27 ++++++++++++++++++++++
src/browser/scss/widgets/_pads.scss | 1 +
2 files changed, 28 insertions(+)
diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js
index 2cf705c7..55c373a7 100644
--- a/src/browser/js/app/widgets/pads/multixy.js
+++ b/src/browser/js/app/widgets/pads/multixy.js
@@ -62,6 +62,7 @@ var MultiXy = module.exports.MultiXy = function(widgetData) {
logScale:widgetData.logScaleY
})
this.pads[i].sendValue = ()=>{}
+ this.pads[i].draw = ()=>{}
this.wrapper.append(this.pads[i].widget)
this.handles[i] = $(`${i}
`)
@@ -127,6 +128,31 @@ MultiXy.prototype.updateHandlesPosition = function(){
}
}
+MultiXy.prototype.draw = function(){
+
+ this.ctx.clearRect(0,0,this.width,this.height)
+
+ this.ctx.fillStyle = this.colors.text
+ this.ctx.lineWidth = PXSCALE
+ this.ctx.strokeStyle = this.colors.custom
+
+ for (var i=0;i
Date: Sat, 22 Oct 2016 12:16:26 +0200
Subject: [PATCH 0118/5523] multixy: fix event listener (no comma between event
names)
---
src/browser/js/app/widgets/pads/multixy.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js
index 55c373a7..8834e692 100644
--- a/src/browser/js/app/widgets/pads/multixy.js
+++ b/src/browser/js/app/widgets/pads/multixy.js
@@ -73,7 +73,7 @@ var MultiXy = module.exports.MultiXy = function(widgetData) {
this.handles.forEach((handle, i)=>{
- handle.on('draginit, drag',(e, data, traversing)=>{
+ handle.on('draginit drag',(e, data, traversing)=>{
this.pads[i].wrapper.trigger(e.type, [data, traversing])
var v = this.pads[i].widget.getValue()
if (v < [this.value[i*2], this.value[i*2+1]] || v > [this.value[i*2], this.value[i*2+1]]) {
From 3a8b7a4fbfeb69c30ac67e7508aca3776e84a937 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sat, 22 Oct 2016 12:29:26 +0200
Subject: [PATCH 0119/5523] doc: add multixy and fix some mistakes
---
.../docs/user-guide/widgets-specifics/pads.md | 60 +++++++++++++++++--
1 file changed, 54 insertions(+), 6 deletions(-)
diff --git a/resources/docs/user-guide/widgets-specifics/pads.md b/resources/docs/user-guide/widgets-specifics/pads.md
index fe5d1e40..9c4930e7 100644
--- a/resources/docs/user-guide/widgets-specifics/pads.md
+++ b/resources/docs/user-guide/widgets-specifics/pads.md
@@ -14,14 +14,18 @@ Pads are multidimensional widgets that output multiple values.
```
-#### `range`
+#### `rangeX`
- type: `object`
- default:
- `{
- x:{"min":0,"max":1},
- y:{"min":0,"max":1}
- }`
-- usage: defines the `min` and `max` values for the `x` and `y` axis
+ `{"min":0,"max":1}`
+- usage: defines the `min` and `max` values for the `x` axis. Same as fader's [`range`](sliders/#fader)
+
+#### `rangeY`
+- type: `object`
+- default:
+ `{"min":0,"max":1}`
+- usage: defines the `min` and `max` values for the `y` axis. Same as fader's [`range`](sliders/#fader)
+
#### `logScaleX`
- type: `boolean`
@@ -44,6 +48,50 @@ Pads are multidimensional widgets that output multiple values.
- usage:
- set to `true` to send separate osc messages for `x` and `y` axis. The `path` will be the same as the widget's with `/x` or `/y` appended to it
- can be set as an object to specify a different `path` : `{x:'/osc_path_x', y:'/osc_path_y'}`
+- note: the widget will only respond to its original osc path, not to the splitted version
+
+----
+
+## MultiXy
+
+```js
+{
+ type:'multixy',
+ // etc
+}
+```
+
+
+#### `rangeX`
+- type: `object`
+- default:
+ `{"min":0,"max":1}`
+- usage: defines the `min` and `max` values for the `x` axis. Same as fader's [`range`](sliders/#fader)
+
+#### `rangeY`
+- type: `object`
+- default:
+ `{"min":0,"max":1}`
+- usage: defines the `min` and `max` values for the `y` axis. Same as fader's [`range`](sliders/#fader)
+
+
+#### `logScaleX`
+- type: `boolean`
+- default: `false`
+- usage: set to `true` to use logarithmic scale for the `x` axis (log10)
+
+#### `logScaleY`
+- type: `boolean`
+- default: `false`
+- usage: set to `true` to use logarithmic scale for the `y` axis (log10)
+
+#### `split`
+- type: `boolean|object`
+- default: `false`
+- usage:
+ - set to `true` to send separate osc messages for each point's `x` and `y` axis. The `path` will be the same as the widget's with `/N/x` or `/N/y` appended to it, where `N` is the point's id.
+ - can be set as an object to specify a different `path` : `{0:'/osc_path/0', 1:'/osc_path_/1'}` (each path will be appended `/x` or `y`)
+- note: the widget will only respond to its original osc path, not to the splitted version
----
From d0c5fde17890b213f2ad72aad730c3f910a59e87 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sat, 22 Oct 2016 12:35:57 +0200
Subject: [PATCH 0120/5523] package: update electron, bump 0.9.0 and log last
changes
---
CHANGELOG.md | 8 +++++---
app/package.json | 2 +-
package.json | 4 ++--
3 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index aee14a33..54fc56a3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,12 +1,14 @@
# Changelog
-## next
+## 0.9.0
- widgets
- - **new** `multixy` pad
+ - **new** `multixy` pad
- misc
- - rewritten `pads` with prototype inheritance and using faders under the hood to handle events
+ - rewritten `pads` with prototype inheritance and using faders under the hood to handle events (this adds *fader*'s `range` capabilities to *xy*)
+- engine
+ - electron 1.4.4
## 0.8.3
diff --git a/app/package.json b/app/package.json
index 2298d227..66d0057d 100644
--- a/app/package.json
+++ b/app/package.json
@@ -2,7 +2,7 @@
"name": "open-stage-control",
"productName": "Open Stage Control",
"description": "A libre desktop OSC bi-directionnal control surface application.",
- "version": "0.8.3",
+ "version": "0.8.4",
"main": "index.js",
"author": {
"name": "Jean-Emmanuel Doucet / AMMD",
diff --git a/package.json b/package.json
index 6cc1bbcc..5d6310b9 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "open-stage-control-builder",
"description": "A libre desktop OSC bi-directionnal control surface application - builder package",
"dependencies": {
- "electron": "1.4.3",
+ "electron": "1.4.4",
"browserify": "13.1.0",
"node-sass": "^3.7.0",
"nodemon": "^1.9.2",
@@ -24,5 +24,5 @@
"deploy-docs": "cd resources && mkdocs gh-deploy --clean && rm -rf site",
"test": "npm run build"
},
- "version": "0.8.3-1"
+ "version": "0.8.4"
}
From dd0c6b896bccd85a25946661993d58f5d697de16 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sat, 22 Oct 2016 12:40:25 +0200
Subject: [PATCH 0121/5523] multixy: hotfix default size
---
src/browser/scss/widgets/_pads.scss | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/browser/scss/widgets/_pads.scss b/src/browser/scss/widgets/_pads.scss
index c2fa45b3..c6cc2878 100644
--- a/src/browser/scss/widgets/_pads.scss
+++ b/src/browser/scss/widgets/_pads.scss
@@ -1,4 +1,4 @@
-.xy-container, .rgb-container {
+.xy-container, .rgb-container, .multixy-container {
width:200rem;
height:250rem;
flex-shrink: 0;
From 80193568d3a3b11b5f3a66ded1854773238d89f7 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 25 Oct 2016 18:47:38 +0200
Subject: [PATCH 0122/5523] multiXy: added `pointSize` option; made default
size bigger; points don't overflow the pad anymore
---
CHANGELOG.md | 6 +++++-
.../docs/user-guide/widgets-specifics/pads.md | 11 +++++++++-
src/browser/js/app/widgets/pads/multixy.js | 17 +++++++++++-----
src/browser/scss/widgets/_pads.scss | 20 ++++++++++++-------
4 files changed, 40 insertions(+), 14 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 54fc56a3..6ae112a9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,11 @@
# Changelog
-## 0.9.0
+## next
+- widgets
+ - multiXy: added `pointSize` option; made default size bigger; points don't overflow the pad anymore
+
+## 0.9.0
- widgets
- **new** `multixy` pad
diff --git a/resources/docs/user-guide/widgets-specifics/pads.md b/resources/docs/user-guide/widgets-specifics/pads.md
index 9c4930e7..cde99b5c 100644
--- a/resources/docs/user-guide/widgets-specifics/pads.md
+++ b/resources/docs/user-guide/widgets-specifics/pads.md
@@ -48,7 +48,7 @@ Pads are multidimensional widgets that output multiple values.
- usage:
- set to `true` to send separate osc messages for `x` and `y` axis. The `path` will be the same as the widget's with `/x` or `/y` appended to it
- can be set as an object to specify a different `path` : `{x:'/osc_path_x', y:'/osc_path_y'}`
-- note: the widget will only respond to its original osc path, not to the splitted version
+- note: the widget will only respond to its original osc path, not to the splitted version
----
@@ -61,6 +61,15 @@ Pads are multidimensional widgets that output multiple values.
}
```
+#### `points`
+- type: `integer`
+- default: `2`
+- usage: defines the number of points on the pad
+
+#### `pointSize`
+- type: `integer`
+- default: `15`
+- usage: defines the points's size
#### `rangeX`
- type: `object`
diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js
index 8834e692..9ab0d362 100644
--- a/src/browser/js/app/widgets/pads/multixy.js
+++ b/src/browser/js/app/widgets/pads/multixy.js
@@ -10,6 +10,7 @@ module.exports.options = {
separator1:'multi xy',
points: 2,
+ pointSize: 15,
separator2:'style',
@@ -38,6 +39,9 @@ var MultiXy = module.exports.MultiXy = function(widgetData) {
_pads_base.apply(this,arguments)
+ this.pointSize = parseInt(this.widgetData.pointSize)
+ this.widget[0].style.setProperty("--point-size",this.pointSize + 'rem')
+
this.split = this.widgetData.split?
typeof this.widgetData.split == 'object'?
this.widgetData.split
@@ -105,6 +109,9 @@ var MultiXy = module.exports.MultiXy = function(widgetData) {
}
this.setValue(v)
+ this.draw()
+ this.updateHandlesPosition()
+
}
@@ -121,8 +128,8 @@ MultiXy.prototype.resizeHandle = function(){
MultiXy.prototype.updateHandlesPosition = function(){
for (var i=0;i .pad {
+ --point-size:10rem;
> .wrapper {
+ padding: calc(var(--point-size) + 1rem);
+ > canvas {
+ top:0;
+ left:0;
+ }
> .pad {
position: absolute;
- width:100%;
- height:100%;
+ width:calc(100% - calc(var(--point-size) * 2 + 2rem));
+ height:calc(100% - calc(var(--point-size) * 2 + 2rem));
pointer-events: none;
.wrapper {
background: transparent;
@@ -116,12 +122,12 @@
position: absolute;
left:0;
bottom:0;
- width:24rem;
- height: 24rem;
- margin:0 0 -12rem -12rem;
+ width:calc(var(--point-size) * 2 + 4rem);
+ height: calc(var(--point-size) * 2 + 4rem);
+ margin:0 0 calc(-1 * var(--point-size) - 2rem) calc(-1 * var(--point-size) - 2rem);
text-align: center;
- line-height: 24rem;
- border-radius: 24rem;
+ line-height: calc(var(--point-size) * 2 + 4rem);
+ border-radius: calc(var(--point-size) * 2 + 4rem);
cursor: -webkit-grab;
opacity: 0;
}
From 965423fbc88b7e5a3d1183eb64c878253f03b0d7 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 25 Oct 2016 19:04:48 +0200
Subject: [PATCH 0123/5523] multixy: clean the useless
---
src/browser/js/app/widgets/pads/multixy.js | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js
index 9ab0d362..9d31272a 100644
--- a/src/browser/js/app/widgets/pads/multixy.js
+++ b/src/browser/js/app/widgets/pads/multixy.js
@@ -109,10 +109,6 @@ var MultiXy = module.exports.MultiXy = function(widgetData) {
}
this.setValue(v)
- this.draw()
- this.updateHandlesPosition()
-
-
}
From f0417188da0bab8cc6aa63b7cb3378343767c28e Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 26 Oct 2016 09:31:37 +0200
Subject: [PATCH 0124/5523] drag: clean insepector-fake-touchevent test
---
src/browser/js/jquery/jquery.drag.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/browser/js/jquery/jquery.drag.js b/src/browser/js/jquery/jquery.drag.js
index a1a866bd..a8422d59 100644
--- a/src/browser/js/jquery/jquery.drag.js
+++ b/src/browser/js/jquery/jquery.drag.js
@@ -43,7 +43,7 @@
mouseStartHandler = function(e){
// ignore mouse event when fired by a simulated touch event
- if (e.originalEvent.sourceCapabilities.firesTouchEvents || e.button == 2) return
+ if ((e.originalEvent.sourceCapabilities && e.originalEvent.sourceCapabilities.firesTouchEvents) || e.button == 2) return
isPointerDown = true
target = $this
@@ -84,7 +84,7 @@
e.stopPropagation()
// ignore mouse event when fired by a simulated touch event
- if (e.originalEvent.sourceCapabilities.firesTouchEvents) return
+ if (e.originalEvent.sourceCapabilities && e.originalEvent.sourceCapabilities.firesTouchEvents) return
e.speedX = e.pageX - previousEvent.pageX
e.speedY = e.pageY - previousEvent.pageY
From a6363a054e0c499039b99c190fb96d1940a11063 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 26 Oct 2016 15:28:01 +0200
Subject: [PATCH 0125/5523] package: bump 0.9.1
---
CHANGELOG.md | 4 ++--
app/package.json | 2 +-
package.json | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6ae112a9..a57ab85a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,9 +1,9 @@
# Changelog
-## next
+## 0.9.1
- widgets
- - multiXy: added `pointSize` option; made default size bigger; points don't overflow the pad anymore
+ - multiXy: added `pointSize` option; made default size bigger; points don't overflow the pad anymore
## 0.9.0
diff --git a/app/package.json b/app/package.json
index 66d0057d..9b47ccec 100644
--- a/app/package.json
+++ b/app/package.json
@@ -2,7 +2,7 @@
"name": "open-stage-control",
"productName": "Open Stage Control",
"description": "A libre desktop OSC bi-directionnal control surface application.",
- "version": "0.8.4",
+ "version": "0.9.1",
"main": "index.js",
"author": {
"name": "Jean-Emmanuel Doucet / AMMD",
diff --git a/package.json b/package.json
index 5d6310b9..b2567292 100644
--- a/package.json
+++ b/package.json
@@ -24,5 +24,5 @@
"deploy-docs": "cd resources && mkdocs gh-deploy --clean && rm -rf site",
"test": "npm run build"
},
- "version": "0.8.4"
+ "version": "0.9.1"
}
From f1f0894d32f6aaae04eea6e53c087ba4c324ae09 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sun, 30 Oct 2016 17:42:40 +0100
Subject: [PATCH 0126/5523] travis: update node (6.6.0) and npm (3)
---
.travis.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index e3988059..82be16bf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,11 +2,12 @@ sudo: required
dist: trusty
language: node_js
node_js:
- - "4.1"
+ - "6"
before_install:
- sudo dpkg --add-architecture i386
- sudo apt-get update -qq
- sudo apt-get install -qq wine
+ - "if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi"
install: npm install --only=dev
deploy:
provider: releases
From 7d4bfcd6ef213b2414c84b2b08edf192d7f60955 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sun, 30 Oct 2016 17:47:29 +0100
Subject: [PATCH 0127/5523] log: npm update
---
CHANGELOG.md | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a57ab85a..65291ca8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog
+## 0.9.2
+
+- bug fixes
+ - [windows] fix long path issue (#35)
+
## 0.9.1
- widgets
From 38f8f7a7677035857ab0d338a9cb5fe4b14a71fd Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sun, 30 Oct 2016 17:51:35 +0100
Subject: [PATCH 0128/5523] travis: npm is already v3 when node is v6
---
.travis.yml | 1 -
1 file changed, 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 82be16bf..7940ca3a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,7 +7,6 @@ before_install:
- sudo dpkg --add-architecture i386
- sudo apt-get update -qq
- sudo apt-get install -qq wine
- - "if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi"
install: npm install --only=dev
deploy:
provider: releases
From b635bdffc0479684bf72a34c953fd0ec575573e6 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sun, 30 Oct 2016 17:52:52 +0100
Subject: [PATCH 0129/5523] travis: remove old npm install switch
---
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 7940ca3a..a2c9004c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,7 +7,7 @@ before_install:
- sudo dpkg --add-architecture i386
- sudo apt-get update -qq
- sudo apt-get install -qq wine
-install: npm install --only=dev
+install: npm install
deploy:
provider: releases
api-key:
From 589a5ed648df391db88d75692fac6df528c8999d Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Sun, 30 Oct 2016 18:04:26 +0100
Subject: [PATCH 0130/5523] package: bump 0.9.2
---
app/package.json | 2 +-
package.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/package.json b/app/package.json
index 9b47ccec..d8902635 100644
--- a/app/package.json
+++ b/app/package.json
@@ -2,7 +2,7 @@
"name": "open-stage-control",
"productName": "Open Stage Control",
"description": "A libre desktop OSC bi-directionnal control surface application.",
- "version": "0.9.1",
+ "version": "0.9.2",
"main": "index.js",
"author": {
"name": "Jean-Emmanuel Doucet / AMMD",
diff --git a/package.json b/package.json
index b2567292..16d18f97 100644
--- a/package.json
+++ b/package.json
@@ -24,5 +24,5 @@
"deploy-docs": "cd resources && mkdocs gh-deploy --clean && rm -rf site",
"test": "npm run build"
},
- "version": "0.9.1"
+ "version": "0.9.2"
}
From 5cdbf53f6a3017bc90c6833f3ab61ad3bb194b57 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 1 Nov 2016 18:38:11 +0100
Subject: [PATCH 0131/5523] main/osc: first implementation of user custom
module support
---
app/main/osc.js | 87 +++++++++++++++++++++++++------
app/main/settings.js | 2 +
resources/docs/cutom-module.md | 35 +++++++++++++
resources/docs/getting-started.md | 1 +
4 files changed, 109 insertions(+), 16 deletions(-)
create mode 100644 resources/docs/cutom-module.md
diff --git a/app/main/osc.js b/app/main/osc.js
index 1910c0f5..a07ad32b 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -5,7 +5,9 @@ var osc = require('osc'),
ipc = require('./server').ipc,
settings = require('./settings'),
oscInPort = settings.read('oscInPort'),
- debug = settings.read('debug')
+ debug = settings.read('debug'),
+ vm = require('vm'),
+ fs = require('fs')
var oscServer = new osc.UDPPort({
@@ -13,19 +15,37 @@ var oscServer = new osc.UDPPort({
localPort: oscInPort
});
+var customModule = (function(){
+ var file = (function(){try {return fs.readFileSync(settings.read('customModule'),'utf8')} catch(err) {console.log('File not found: ' + settings.read('customModule'));return false}})(),
+ mod,
+ context = {
+ console:console,
+ sendOsc:sendOsc
+ }
+ try {
+ mod = vm.runInContext(file, vm.createContext(context))
+ } catch(err) {
+ console.log(err)
+ }
+ return mod
+})()
-oscServer.on('message', function (msg, bundle, info) {
- var data = {path: msg.address, args: msg.args}
- if (data.args.length==1) data.args = data.args[0]
- ipc.send('receiveOsc',data)
- if (debug) console.log('OSC received: ',data, 'From : ' + info.address + ':' + info.port)
-})
+var oscInFilter = function(data){
+ if (customModule.oscInFilter) {
+ return customModule.oscInFilter(data)
+ } else {
+ return data
+ }
+}
+var oscOutFilter = function(data){
+ if (customModule.oscOutFilter) {
+ return customModule.oscOutFilter(data)
+ } else {
+ return data
+ }
+}
-oscServer.on('error', function (error) {
- console.log(error)
-})
-oscServer.open()
var parseType = function(type){
@@ -53,6 +73,44 @@ var parseArg = function(arg,precision){
}
}
+var sendOsc = function(data){
+
+ if (!data) return
+
+ oscServer.send({
+ address: data.address,
+ args: data.args
+ }, data.host, data.port);
+
+ if (debug) console.log('OSC sent: ',{path:data.address, args: data.args}, 'To : ' + data.host + ':' + data.port)
+
+}
+
+var receiveOsc = function(data, info){
+
+ if (!data) return
+
+ if (data.args.length==1) data.args = data.args[0]
+
+ ipc.send('receiveOsc',data)
+
+ if (debug) console.log('OSC received: ', {path:data.address, args: data.args}, 'From : ' + data.address + ':' + data.port)
+
+}
+
+
+oscServer.on('message', function (msg, bundle, info) {
+ var data = oscInFilter({path: msg.address, args: msg.args, host: info.address, port: info.port})
+ receiveOsc(data)
+})
+
+oscServer.on('error', function (error) {
+ console.log(error)
+})
+
+oscServer.open()
+
+
module.exports = {
send: function(host,port,path,args,precision) {
@@ -69,12 +127,9 @@ module.exports = {
if (arg!=null) message.push(arg)
}
- oscServer.send({
- address: path,
- args: message
- }, host, port);
+ var data = oscOutFilter({address:path, args: message, host: host, port: port})
- if (debug) console.log('OSC sent: ',{path:path,args:message}, 'To : ' + host + ':' + port)
+ sendOsc(data)
}
}
diff --git a/app/main/settings.js b/app/main/settings.js
index 422ea43c..2eebf09e 100644
--- a/app/main/settings.js
+++ b/app/main/settings.js
@@ -11,6 +11,7 @@ var argv = require('yargs')
.options({
's':{alias:'sync',type:'array',describe:'synchronized hosts (ip:port pairs)'},
'l':{alias:'load',type:'string',describe:'session file to load'},
+ 'c':{alias:'custom-module',type:'string',describe:'custom module file to load'},
'p':{alias:'port',describe:'http port of the server (default to 8080)'},
'o':{alias:'osc-port',describe:'osc input port'},
'd':{alias:'debug',describe:'log received osc messages in the console'},
@@ -38,6 +39,7 @@ var config = function(){try {return JSON.parse(fs.readFileSync(configFile,'utf-8
httpPort: argv.p || 8080,
debug: argv.d || false,
sessionFile: argv.l || false,
+ customModule: argv.c || false,
noGui: argv.n || false,
guiOnly: argv.g || false,
appAddresses:function(){
diff --git a/resources/docs/cutom-module.md b/resources/docs/cutom-module.md
new file mode 100644
index 00000000..0bd79794
--- /dev/null
+++ b/resources/docs/cutom-module.md
@@ -0,0 +1,35 @@
+# Custom module
+
+Using the `-c / --custom-module` command-line switch, users can load a javascript file to tune the way Open Stage Control behaves regarding osc.
+
+It must be of the following form:
+
+```js
+(function(){
+
+ // Do whatever you want, initialize some variables, declare some functions, ...
+
+ return {
+ oscInFilter:function(data){
+ var {address, args, host, port} = data
+
+ // do what you want
+
+ // return data if you want the message to be processed (and sent)
+ return data
+
+ },
+ oscOutFilter:function(data){
+ // same as oscInFilter
+ }
+ }
+
+})()
+
+```
+
+The module is executed in a restricted context, only a few globals are available :
+
+- `console` object
+- `sendOsc` function
+- `receiveOsc` function
diff --git a/resources/docs/getting-started.md b/resources/docs/getting-started.md
index 9b3e715e..35f94249 100644
--- a/resources/docs/getting-started.md
+++ b/resources/docs/getting-started.md
@@ -10,6 +10,7 @@ Prebuilt binaries for Linux, Windows and OS X can be found on the [release](http
Options:
-s, --sync synchronized hosts (ip:port pairs)
-l, --load session file to load
+ -c, --custom-module custom module file to load
-p, --port http port of the server (default to 8080)
-o, --osc-port osc input port
-d, --debug log received osc messages in the console
From be3b5bca4ac9d47e1dbb4b44567d96fe55eaec41 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 1 Nov 2016 19:24:36 +0100
Subject: [PATCH 0132/5523] docs: custom module infos
---
resources/docs/cutom-module.md | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/resources/docs/cutom-module.md b/resources/docs/cutom-module.md
index 0bd79794..96b4d97f 100644
--- a/resources/docs/cutom-module.md
+++ b/resources/docs/cutom-module.md
@@ -11,16 +11,23 @@ It must be of the following form:
return {
oscInFilter:function(data){
+ // Filter incomming osc messages
+
var {address, args, host, port} = data
// do what you want
- // return data if you want the message to be processed (and sent)
+ // return data if you want the message to be processed
return data
},
oscOutFilter:function(data){
+ // Filter outgoing osc messages
+
// same as oscInFilter
+
+ // return data if you want the message to be and sent
+ return data
}
}
@@ -30,6 +37,6 @@ It must be of the following form:
The module is executed in a restricted context, only a few globals are available :
-- `console` object
-- `sendOsc` function
-- `receiveOsc` function
+- `console`: `object`
+- `sendOsc`: `function({address, args, host, port})`
+- `receiveOsc`: `function({address, args, host, port})`
From c7820d1b7f4e2d40bf07fa311590c0d4af7a90f2 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 1 Nov 2016 19:26:39 +0100
Subject: [PATCH 0133/5523] custom module: dont load if false
---
app/main/osc.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/app/main/osc.js b/app/main/osc.js
index a07ad32b..a5729874 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -16,7 +16,9 @@ var oscServer = new osc.UDPPort({
});
var customModule = (function(){
- var file = (function(){try {return fs.readFileSync(settings.read('customModule'),'utf8')} catch(err) {console.log('File not found: ' + settings.read('customModule'));return false}})(),
+ if (!settings.read('customModule')) return false
+
+ var file = (function(){try {return fs.readFileSync(settings.read('customModule'),'utf8')} catch(err) {console.log('CustomModule Error: File not found: ' + settings.read('customModule'));return false}})(),
mod,
context = {
console:console,
From dd07aabbd659259e9d64042b55903daf7772c49b Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 1 Nov 2016 19:37:09 +0100
Subject: [PATCH 0134/5523] custom module: add receiveOsc()
---
app/main/osc.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/app/main/osc.js b/app/main/osc.js
index a5729874..2aea8dfd 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -21,8 +21,9 @@ var customModule = (function(){
var file = (function(){try {return fs.readFileSync(settings.read('customModule'),'utf8')} catch(err) {console.log('CustomModule Error: File not found: ' + settings.read('customModule'));return false}})(),
mod,
context = {
- console:console,
- sendOsc:sendOsc
+ console: console,
+ sendOsc: sendOsc,
+ receiveOsc: receiveOsc
}
try {
mod = vm.runInContext(file, vm.createContext(context))
From 534055b2b1f06ab8908f97c16e7739bae0ec3398 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Tue, 1 Nov 2016 19:42:02 +0100
Subject: [PATCH 0135/5523] osc/custom module: fix functions declaration order
---
app/main/osc.js | 69 ++++++++++++++++++++++++-------------------------
1 file changed, 34 insertions(+), 35 deletions(-)
diff --git a/app/main/osc.js b/app/main/osc.js
index 2aea8dfd..244d62d4 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -15,41 +15,6 @@ var oscServer = new osc.UDPPort({
localPort: oscInPort
});
-var customModule = (function(){
- if (!settings.read('customModule')) return false
-
- var file = (function(){try {return fs.readFileSync(settings.read('customModule'),'utf8')} catch(err) {console.log('CustomModule Error: File not found: ' + settings.read('customModule'));return false}})(),
- mod,
- context = {
- console: console,
- sendOsc: sendOsc,
- receiveOsc: receiveOsc
- }
- try {
- mod = vm.runInContext(file, vm.createContext(context))
- } catch(err) {
- console.log(err)
- }
- return mod
-})()
-
-var oscInFilter = function(data){
- if (customModule.oscInFilter) {
- return customModule.oscInFilter(data)
- } else {
- return data
- }
-}
-var oscOutFilter = function(data){
- if (customModule.oscOutFilter) {
- return customModule.oscOutFilter(data)
- } else {
- return data
- }
-}
-
-
-
var parseType = function(type){
var t = type[0].match(/[bhtdscrmifTFNI]/)
@@ -101,6 +66,40 @@ var receiveOsc = function(data, info){
}
+var customModule = (function(){
+ if (!settings.read('customModule')) return false
+
+ var file = (function(){try {return fs.readFileSync(settings.read('customModule'),'utf8')} catch(err) {console.log('CustomModule Error: File not found: ' + settings.read('customModule'));return false}})(),
+ mod,
+ context = {
+ console: console,
+ sendOsc: sendOsc,
+ receiveOsc: receiveOsc
+ }
+ try {
+ mod = vm.runInContext(file, vm.createContext(context))
+ } catch(err) {
+ console.log(err)
+ }
+ return mod
+})()
+
+
+var oscInFilter = function(data){
+ if (customModule.oscInFilter) {
+ return customModule.oscInFilter(data)
+ } else {
+ return data
+ }
+}
+var oscOutFilter = function(data){
+ if (customModule.oscOutFilter) {
+ return customModule.oscOutFilter(data)
+ } else {
+ return data
+ }
+}
+
oscServer.on('message', function (msg, bundle, info) {
var data = oscInFilter({path: msg.address, args: msg.args, host: info.address, port: info.port})
From de0a4fe561ab1ec2285d4477404ae3cd079daa47 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 08:16:05 +0100
Subject: [PATCH 0136/5523] log: custom module
---
CHANGELOG.md | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 65291ca8..c254ee6e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog
+## next
+
+- main
+ - **new** `-c / --custom-module` allowing user to define custom osc filtering fonctions
+
+
## 0.9.2
- bug fixes
From b397115e54cfe57694502b5f96c1a7be5926c19c Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 08:19:15 +0100
Subject: [PATCH 0137/5523] log: missing word
---
CHANGELOG.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c254ee6e..62798646 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,7 +3,7 @@
## next
- main
- - **new** `-c / --custom-module` allowing user to define custom osc filtering fonctions
+ - **new** `-c / --custom-module` switch allowing user to define custom osc filtering fonctions
## 0.9.2
From 4552bd66572132ed2e8bf0a42e1eb39a60f4de72 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 08:54:53 +0100
Subject: [PATCH 0138/5523] osc: use 'address' instead of 'path' everywhere to
avoid confusion
---
CHANGELOG.md | 1 +
app/main/callbacks.js | 2 +-
app/main/osc.js | 10 +++++-----
resources/docs/user-guide/widgets-generics.md | 4 ++--
.../user-guide/widgets-specifics/matrices.md | 6 +++---
.../docs/user-guide/widgets-specifics/pads.md | 16 +++++++--------
.../user-guide/widgets-specifics/sliders.md | 2 +-
src/browser/js/app.js | 2 +-
src/browser/js/app/callbacks.js | 18 ++++++++---------
src/browser/js/app/editor/data-workers.js | 20 +++++++++----------
src/browser/js/app/parser.js | 16 ++++++++-------
.../js/app/widgets/common/_widgets_base.js | 4 ++--
.../js/app/widgets/matrices/multifader.js | 4 ++--
.../js/app/widgets/matrices/multipush.js | 4 ++--
.../js/app/widgets/matrices/multitoggle.js | 4 ++--
src/browser/js/app/widgets/pads/multixy.js | 6 +++---
src/browser/js/app/widgets/pads/rgb.js | 4 ++--
src/browser/js/app/widgets/pads/xy.js | 4 ++--
src/browser/js/app/widgets/plots/eq.js | 2 +-
src/browser/js/app/widgets/plots/led.js | 2 +-
src/browser/js/app/widgets/plots/meter.js | 2 +-
src/browser/js/app/widgets/plots/plot.js | 2 +-
src/browser/js/app/widgets/plots/text.js | 2 +-
.../js/app/widgets/plots/visualizer.js | 2 +-
src/browser/js/app/widgets/push.js | 4 ++--
src/browser/js/app/widgets/sliders/fader.js | 4 ++--
src/browser/js/app/widgets/sliders/knob.js | 2 +-
src/browser/js/app/widgets/switch.js | 4 ++--
src/browser/js/app/widgets/toggle.js | 4 ++--
29 files changed, 80 insertions(+), 77 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 62798646..5c1593d0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@
- main
- **new** `-c / --custom-module` switch allowing user to define custom osc filtering fonctions
+ - `address` is now used everywhere instead of `path` to describe osc address to avoid confusion. Session files using the old `path` option for widgets are still supported.
## 0.9.2
diff --git a/app/main/callbacks.js b/app/main/callbacks.js
index ffc8a83e..763eb783 100644
--- a/app/main/callbacks.js
+++ b/app/main/callbacks.js
@@ -80,7 +80,7 @@ module.exports = {
var host = targets[i].split(':')[0],
port = targets[i].split(':')[1]
- if (port) osc.send(host,port,data.path,data.args,data.precision)
+ if (port) osc.send(host,port,data.address,data.args,data.precision)
}
},
diff --git a/app/main/osc.js b/app/main/osc.js
index 244d62d4..1ced4919 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -50,7 +50,7 @@ var sendOsc = function(data){
args: data.args
}, data.host, data.port);
- if (debug) console.log('OSC sent: ',{path:data.address, args: data.args}, 'To : ' + data.host + ':' + data.port)
+ if (debug) console.log('OSC sent: ',{address:data.address, args: data.args}, 'To : ' + data.host + ':' + data.port)
}
@@ -62,7 +62,7 @@ var receiveOsc = function(data, info){
ipc.send('receiveOsc',data)
- if (debug) console.log('OSC received: ', {path:data.address, args: data.args}, 'From : ' + data.address + ':' + data.port)
+ if (debug) console.log('OSC received: ', {address:data.address, args: data.args}, 'From : ' + data.address + ':' + data.port)
}
@@ -102,7 +102,7 @@ var oscOutFilter = function(data){
oscServer.on('message', function (msg, bundle, info) {
- var data = oscInFilter({path: msg.address, args: msg.args, host: info.address, port: info.port})
+ var data = oscInFilter({address: msg.address, args: msg.args, host: info.address, port: info.port})
receiveOsc(data)
})
@@ -115,7 +115,7 @@ oscServer.open()
module.exports = {
- send: function(host,port,path,args,precision) {
+ send: function(host,port,address,args,precision) {
var message = []
@@ -129,7 +129,7 @@ module.exports = {
if (arg!=null) message.push(arg)
}
- var data = oscOutFilter({address:path, args: message, host: host, port: port})
+ var data = oscOutFilter({address:address, args: message, host: host, port: port})
sendOsc(data)
diff --git a/resources/docs/user-guide/widgets-generics.md b/resources/docs/user-guide/widgets-generics.md
index 2fc1d5e6..322d7a7d 100644
--- a/resources/docs/user-guide/widgets-generics.md
+++ b/resources/docs/user-guide/widgets-generics.md
@@ -85,10 +85,10 @@ A widget object is a javascript object. All widgets share a set of generic prope
- each element of the `array` must be a string formatted as follows : `"ip:port"`
- multiple targets can be specified : `["ip1:port1","ip2:port2"]`
-#### `path`
+#### `address`
- type: `string`
- default: `/widgets_id`
-- usage: this is the `path` of the osc messages sent by the widget
+- usage: this is the `address` of the osc messages sent by the widget
#### `preArgs`
- type: `array`
diff --git a/resources/docs/user-guide/widgets-specifics/matrices.md b/resources/docs/user-guide/widgets-specifics/matrices.md
index b35c6e4d..13a9115c 100644
--- a/resources/docs/user-guide/widgets-specifics/matrices.md
+++ b/resources/docs/user-guide/widgets-specifics/matrices.md
@@ -19,7 +19,7 @@ Multifader creates a row of vertical faders that respond to the same gestures.
- usage: number of faders in the row, each fader will inherit its parent's properties and the following ones (where `i` is the fader's index in the row)
- `id`: same as the widget's with `/i` appended to it
- `label`: `i`
- - `path`: same as the widget's with `/i` appended to it
+ - `address`: same as the widget's with `/i` appended to it
#### `traversing`
- type: `boolean`
@@ -46,7 +46,7 @@ Multifader creates a row of vertical faders that respond to the same gestures.
- usage: defines the number of columns and and rows. Each cell will contain a toggle button that will inherit its parent's properties and the following ones (where `i` is the fader's index in the row)
- `id`: same as the widget's with `/i` appended to it
- `label`: `i`
- - `path`: same as the widget's with `/i` appended to it
+ - `address`: same as the widget's with `/i` appended to it
#### `traversing`
- type: `boolean`
@@ -72,7 +72,7 @@ Multifader creates a row of vertical faders that respond to the same gestures.
- usage: defines the number of columns and and rows. Each cell will contain a push button that will inherit its parent's properties and the following ones (where `i` is the fader's index in the row)
- `id`: same as the widget's with `/i` appended to it
- `label`: `i`
- - `path`: same as the widget's with `/i` appended to it
+ - `address`: same as the widget's with `/i` appended to it
#### `traversing`
- type: `boolean`
diff --git a/resources/docs/user-guide/widgets-specifics/pads.md b/resources/docs/user-guide/widgets-specifics/pads.md
index cde99b5c..9d775232 100644
--- a/resources/docs/user-guide/widgets-specifics/pads.md
+++ b/resources/docs/user-guide/widgets-specifics/pads.md
@@ -46,9 +46,9 @@ Pads are multidimensional widgets that output multiple values.
- type: `boolean|object`
- default: `false`
- usage:
- - set to `true` to send separate osc messages for `x` and `y` axis. The `path` will be the same as the widget's with `/x` or `/y` appended to it
- - can be set as an object to specify a different `path` : `{x:'/osc_path_x', y:'/osc_path_y'}`
-- note: the widget will only respond to its original osc path, not to the splitted version
+ - set to `true` to send separate osc messages for `x` and `y` axis. The `address` will be the same as the widget's with `/x` or `/y` appended to it
+ - can be set as an object to specify a different `address` : `{x:'/osc_address_x', y:'/osc_address_y'}`
+- note: the widget will only respond to its original osc address, not to the splitted version
----
@@ -98,9 +98,9 @@ Pads are multidimensional widgets that output multiple values.
- type: `boolean|object`
- default: `false`
- usage:
- - set to `true` to send separate osc messages for each point's `x` and `y` axis. The `path` will be the same as the widget's with `/N/x` or `/N/y` appended to it, where `N` is the point's id.
- - can be set as an object to specify a different `path` : `{0:'/osc_path/0', 1:'/osc_path_/1'}` (each path will be appended `/x` or `y`)
-- note: the widget will only respond to its original osc path, not to the splitted version
+ - set to `true` to send separate osc messages for each point's `x` and `y` axis. The `address` will be the same as the widget's with `/N/x` or `/N/y` appended to it, where `N` is the point's id.
+ - can be set as an object to specify a different `address` : `{0:'/osc_address/0', 1:'/osc_address_/1'}` (each address will be appended `/x` or `y`)
+- note: the widget will only respond to its original osc address, not to the splitted version
----
@@ -128,5 +128,5 @@ RGB is a variant of XY, it outputs rgb values between 0 and 255.
- type: `boolean|object`
- default: `false`
- usage:
- - set to `true` to send separate osc messages for `r` and `g` & `b`. The `path` will be the same as the widget's with `/r`, `/g` or `/b` appended to it
- - can be set as an object to specify a different `path` : `{r:'/osc_path_r', g:'/osc_path_g',b:'/osc_path_b'}`
+ - set to `true` to send separate osc messages for `r` and `g` & `b`. The `address` will be the same as the widget's with `/r`, `/g` or `/b` appended to it
+ - can be set as an object to specify a different `address` : `{r:'/osc_address_r', g:'/osc_address_g',b:'/osc_address_b'}`
diff --git a/resources/docs/user-guide/widgets-specifics/sliders.md b/resources/docs/user-guide/widgets-specifics/sliders.md
index 5e535923..5df00591 100644
--- a/resources/docs/user-guide/widgets-specifics/sliders.md
+++ b/resources/docs/user-guide/widgets-specifics/sliders.md
@@ -77,7 +77,7 @@ range: {
- default: `false`
- usage: set to true to display a vu-meter next in the fader
- the meter's `id` will be the same as the widget's with `/meter` appended to it
- - the meter's `path `will be the same as the widget's with `/meter` appended to it
+ - the meter's `address `will be the same as the widget's with `/meter` appended to it
#### `css`
diff --git a/src/browser/js/app.js b/src/browser/js/app.js
index b9e9e992..acccf1b5 100644
--- a/src/browser/js/app.js
+++ b/src/browser/js/app.js
@@ -2,7 +2,7 @@
WIDGETS = {}
WIDGETS_LINKED = {}
-WIDGETS_BY_PATH = {}
+WIDGETS_BY_ADDRESS = {}
SESSION = []
STATE = []
diff --git a/src/browser/js/app/callbacks.js b/src/browser/js/app/callbacks.js
index edf58607..48286665 100644
--- a/src/browser/js/app/callbacks.js
+++ b/src/browser/js/app/callbacks.js
@@ -8,17 +8,17 @@ module.exports = {
receiveOsc: function(event,data){
var data = data || event
- // fetch ids corresponding to the osc path
- var path = data.path,
- pathref = path,
+ // fetch ids corresponding to the osc address
+ var address = data.address,
+ addressref = address,
args = data.args,
target = data.target
if (typeof data.args == 'object') {
for (var i=data.args.length-1;i>=0;i--) {
- var ref = path+'||||'+data.args.slice(0,i).join('||||')
- if (WIDGETS_BY_PATH[ref]) {
- pathref = ref
+ var ref = address+'||||'+data.args.slice(0,i).join('||||')
+ if (WIDGETS_BY_ADDRESS[ref]) {
+ addressref = ref
args = data.args.slice(i,data.args.length)
continue
}
@@ -31,13 +31,13 @@ module.exports = {
if (args.length==0) args = null
else if (args.length==1) args = args[0]
- for (i in WIDGETS_BY_PATH[pathref]) {
+ for (i in WIDGETS_BY_ADDRESS[addressref]) {
// if the message target is provided (when message comes from another client connected to the same server)
// then we only update the widgets that have the same target
// compare arrays using > and < operators (both false = equality)
- if (!target || !(WIDGETS_BY_PATH[pathref][i].target < target || WIDGETS_BY_PATH[pathref][i].target > target)) {
+ if (!target || !(WIDGETS_BY_ADDRESS[addressref][i].target < target || WIDGETS_BY_ADDRESS[addressref][i].target > target)) {
// update matching widgets
- if (WIDGETS_BY_PATH[pathref][i]) WIDGETS_BY_PATH[pathref][i].setValue(args,{send:false,sync:true,fromExternal:!target})
+ if (WIDGETS_BY_ADDRESS[addressref][i]) WIDGETS_BY_ADDRESS[addressref][i].setValue(args,{send:false,sync:true,fromExternal:!target})
}
}
diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js
index 2c70bf5a..3f81f7e3 100644
--- a/src/browser/js/app/editor/data-workers.js
+++ b/src/browser/js/app/editor/data-workers.js
@@ -117,27 +117,27 @@ var incrementWidget = function(data){
var id = data.id,
label = data.label,
- path = data.path
+ address = data.address
if (id && id==label) {
data.label = 'auto'
}
- if (id && path == '/'+id) {
+ if (id && address == '/'+id) {
- data.path = 'auto'
+ data.address = 'auto'
- } else if (path){
- var pathref
- while (WIDGETS_BY_PATH[pathref]) {
- path = path.replace(/([0-9]*)$/,function(m){
+ } else if (address){
+ var addressref
+ while (WIDGETS_BY_ADDRESS[addressref]) {
+ address = address.replace(/([0-9]*)$/,function(m){
var n = parseInt(m)+1
n = isNaN(n)?1:n
return n
})
- pathref = data.preArgs&&data.preArgs.length?path+'||||'+data.preArgs.join('||||'):path
+ addressref = data.preArgs&&data.preArgs.length?address+'||||'+data.preArgs.join('||||'):address
}
- WIDGETS_BY_PATH[pathref] = []
- data.path = path
+ WIDGETS_BY_ADDRESS[addressref] = []
+ data.address = address
}
diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js
index 60dfe002..ac86cbdf 100644
--- a/src/browser/js/app/parser.js
+++ b/src/browser/js/app/parser.js
@@ -20,7 +20,7 @@ module.exports.tabs = function(data,parent,main,parentLabel){
// Reset Globals
WIDGETS = {}
WIDGETS_LINKED = {}
- WIDGETS_BY_PATH = {}
+ WIDGETS_BY_ADDRESS = {}
SESSION = data
for (i in TABS) {
if (i!='#container') {
@@ -101,7 +101,9 @@ module.exports.widgets = function(data,parent) {
widgetData.id = id
}
- widgetData.path = widgetData.path=='auto'?'/' + widgetData.id:widgetData.path
+ if (widgetData.path) widgetData.address = widgetData.path
+
+ widgetData.address = widgetData.address=='auto'?'/' + widgetData.id:widgetData.address
widgetData.target = widgetData.target?(Array.isArray(widgetData.target)?widgetData.target:[widgetData.target]):false
for (i in widgetData) {
@@ -170,11 +172,11 @@ module.exports.widgets = function(data,parent) {
WIDGETS_LINKED[widgetData.linkId].push(widgetInner)
}
- // store widget by path and encode preArgs for perfect cross-app sync
- if (widgetData.path) {
- var pathref = widgetData.preArgs&&widgetData.preArgs.length?widgetData.path+'||||'+widgetData.preArgs.join('||||'):widgetData.path
- if (WIDGETS_BY_PATH[pathref]==undefined) WIDGETS_BY_PATH[pathref] = []
- WIDGETS_BY_PATH[pathref].push(widgetInner)
+ // store widget by address and encode preArgs for perfect cross-app sync
+ if (widgetData.address) {
+ var addressref = widgetData.preArgs&&widgetData.preArgs.length?widgetData.address+'||||'+widgetData.preArgs.join('||||'):widgetData.address
+ if (WIDGETS_BY_ADDRESS[addressref]==undefined) WIDGETS_BY_ADDRESS[addressref] = []
+ WIDGETS_BY_ADDRESS[addressref].push(widgetInner)
}
parent[0].appendChild(widgetContainer[0])
diff --git a/src/browser/js/app/widgets/common/_widgets_base.js b/src/browser/js/app/widgets/common/_widgets_base.js
index ecb0ab39..c28de28d 100644
--- a/src/browser/js/app/widgets/common/_widgets_base.js
+++ b/src/browser/js/app/widgets/common/_widgets_base.js
@@ -11,7 +11,7 @@ _widget_base.prototype.sendValue = function() {
sendOsc({
target:this.widgetData.target,
- path:this.widgetData.path,
+ address:this.widgetData.address,
precision:this.widgetData.precision,
args:args,
syncOnly:this.split?true:false
@@ -22,7 +22,7 @@ _widget_base.prototype.sendValue = function() {
for (i in this.split) {
sendOsc({
target:this.widgetData.target,
- path:this.split[i],
+ address:this.split[i],
precision:this.widgetData.precision,
args:this.widgetData.preArgs.concat(this.value[n]),
sync:false
diff --git a/src/browser/js/app/widgets/matrices/multifader.js b/src/browser/js/app/widgets/matrices/multifader.js
index 5d48a7ba..e7256251 100644
--- a/src/browser/js/app/widgets/matrices/multifader.js
+++ b/src/browser/js/app/widgets/matrices/multifader.js
@@ -34,7 +34,7 @@ module.exports.options = {
logScale:false,
precision:2,
meter:false,
- path:'auto',
+ address:'auto',
preArgs:[],
target:[]
}
@@ -58,7 +58,7 @@ var Multifader = module.exports.Multifader = function(widgetData) {
data.type = 'fader'
data.id = widgetData.id + '/' + i
data.label = i
- data.path = widgetData.path + '/' + i
+ data.address = widgetData.address + '/' + i
var element = parsewidgets([data],this.widget)
element[0].setAttribute('style',`${widgetData.horizontal?'height':'width'}:${100/widgetData.strips}%`)
diff --git a/src/browser/js/app/widgets/matrices/multipush.js b/src/browser/js/app/widgets/matrices/multipush.js
index d985e073..eded254a 100644
--- a/src/browser/js/app/widgets/matrices/multipush.js
+++ b/src/browser/js/app/widgets/matrices/multipush.js
@@ -28,7 +28,7 @@ module.exports.options = {
off:0,
norelease:false,
precision:2,
- path:'auto',
+ address:'auto',
preArgs:[],
target:[]
}
@@ -49,7 +49,7 @@ var Multipush = module.exports.Multipush = function(widgetData) {
data.type = 'push'
data.id = widgetData.id + '/' + i
data.label = i
- data.path = widgetData.path + '/' + i
+ data.address = widgetData.address + '/' + i
var element = parsewidgets([data],this.widget)
element[0].setAttribute('style',`width:${100/widgetData.matrix[0]}%`)
diff --git a/src/browser/js/app/widgets/matrices/multitoggle.js b/src/browser/js/app/widgets/matrices/multitoggle.js
index 25a3cf1f..b34b5ea0 100644
--- a/src/browser/js/app/widgets/matrices/multitoggle.js
+++ b/src/browser/js/app/widgets/matrices/multitoggle.js
@@ -27,7 +27,7 @@ module.exports.options = {
on:1,
off:0,
precision:2,
- path:'auto',
+ address:'auto',
preArgs:[],
target:[]
}
@@ -47,7 +47,7 @@ var Multitoggle = module.exports.Multitoggle = function(widgetData) {
data.type = 'toggle'
data.id = widgetData.id + '/' + i
data.label = i
- data.path = widgetData.path + '/' + i
+ data.address = widgetData.address + '/' + i
var element = parsewidgets([data],this.widget)
element[0].setAttribute('style',`width:${100/widgetData.matrix[0]}%`)
diff --git a/src/browser/js/app/widgets/pads/multixy.js b/src/browser/js/app/widgets/pads/multixy.js
index 9d31272a..7ea840d3 100644
--- a/src/browser/js/app/widgets/pads/multixy.js
+++ b/src/browser/js/app/widgets/pads/multixy.js
@@ -29,7 +29,7 @@ module.exports.options = {
logScaleX:false,
logScaleY:false,
precision:2,
- path:'auto',
+ address:'auto',
preArgs:[],
split:false,
target:[]
@@ -48,8 +48,8 @@ var MultiXy = module.exports.MultiXy = function(widgetData) {
: (()=>{
var s={};
for (var i=0; i
Date: Wed, 2 Nov 2016 09:44:13 +0100
Subject: [PATCH 0139/5523] osc: receive osc bundles
---
CHANGELOG.md | 3 ++-
app/main/osc.js | 10 +++++++---
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5c1593d0..a63f643c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,8 @@
- main
- **new** `-c / --custom-module` switch allowing user to define custom osc filtering fonctions
- - `address` is now used everywhere instead of `path` to describe osc address to avoid confusion. Session files using the old `path` option for widgets are still supported.
+ - `address` is now used everywhere instead of `path` to describe osc address to avoid confusion. Session files using the old `path` option for widgets are still supported.
+ - **osc bundles** are properly received (subsequent messages are processed separately with a delay if the timetag is set)
## 0.9.2
diff --git a/app/main/osc.js b/app/main/osc.js
index 1ced4919..bfa734fb 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -101,9 +101,13 @@ var oscOutFilter = function(data){
}
-oscServer.on('message', function (msg, bundle, info) {
- var data = oscInFilter({address: msg.address, args: msg.args, host: info.address, port: info.port})
- receiveOsc(data)
+oscServer.on('message', function (msg, timetag, info) {
+ var delay = timetag? Math.max(0,timetag.native - Date.now()) : 0,
+ timer = delay ? setTimeout : setImmediate
+ setTimeout(()=>{
+ var data = oscInFilter({address: msg.address, args: msg.args, host: info.address, port: info.port})
+ receiveOsc(data)
+ }, delay)
})
oscServer.on('error', function (error) {
From a6d824de1f1eae9bbf41898b6e6521ae2ae2f43f Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 09:53:32 +0100
Subject: [PATCH 0140/5523] osc: don't use timer if delay=0 to (it messes with
the execution order)
---
app/main/osc.js | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/app/main/osc.js b/app/main/osc.js
index bfa734fb..3953eb78 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -100,14 +100,20 @@ var oscOutFilter = function(data){
}
}
+var oscInHandler = function(msg, timetag, info){
+ var data = oscInFilter({address: msg.address, args: msg.args, host: info.address, port: info.port})
+ receiveOsc(data)
+}
oscServer.on('message', function (msg, timetag, info) {
- var delay = timetag? Math.max(0,timetag.native - Date.now()) : 0,
- timer = delay ? setTimeout : setImmediate
- setTimeout(()=>{
- var data = oscInFilter({address: msg.address, args: msg.args, host: info.address, port: info.port})
- receiveOsc(data)
- }, delay)
+ var delay = timetag? Math.max(0,timetag.native - Date.now()) : 0
+ if (delay) {
+ setTimeout(()=>{
+ oscInHandler(msg, timetag, info)
+ }, delay)
+ } else {
+ oscInHandler(msg, timetag, info)
+ }
})
oscServer.on('error', function (error) {
From 74542b4ccb0104e6488c6fa5a70a84801a648222 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 09:58:54 +0100
Subject: [PATCH 0141/5523] examples: update sessions according to new specs
---
app/examples/audio.js | 13689 +++++++++++++++++++++++++++++---------
app/examples/eq.js | 99 +-
app/examples/plot.js | 122 +-
app/examples/widgets.js | 416 +-
4 files changed, 10793 insertions(+), 3533 deletions(-)
diff --git a/app/examples/audio.js b/app/examples/audio.js
index 5ad92c29..d0daed26 100644
--- a/app/examples/audio.js
+++ b/app/examples/audio.js
@@ -1,3842 +1,10925 @@
-(function(){
-
-nmPorts = {
- 'MainMix':'SCSon:6666',
- 'Drums':'SCSon:6667',
- 'Basses':'SCSon:6668',
- 'Guitars':'SCSon:6669',
- 'MxSynths':'SCSon:6670',
- 'MxDrums':'SCSon:6671',
- 'Vocals':'SCSon:6672',
- 'Toms':'SCSon:6673',
- 'Acoustics':'SCSon:6674',
- 'MonitorsDag':'SCSon:6675',
- 'MonitorsJeannot':'SCSon:6676',
- '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}
-
-
-return [
+[
{
- id: "MainMix",
- label: "MainMix",
- widgets: [
+ "label": "MainMix",
+ "widgets": [
{
- id: "Drums",
- label: "Drums",
- range: nmRange,
- target: nmPorts['MainMix'],
- path: "/strip/Drums/Gain/Gain%20(dB)/unscaled"
+ "id": "Drums",
+ "label": "Drums",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Drums/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "Basses",
- label: "Basses",
- range: nmRange,
- target: nmPorts['MainMix'],
- path: "/strip/Basses/Gain/Gain%20(dB)/unscaled"
+ "id": "Basses",
+ "label": "Basses",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Basses/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "Guitars",
- label: "Guitars",
- range: nmRange,
- target: nmPorts['MainMix'],
- path: "/strip/Guitars/Gain/Gain%20(dB)/unscaled"
+ "id": "Guitars",
+ "label": "Guitars",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Guitars/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "MxSynths",
- label: "MxSynths",
- range: nmRange,
- target: nmPorts['MainMix'],
- path: "/strip/MxSynths/Gain/Gain%20(dB)/unscaled"
+ "id": "MxSynths",
+ "label": "MxSynths",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/MxSynths/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "MxDrums",
- label: "MxDrums",
- range: nmRange,
- target: nmPorts['MainMix'],
- path: "/strip/MxDrums/Gain/Gain%20(dB)/unscaled"
+ "id": "MxDrums",
+ "label": "MxDrums",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/MxDrums/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "Vocals",
- label: "Vocals",
- range: nmRange,
- target: nmPorts['MainMix'],
- path: "/strip/Vocals/Gain/Gain%20(dB)/unscaled"
+ "id": "Vocals",
+ "label": "Vocals",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Vocals/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "Acoustics",
- label: "Acoustics",
- range: nmRange,
- target: nmPorts['MainMix'],
- path: "/strip/Acoustics/Gain/Gain%20(dB)/unscaled"
+ "id": "Acoustics",
+ "label": "Acoustics",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Acoustics/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "FOH",
- label: "FOH",
- range: nmRange,
- target: "SCSon:6678",
- path: "/strip/FOH/Gain/Gain%20(dB)/unscaled",
- color: "turquoise"
+ "id": "FOH",
+ "label": "FOH",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6678"
+ ],
+ "color": "turquoise",
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FOH/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
}
]
},
{
- id: "Drums",
- label: "Drums",
- tabs: [
+ "label": "Drums",
+ "tabs": [
{
- id: "Drumset",
- label: "Drumset",
- widgets: [
+ "label": "Drumset",
+ "widgets": [
{
- id: "Kick",
- label: "Kick",
- range: nmRange,
- target: nmPorts['Drums'],
- path: "/strip/Kick/Gain/Gain%20(dB)/unscaled"
+ "id": "Kick",
+ "label": "Kick",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6667"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Kick/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "Snare",
- label: "Snare",
- range: nmRange,
- target: nmPorts['Drums'],
- path: "/strip/Snare/Gain/Gain%20(dB)/unscaled"
+ "id": "Snare",
+ "label": "Snare",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6667"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Snare/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "Toms",
- label: "Toms",
- range: nmRange,
- target: nmPorts['Drums'],
- path: "/strip/Toms/Gain/Gain%20(dB)/unscaled"
+ "id": "Toms",
+ "label": "Toms",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6667"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Toms/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "OH_L",
- label: "OH-L",
- range: nmRange,
- target: nmPorts['Drums'],
- path: "/strip/OH-L/Gain/Gain%20(dB)/unscaled"
+ "id": "OH_L",
+ "label": "OH-L",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6667"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/OH-L/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "OH_R",
- label: "OH-R",
- range: nmRange,
- target: nmPorts['Drums'],
- path: "/strip/OH-R/Gain/Gain%20(dB)/unscaled"
+ "id": "OH_R",
+ "label": "OH-R",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6667"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/OH-R/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "Drums",
- label: "Drums",
- range: nmRange,
- target: nmPorts['MainMix'],
- path: "/strip/Drums/Gain/Gain%20(dB)/unscaled",
- color: "turquoise"
+ "id": "Drums",
+ "label": "Drums",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "color": "turquoise",
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Drums/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
}
]
},
{
- id: "Toms",
- widgets: [
+ "widgets": [
{
- id: "Tom1",
- label: "Tom1",
- range: nmRange,
- target: nmPorts['Toms'],
- path: "/strip/Tom1/Gain/Gain%20(dB)/unscaled"
+ "id": "Tom1",
+ "label": "Tom1",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6673"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Tom1/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "Tom2",
- label: "Tom2",
- range: nmRange,
- target: nmPorts['Toms'],
- path: "/strip/Tom2/Gain/Gain%20(dB)/unscaled"
+ "id": "Tom2",
+ "label": "Tom2",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6673"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Tom2/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "Tom3",
- label: "Tom3",
- range: nmRange,
- target: nmPorts['Toms'],
- path: "/strip/Tom3/Gain/Gain%20(dB)/unscaled"
+ "id": "Tom3",
+ "label": "Tom3",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6673"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Tom3/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "Toms",
- label: "Toms",
- range: nmRange,
- target: nmPorts['Drums'],
- path: "/strip/Toms/Gain/Gain%20(dB)/unscaled",
- color: "turquoise"
+ "id": "Toms",
+ "label": "Toms",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6667"
+ ],
+ "color": "turquoise",
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Toms/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "label": "Toms"
},
{
- id: "EQs",
- tabs: [
+ "tabs": [
{
- id: "EQ_Drums",
- label: "Drumset",
- widgets: [
+ "label": "Drumset",
+ "widgets": [
{
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
{
- id: "EQ_Freq_1_Drums",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
+ "id": "EQ_Freq_1_Drums",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
},
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Frequency%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_1_Drums",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_1_Drums",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Bandwidth%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_1_Drums",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_1_Drums",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Gain%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_1_Drums",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Section%201/unscaled"
+ "id": "EQ_On_1_Drums",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
{
- id: "EQ_Freq_2_Drums",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
+ "id": "EQ_Freq_2_Drums",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
},
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Frequency%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_2_Drums",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_2_Drums",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Bandwidth%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_2_Drums",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_2_Drums",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Gain%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_2_Drums",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Section%202/unscaled"
+ "id": "EQ_On_2_Drums",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
{
- id: "EQ_Freq_3_Drums",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
+ "id": "EQ_Freq_3_Drums",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
},
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Frequency%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_3_Drums",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_3_Drums",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Bandwidth%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_3_Drums",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_3_Drums",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Gain%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_3_Drums",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Section%203/unscaled"
+ "id": "EQ_On_3_Drums",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
{
- id: "EQ_Freq_4_Drums",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
+ "id": "EQ_Freq_4_Drums",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
},
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Frequency%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_4_Drums",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_4_Drums",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Bandwidth%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_4_Drums",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_4_Drums",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Gain%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_4_Drums",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Drums/4-band%20parametric%20filter/Section%204/unscaled"
+ "id": "EQ_On_4_Drums",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Drums/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
}
]
},
{
- id: "EQ_Kick",
- label: "Kick",
- widgets: [
+ "label": "Kick",
+ "widgets": [
{
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
{
- id: "EQ_Freq_1_Kick",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
+ "id": "EQ_Freq_1_Kick",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
},
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Frequency%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_1_Kick",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_1_Kick",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Bandwidth%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_1_Kick",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_1_Kick",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Gain%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_1_Kick",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Section%201/unscaled"
+ "id": "EQ_On_1_Kick",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
{
- id: "EQ_Freq_2_Kick",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
+ "id": "EQ_Freq_2_Kick",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
},
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Frequency%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_2_Kick",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_2_Kick",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Bandwidth%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_2_Kick",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_2_Kick",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Gain%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_2_Kick",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Section%202/unscaled"
+ "id": "EQ_On_2_Kick",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
{
- id: "EQ_Freq_3_Kick",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
+ "id": "EQ_Freq_3_Kick",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
},
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Frequency%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_3_Kick",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_3_Kick",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Bandwidth%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_3_Kick",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_3_Kick",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Gain%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_3_Kick",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Section%203/unscaled"
+ "id": "EQ_On_3_Kick",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
{
- id: "EQ_Freq_4_Kick",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
+ "id": "EQ_Freq_4_Kick",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
},
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Frequency%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_4_Kick",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_4_Kick",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Bandwidth%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_4_Kick",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_4_Kick",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Gain%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_4_Kick",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Kick/4-band%20parametric%20filter/Section%204/unscaled"
+ "id": "EQ_On_4_Kick",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Kick/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
}
]
},
{
- id: "EQ_Snare",
- label: "Snare",
- widgets: [
+ "label": "Snare",
+ "widgets": [
{
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
{
- id: "EQ_Freq_1_Snare",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
+ "id": "EQ_Freq_1_Snare",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
},
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Frequency%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_1_Snare",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_1_Snare",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Bandwidth%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_1_Snare",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_1_Snare",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Gain%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_1_Snare",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Section%201/unscaled"
+ "id": "EQ_On_1_Snare",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
{
- id: "EQ_Freq_2_Snare",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
+ "id": "EQ_Freq_2_Snare",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
},
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Frequency%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_2_Snare",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_2_Snare",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Bandwidth%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_2_Snare",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_2_Snare",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Gain%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_2_Snare",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Section%202/unscaled"
+ "id": "EQ_On_2_Snare",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
{
- id: "EQ_Freq_3_Snare",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
+ "id": "EQ_Freq_3_Snare",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
},
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Frequency%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_3_Snare",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_3_Snare",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Bandwidth%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_3_Snare",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_3_Snare",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Gain%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_3_Snare",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Section%203/unscaled"
+ "id": "EQ_On_3_Snare",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
{
- id: "EQ_Freq_4_Snare",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
+ "id": "EQ_Freq_4_Snare",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
},
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Frequency%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_4_Snare",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_4_Snare",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Bandwidth%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_4_Snare",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_4_Snare",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Gain%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_4_Snare",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Snare/4-band%20parametric%20filter/Section%204/unscaled"
+ "id": "EQ_On_4_Snare",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Snare/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
}
]
},
{
- id: "EQ_Tom1",
- label: "Tom 1",
- widgets: [
+ "label": "Tom 1",
+ "widgets": [
{
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
{
- id: "EQ_Freq_1_Tom1",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
+ "id": "EQ_Freq_1_Tom1",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
},
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Frequency%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_1_Tom1",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_1_Tom1",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Bandwidth%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_1_Tom1",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_1_Tom1",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Gain%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_1_Tom1",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Section%201/unscaled"
+ "id": "EQ_On_1_Tom1",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
{
- id: "EQ_Freq_2_Tom1",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
+ "id": "EQ_Freq_2_Tom1",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
},
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Frequency%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_2_Tom1",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_2_Tom1",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Bandwidth%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_2_Tom1",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_2_Tom1",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Gain%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_2_Tom1",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Section%202/unscaled"
+ "id": "EQ_On_2_Tom1",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
{
- id: "EQ_Freq_3_Tom1",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
+ "id": "EQ_Freq_3_Tom1",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
},
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Frequency%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_3_Tom1",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_3_Tom1",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Bandwidth%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_3_Tom1",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_3_Tom1",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Gain%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_3_Tom1",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Section%203/unscaled"
+ "id": "EQ_On_3_Tom1",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
{
- id: "EQ_Freq_4_Tom1",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
+ "id": "EQ_Freq_4_Tom1",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
},
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Frequency%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_4_Tom1",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_4_Tom1",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Bandwidth%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_4_Tom1",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_4_Tom1",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Gain%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_4_Tom1",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Tom1/4-band%20parametric%20filter/Section%204/unscaled"
+ "id": "EQ_On_4_Tom1",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Tom1/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
}
]
},
{
- id: "EQ_Tom2",
- label: "Tom 2",
- widgets: [
+ "label": "Tom 2",
+ "widgets": [
{
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
{
- id: "EQ_Freq_1_Tom2",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
+ "id": "EQ_Freq_1_Tom2",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
},
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Frequency%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_1_Tom2",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_1_Tom2",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Bandwidth%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_1_Tom2",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_1_Tom2",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Gain%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_1_Tom2",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Section%201/unscaled"
+ "id": "EQ_On_1_Tom2",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
{
- id: "EQ_Freq_2_Tom2",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
+ "id": "EQ_Freq_2_Tom2",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
},
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Frequency%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_2_Tom2",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_2_Tom2",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Bandwidth%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_2_Tom2",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_2_Tom2",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Gain%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_2_Tom2",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Section%202/unscaled"
+ "id": "EQ_On_2_Tom2",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
{
- id: "EQ_Freq_3_Tom2",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
+ "id": "EQ_Freq_3_Tom2",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
},
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Frequency%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_3_Tom2",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_3_Tom2",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Bandwidth%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_3_Tom2",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_3_Tom2",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Gain%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_3_Tom2",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Section%203/unscaled"
+ "id": "EQ_On_3_Tom2",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
{
- id: "EQ_Freq_4_Tom2",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
+ "id": "EQ_Freq_4_Tom2",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
},
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Frequency%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_4_Tom2",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_4_Tom2",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Bandwidth%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_4_Tom2",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_4_Tom2",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Gain%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_4_Tom2",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Tom2/4-band%20parametric%20filter/Section%204/unscaled"
+ "id": "EQ_On_4_Tom2",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Tom2/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
}
]
},
{
- id: "EQ_Tom3",
- label: "Tom 3",
- widgets: [
+ "label": "Tom 3",
+ "widgets": [
{
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
{
- id: "EQ_Freq_1_Tom3",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
+ "id": "EQ_Freq_1_Tom3",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
},
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Frequency%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_1_Tom3",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_1_Tom3",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Bandwidth%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_1_Tom3",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_1_Tom3",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Gain%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_1_Tom3",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Section%201/unscaled"
+ "id": "EQ_On_1_Tom3",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
{
- id: "EQ_Freq_2_Tom3",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
+ "id": "EQ_Freq_2_Tom3",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
},
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Frequency%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_2_Tom3",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_2_Tom3",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Bandwidth%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_2_Tom3",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_2_Tom3",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Gain%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_2_Tom3",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Section%202/unscaled"
+ "id": "EQ_On_2_Tom3",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
{
- id: "EQ_Freq_3_Tom3",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
+ "id": "EQ_Freq_3_Tom3",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
},
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Frequency%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_3_Tom3",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_3_Tom3",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Bandwidth%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_3_Tom3",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_3_Tom3",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Gain%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_3_Tom3",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Section%203/unscaled"
+ "id": "EQ_On_3_Tom3",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
{
- id: "EQ_Freq_4_Tom3",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
+ "id": "EQ_Freq_4_Tom3",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
},
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Frequency%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_4_Tom3",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_4_Tom3",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Bandwidth%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_4_Tom3",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_4_Tom3",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Gain%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_4_Tom3",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/Tom3/4-band%20parametric%20filter/Section%204/unscaled"
+ "id": "EQ_On_4_Tom3",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Tom3/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
}
]
},
{
- id: "EQ_OH_L",
- label: "OH-L (ride)",
- widgets: [
+ "label": "OH-L (ride)",
+ "widgets": [
{
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
{
- id: "EQ_Freq_1_OH_L",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
+ "id": "EQ_Freq_1_OH_L",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
},
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Frequency%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_1_OH_L",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_1_OH_L",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Bandwidth%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_1_OH_L",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_1_OH_L",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Gain%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_1_OH_L",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Section%201/unscaled"
+ "id": "EQ_On_1_OH_L",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
{
- id: "EQ_Freq_2_OH_L",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
+ "id": "EQ_Freq_2_OH_L",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
},
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Frequency%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_2_OH_L",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_2_OH_L",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Bandwidth%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_2_OH_L",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_2_OH_L",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Gain%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_2_OH_L",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Section%202/unscaled"
+ "id": "EQ_On_2_OH_L",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
{
- id: "EQ_Freq_3_OH_L",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
+ "id": "EQ_Freq_3_OH_L",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
},
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Frequency%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_3_OH_L",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_3_OH_L",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Bandwidth%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_3_OH_L",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_3_OH_L",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Gain%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_3_OH_L",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Section%203/unscaled"
+ "id": "EQ_On_3_OH_L",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
{
- id: "EQ_Freq_4_OH_L",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
+ "id": "EQ_Freq_4_OH_L",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
},
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Frequency%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_4_OH_L",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_4_OH_L",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Bandwidth%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_4_OH_L",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_4_OH_L",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Gain%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_4_OH_L",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/OH-L/4-band%20parametric%20filter/Section%204/unscaled"
+ "id": "EQ_On_4_OH_L",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/OH-L/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
}
]
},
{
- id: "EQ_OH_R",
- label: "OH-R (hihat)",
- widgets: [
+ "label": "OH-R (hihat)",
+ "widgets": [
{
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
{
- id: "EQ_Freq_1_OH_R",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
+ "id": "EQ_Freq_1_OH_R",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
},
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Frequency%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_1_OH_R",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_1_OH_R",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Bandwidth%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_1_OH_R",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_1_OH_R",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Gain%201/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_1_OH_R",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Section%201/unscaled"
+ "id": "EQ_On_1_OH_R",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
{
- id: "EQ_Freq_2_OH_R",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
+ "id": "EQ_Freq_2_OH_R",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
},
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Frequency%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_2_OH_R",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_2_OH_R",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Bandwidth%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_2_OH_R",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_2_OH_R",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Gain%202/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_2_OH_R",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Section%202/unscaled"
+ "id": "EQ_On_2_OH_R",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
{
- id: "EQ_Freq_3_OH_R",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
+ "id": "EQ_Freq_3_OH_R",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
},
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Frequency%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_3_OH_R",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_3_OH_R",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Bandwidth%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_3_OH_R",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_3_OH_R",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Gain%203/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_3_OH_R",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Section%203/unscaled"
+ "id": "EQ_On_3_OH_R",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
},
{
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
{
- id: "EQ_Freq_4_OH_R",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
+ "id": "EQ_Freq_4_OH_R",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
},
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Frequency%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Band_4_OH_R",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
+ "id": "EQ_Band_4_OH_R",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
},
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Bandwidth%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_Gain_4_OH_R",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
+ "id": "EQ_Gain_4_OH_R",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
},
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Gain%204/unscaled"
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
},
{
- id: "EQ_On_4_OH_R",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Drums'],
- path: "/strip/OH-R/4-band%20parametric%20filter/Section%204/unscaled"
+ "id": "EQ_On_4_OH_R",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/OH-R/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
}
]
}
- ]
+ ],
+ "label": "EQs"
},
{
- id:"Comp_Drum",
- label:"Comp",
- widgets:function(){
- var w = []
- var s = ['Drums','Kick','Snare','Toms']
- for (i in s) {
- w.push({
- id: "Comp_"+s[i],
- label: s[i],
- type: "strip",
- horizontal:true,
- widgets: [
- {
- id: "Comp_Attack_"+s[i],
- label: "Attack",
- type:"knob",
- range: {
- min: 1.5,
- max: 400
- },
- unit:"ms",
- target: i==0?nmPorts['MainMix']:nmPorts['Drums'],
- path: "/strip/"+s[i]+"/SC4%20mono/Attack%20time%20(ms)/unscaled"
- },
- {
- id: "Comp_Release_"+s[i],
- label: "Release",
- type:"knob",
- range: {
- min: 2,
- max: 800
- },
- unit:"ms",
- target: i==0?nmPorts['MainMix']:nmPorts['Drums'],
- path: "/strip/"+s[i]+"/SC4%20mono/Release%20time%20(ms)/unscaled"
- },
- {
- id: "Comp_Thresh_"+s[i],
- label: "Threshold",
- type:"knob",
- range: {
- min: -30,
- max: 0
- },
- unit:"dB",
- target: i==0?nmPorts['MainMix']:nmPorts['Drums'],
- path: "/strip/"+s[i]+"/SC4%20mono/Threshold%20level%20(dB)/unscaled"
- },
- {
- id: "Comp_Ratio_"+s[i],
- label: "Ratio",
- type:"knob",
- range: {
- min: 1,
- max: 20
- },
- target: i==0?nmPorts['MainMix']:nmPorts['Drums'],
- path: "/strip/"+s[i]+"/SC4%20mono/Ratio%20(1:n)/unscaled"
- },
- {
- id: "Comp_Makeup_"+s[i],
- label: "Makeup",
- type:"knob",
- range: {
- min: 0,
- max: 24
- },
- unit:"dB",
- target: i==0?nmPorts['MainMix']:nmPorts['Drums'],
- path: "/strip/"+s[i]+"/SC4%20mono/Makeup%20gain%20(dB)/unscaled"
- }
- ]
- })
- }
- return w
- }()
- }
- ]
- },
- {
- id: "Basses",
- label: "Basses",
- tabs: [
- {
- id: "Main",
- widgets: [
+ "label": "Comp",
+ "widgets": [
{
- id: "Bass_ORL",
- label: "Bass Orl",
- range: nmRange,
- target: nmPorts['Basses'],
- path: "/strip/Bass_ORL/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Bass_Dag",
- label: "Bass Dag",
- range: nmRange,
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Basses",
- label: "Basses",
- range: nmRange,
- target: nmPorts['MainMix'],
- path: "/strip/Basses/Gain/Gain%20(dB)/unscaled",
- color: "turquoise"
- }
- ]
- },
- {
- id: "Orl",
- widgets: [
- {
- id: "Oct_Bass_ORL",
- label: "Octaver",
- range: nmRange,
- target: nmPorts['Basses'],
- path: "/strip/Oct_Bass_ORL/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Disto_Bass_ORL",
- label: "Disto",
- range: nmRange,
- target: nmPorts['Basses'],
- path: "/strip/Disto_Bass_ORL/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "FX_Bass_ORL",
- label: "Fx",
- range: nmRange,
- target: nmPorts['Basses'],
- path: "/strip/FX_Bass_ORL/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Bass_ORL",
- label: "Basse Orl",
- range: nmRange,
- target: nmPorts['Basses'],
- path: "/strip/Bass_ORL/Gain/Gain%20(dB)/unscaled",
- color: "turquoise"
- }
- ]
- },
- {
- id: "Dag",
- widgets: [
- {
- id: "Oct_Bass_Dag",
- label: "Octaver",
- range: nmRange,
- target: nmPorts['Basses'],
- path: "/strip/Oct_Bass_Dag/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Disto_Bass_Dag",
- label: "Disto",
- range: nmRange,
- target: nmPorts['Basses'],
- path: "/strip/Disto_Bass_Dag/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "FX_Bass_Dag",
- label: "Fx",
- range: nmRange,
- target: nmPorts['Basses'],
- path: "/strip/FX_Bass_Dag/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Bass_Dag",
- label: "Basse Dag",
- range: nmRange,
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/Gain/Gain%20(dB)/unscaled",
- color: "turquoise"
- }
- ]
- },
- {
- id: "EQs",
- tabs: [
- {
- id: "EQ_Bass_Dag",
- widgets: [
+ "id": "Comp_Drums",
+ "label": "Drums",
+ "type": "strip",
+ "horizontal": true,
+ "widgets": [
{
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
- {
- id: "EQ_Freq_1_Bass_Dag",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
- },
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Frequency%201/unscaled"
- },
- {
- id: "EQ_Band_1_Bass_Dag",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Bandwidth%201/unscaled"
- },
- {
- id: "EQ_Gain_1_Bass_Dag",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Gain%201/unscaled"
- },
- {
- id: "EQ_On_1_Bass_Dag",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Section%201/unscaled"
- }
- ]
- },
- {
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
- {
- id: "EQ_Freq_2_Bass_Dag",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
- },
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Frequency%202/unscaled"
- },
- {
- id: "EQ_Band_2_Bass_Dag",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Bandwidth%202/unscaled"
- },
- {
- id: "EQ_Gain_2_Bass_Dag",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Gain%202/unscaled"
- },
- {
- id: "EQ_On_2_Bass_Dag",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Section%202/unscaled"
- }
- ]
- },
- {
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
- {
- id: "EQ_Freq_3_Bass_Dag",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
- },
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Frequency%203/unscaled"
- },
- {
- id: "EQ_Band_3_Bass_Dag",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Bandwidth%203/unscaled"
- },
- {
- id: "EQ_Gain_3_Bass_Dag",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Gain%203/unscaled"
- },
- {
- id: "EQ_On_3_Bass_Dag",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Section%203/unscaled"
- }
- ]
- },
- {
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
- {
- id: "EQ_Freq_4_Bass_Dag",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
- },
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Frequency%204/unscaled"
- },
- {
- id: "EQ_Band_4_Bass_Dag",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Bandwidth%204/unscaled"
- },
- {
- id: "EQ_Gain_4_Bass_Dag",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Gain%204/unscaled"
- },
- {
- id: "EQ_On_4_Bass_Dag",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Basses'],
- path: "/strip/Bass_Dag/4-band%20parametric%20filter/Section%204/unscaled"
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- },
- {
- id: "Guitars",
- label: "Guitars",
- widgets: [
- {
- id: "Guitar_ORL",
- label: "Guitar_ORL",
- range: nmRange,
- target: nmPorts['Guitars'],
- path: "/strip/Guitar_ORL/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "FX_Gtr_ORL_1",
- label: "FX_Gtr_ORL_1",
- range: nmRange,
- target: nmPorts['Guitars'],
- path: "/strip/FX_Gtr_ORL_1/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "FX_Gtr_ORL_2",
- label: "FX_Gtr_ORL_2",
- range: nmRange,
- target: nmPorts['Guitars'],
- path: "/strip/FX_Gtr_ORL_2/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "FX_Gtr_ORL",
- label: "FX_Gtr_ORL",
- range: nmRange,
- target: nmPorts['Guitars'],
- path: "/strip/FX_Gtr_ORL/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Guitar_Dag",
- label: "Guitar_Dag",
- range: nmRange,
- target: nmPorts['Guitars'],
- path: "/strip/Guitar_Dag/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "FX_Gtr_Dag_1",
- label: "FX_Gtr_Dag_1",
- range: nmRange,
- target: nmPorts['Guitars'],
- path: "/strip/FX_Gtr_Dag_1/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "FX_Gtr_Dag_2",
- label: "FX_Gtr_Dag_2",
- range: nmRange,
- target: nmPorts['Guitars'],
- path: "/strip/FX_Gtr_Dag_2/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "FX_Gtr_Dag",
- label: "FX_Gtr_Dag",
- range: nmRange,
- target: nmPorts['Guitars'],
- path: "/strip/FX_Gtr_Dag/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Scape_Gtr_Dag",
- label: "Scape_Gtr_Dag",
- range: nmRange,
- target: nmPorts['Guitars'],
- path: "/strip/Scape_Gtr_Dag/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Guitars",
- label: "Guitars",
- range: nmRange,
- target: nmPorts['MainMix'],
- path: "/strip/Guitars/Gain/Gain%20(dB)/unscaled",
- color: "turquoise"
- }
- ]
- },
- {
- id: "MxSynths",
- label: "MxSynths",
- tabs: [
- {
- id: "Main",
- widgets: [
- {
- id: "MxBass",
- label: "MxBass",
- range: nmRange,
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "MxChords",
- label: "MxChords",
- range: nmRange,
- target: nmPorts['MxSynths'],
- path: "/strip/MxChords/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "MxLead",
- label: "MxLead",
- range: nmRange,
- target: nmPorts['MxSynths'],
- path: "/strip/MxLead/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "MxCtLead",
- label: "MxCtLead",
- range: nmRange,
- target: nmPorts['MxSynths'],
- path: "/strip/MxCtLead/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "MxClassical",
- label: "MxClassical",
- range: nmRange,
- target: nmPorts['MxSynths'],
- path: "/strip/MxClassical/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "MxSynths",
- label: "MxSynths",
- range: nmRange,
- target: nmPorts['MainMix'],
- path: "/strip/MxSynths/Gain/Gain%20(dB)/unscaled",
- color: "turquoise"
- }
- ]
- },
- {
- id: "EQs",
- tabs: [
- {
- id: "EQ_MxBass",
- label: "MxBass",
- widgets: [
- {
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
- {
- id: "EQ_Freq_1_MxBass",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
- },
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Frequency%201/unscaled"
- },
- {
- id: "EQ_Band_1_MxBass",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Bandwidth%201/unscaled"
- },
- {
- id: "EQ_Gain_1_MxBass",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Gain%201/unscaled"
- },
- {
- id: "EQ_On_1_MxBass",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Section%201/unscaled"
- }
- ]
- },
- {
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
- {
- id: "EQ_Freq_2_MxBass",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
- },
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Frequency%202/unscaled"
- },
- {
- id: "EQ_Band_2_MxBass",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Bandwidth%202/unscaled"
- },
- {
- id: "EQ_Gain_2_MxBass",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Gain%202/unscaled"
- },
- {
- id: "EQ_On_2_MxBass",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Section%202/unscaled"
- }
- ]
- },
- {
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
- {
- id: "EQ_Freq_3_MxBass",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
- },
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Frequency%203/unscaled"
- },
- {
- id: "EQ_Band_3_MxBass",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Bandwidth%203/unscaled"
- },
- {
- id: "EQ_Gain_3_MxBass",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Gain%203/unscaled"
- },
- {
- id: "EQ_On_3_MxBass",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Section%203/unscaled"
- }
- ]
- },
- {
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
- {
- id: "EQ_Freq_4_MxBass",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
- },
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Frequency%204/unscaled"
- },
- {
- id: "EQ_Band_4_MxBass",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Bandwidth%204/unscaled"
- },
- {
- id: "EQ_Gain_4_MxBass",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Gain%204/unscaled"
- },
- {
- id: "EQ_On_4_MxBass",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['MxSynths'],
- path: "/strip/MxBass/4-band%20parametric%20filter/Section%204/unscaled"
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- },
- {
- id: "MxDrums",
- label: "MxDrums",
- tabs: [
- {
- id: "Main",
- widgets: [
- {
- id: "MxKicks",
- label: "MxKicks",
- range: nmRange,
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "MxSnares",
- label: "MxSnares",
- range: nmRange,
- target: nmPorts['MxDrums'],
- path: "/strip/MxSnares/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "MxCymbs",
- label: "MxCymbs",
- range: nmRange,
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "MxCont",
- label: "MxCont",
- range: nmRange,
- target: nmPorts['MxDrums'],
- path: "/strip/MxCont/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "MxSamples",
- label: "MxSamples",
- range: nmRange,
- target: nmPorts['MxDrums'],
- path: "/strip/MxSamples/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "MxDrums",
- label: "MxDrums",
- range: nmRange,
- target: nmPorts['MainMix'],
- path: "/strip/MxDrums/Gain/Gain%20(dB)/unscaled",
- color: "turquoise"
- }
- ]
- },
- {
- id: "EQs",
- tabs: [
- {
- id: "EQ_MxKicks",
- label: "MxKicks",
- widgets: [
- {
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
- {
- id: "EQ_Freq_1_MxKicks",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Frequency%201/unscaled"
- },
- {
- id: "EQ_Band_1_MxKicks",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Bandwidth%201/unscaled"
- },
- {
- id: "EQ_Gain_1_MxKicks",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Gain%201/unscaled"
- },
- {
- id: "EQ_On_1_MxKicks",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Section%201/unscaled"
- }
- ]
- },
- {
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
- {
- id: "EQ_Freq_2_MxKicks",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Frequency%202/unscaled"
- },
- {
- id: "EQ_Band_2_MxKicks",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Bandwidth%202/unscaled"
- },
- {
- id: "EQ_Gain_2_MxKicks",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Gain%202/unscaled"
- },
- {
- id: "EQ_On_2_MxKicks",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Section%202/unscaled"
- }
- ]
- },
- {
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
- {
- id: "EQ_Freq_3_MxKicks",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Frequency%203/unscaled"
- },
- {
- id: "EQ_Band_3_MxKicks",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Bandwidth%203/unscaled"
- },
- {
- id: "EQ_Gain_3_MxKicks",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Gain%203/unscaled"
- },
- {
- id: "EQ_On_3_MxKicks",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Section%203/unscaled"
- }
- ]
- },
- {
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
- {
- id: "EQ_Freq_4_MxKicks",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Frequency%204/unscaled"
- },
- {
- id: "EQ_Band_4_MxKicks",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Bandwidth%204/unscaled"
- },
- {
- id: "EQ_Gain_4_MxKicks",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Gain%204/unscaled"
- },
- {
- id: "EQ_On_4_MxKicks",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['MxDrums'],
- path: "/strip/MxKicks/4-band%20parametric%20filter/Section%204/unscaled"
- }
- ]
- }
- ]
- },
- {
- id: "EQ_MxCymbs",
- label: "MxCymbs",
- widgets: [
- {
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
- {
- id: "EQ_Freq_1_MxCymbs",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Frequency%201/unscaled"
- },
- {
- id: "EQ_Band_1_MxCymbs",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Bandwidth%201/unscaled"
- },
- {
- id: "EQ_Gain_1_MxCymbs",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Gain%201/unscaled"
- },
- {
- id: "EQ_On_1_MxCymbs",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Section%201/unscaled"
- }
- ]
- },
- {
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
- {
- id: "EQ_Freq_2_MxCymbs",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Frequency%202/unscaled"
- },
- {
- id: "EQ_Band_2_MxCymbs",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Bandwidth%202/unscaled"
- },
- {
- id: "EQ_Gain_2_MxCymbs",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Gain%202/unscaled"
- },
- {
- id: "EQ_On_2_MxCymbs",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Section%202/unscaled"
- }
- ]
- },
- {
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
- {
- id: "EQ_Freq_3_MxCymbs",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Frequency%203/unscaled"
- },
- {
- id: "EQ_Band_3_MxCymbs",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Bandwidth%203/unscaled"
- },
- {
- id: "EQ_Gain_3_MxCymbs",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Gain%203/unscaled"
- },
- {
- id: "EQ_On_3_MxCymbs",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Section%203/unscaled"
- }
- ]
- },
- {
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
- {
- id: "EQ_Freq_4_MxCymbs",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Frequency%204/unscaled"
- },
- {
- id: "EQ_Band_4_MxCymbs",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Bandwidth%204/unscaled"
- },
- {
- id: "EQ_Gain_4_MxCymbs",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Gain%204/unscaled"
- },
- {
- id: "EQ_On_4_MxCymbs",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['MxDrums'],
- path: "/strip/MxCymbs/4-band%20parametric%20filter/Section%204/unscaled"
- }
- ]
- }
- ]
- }
- ]
- }
- ]
- },
- {
- id: "Acoustics",
- label: "Acoustics",
- widgets: [
- {
- id: "PianoToy",
- label: "PianoToy",
- range: nmRange,
- target: nmPorts['Acoustics'],
- path: "/strip/PianoToy/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Cymbalum",
- label: "Cymbalum",
- range: nmRange,
- target: nmPorts['Acoustics'],
- path: "/strip/Cymbalum/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "GuitarAc",
- label: "GuitarAc",
- range: nmRange,
- target: nmPorts['Acoustics'],
- path: "/strip/GuitarAc/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Acoustics",
- label: "Acoustics",
- range: nmRange,
- target: nmPorts['MainMix'],
- path: "/strip/Acoustics/Gain/Gain%20(dB)/unscaled",
- color: "turquoise"
- }
- ]
- },
- {
- id: "Vocals",
- label: "Vocals",
- tabs: [
- {
- id: "Main",
- widgets: [
- {
- id: "Vx_Discours",
- label: "Vx_Discours",
- range: nmRange,
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Discours/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Vx_ORL",
- label: "Vx_ORL",
- range: nmRange,
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "FX_Vx_ORL_1",
- label: "FX_Vx_ORL_1",
- range: nmRange,
- target: nmPorts['Vocals'],
- path: "/strip/FX_Vx_ORL_1/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "FX_Vx_ORL_2",
- label: "FX_Vx_ORL_2",
- range: nmRange,
- target: nmPorts['Vocals'],
- path: "/strip/FX_Vx_ORL_2/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "FX_Vx_ORL",
- label: "FX_Vx_ORL",
- range: nmRange,
- target: nmPorts['Vocals'],
- path: "/strip/FX_Vx_ORL/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Vx_Dag",
- label: "Vx_Dag",
- range: nmRange,
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "FX_Vx_Dag_1",
- label: "FX_Vx_Dag_1",
- range: nmRange,
- target: nmPorts['Vocals'],
- path: "/strip/FX_Vx_Dag_1/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "FX_Vx_Dag_2",
- label: "FX_Vx_Dag_2",
- range: nmRange,
- target: nmPorts['Vocals'],
- path: "/strip/FX_Vx_Dag_2/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "FX_Vx_Dag",
- label: "FX_Vx_Dag",
- range: nmRange,
- target: nmPorts['Vocals'],
- path: "/strip/FX_Vx_Dag/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Scape_Vx_Dag",
- label: "Scape_Vx_Dag",
- range: nmRange,
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Vx_Jeannot",
- label: "Vx_Jeannot",
- range: nmRange,
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Jeannot/Gain/Gain%20(dB)/unscaled"
- },
- {
- id: "Vocals",
- label: "Vocals",
- range: nmRange,
- target: nmPorts['MainMix'],
- path: "/strip/Vocals/Gain/Gain%20(dB)/unscaled",
- color: "turquoise"
- }
- ]
- },
- {
- id: "EQs",
- tabs: [
- {
- id: "EQ_Vx_ORL",
- label: "ORL",
- widgets: [
- {
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
- {
- id: "EQ_Freq_1_Vx_ORL",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Frequency%201/unscaled"
- },
- {
- id: "EQ_Band_1_Vx_ORL",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Bandwidth%201/unscaled"
- },
- {
- id: "EQ_Gain_1_Vx_ORL",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Gain%201/unscaled"
- },
- {
- id: "EQ_On_1_Vx_ORL",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Section%201/unscaled"
- }
- ]
- },
- {
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
- {
- id: "EQ_Freq_2_Vx_ORL",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Frequency%202/unscaled"
- },
- {
- id: "EQ_Band_2_Vx_ORL",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Bandwidth%202/unscaled"
- },
- {
- id: "EQ_Gain_2_Vx_ORL",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Gain%202/unscaled"
- },
- {
- id: "EQ_On_2_Vx_ORL",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Section%202/unscaled"
- }
- ]
- },
- {
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
- {
- id: "EQ_Freq_3_Vx_ORL",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Frequency%203/unscaled"
- },
- {
- id: "EQ_Band_3_Vx_ORL",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Bandwidth%203/unscaled"
- },
- {
- id: "EQ_Gain_3_Vx_ORL",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Gain%203/unscaled"
- },
- {
- id: "EQ_On_3_Vx_ORL",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Section%203/unscaled"
- }
- ]
- },
- {
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
- {
- id: "EQ_Freq_4_Vx_ORL",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Frequency%204/unscaled"
- },
- {
- id: "EQ_Band_4_Vx_ORL",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Bandwidth%204/unscaled"
- },
- {
- id: "EQ_Gain_4_Vx_ORL",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Gain%204/unscaled"
- },
- {
- id: "EQ_On_4_Vx_ORL",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/4-band%20parametric%20filter/Section%204/unscaled"
- }
- ]
- }
- ]
- },
- {
- id: "EQ_Vx_Dag",
- label: "Dag",
- widgets: [
- {
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
- {
- id: "EQ_Freq_1_Vx_Dag",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Frequency%201/unscaled"
- },
- {
- id: "EQ_Band_1_Vx_Dag",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Bandwidth%201/unscaled"
- },
- {
- id: "EQ_Gain_1_Vx_Dag",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Gain%201/unscaled"
- },
- {
- id: "EQ_On_1_Vx_Dag",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Section%201/unscaled"
- }
- ]
- },
- {
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
- {
- id: "EQ_Freq_2_Vx_Dag",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Frequency%202/unscaled"
- },
- {
- id: "EQ_Band_2_Vx_Dag",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Bandwidth%202/unscaled"
- },
- {
- id: "EQ_Gain_2_Vx_Dag",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Gain%202/unscaled"
- },
- {
- id: "EQ_On_2_Vx_Dag",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Section%202/unscaled"
- }
- ]
- },
- {
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
- {
- id: "EQ_Freq_3_Vx_Dag",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Frequency%203/unscaled"
- },
- {
- id: "EQ_Band_3_Vx_Dag",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Bandwidth%203/unscaled"
- },
- {
- id: "EQ_Gain_3_Vx_Dag",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Gain%203/unscaled"
- },
- {
- id: "EQ_On_3_Vx_Dag",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Section%203/unscaled"
- }
- ]
- },
- {
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
- {
- id: "EQ_Freq_4_Vx_Dag",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Frequency%204/unscaled"
- },
- {
- id: "EQ_Band_4_Vx_Dag",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Bandwidth%204/unscaled"
- },
- {
- id: "EQ_Gain_4_Vx_Dag",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Gain%204/unscaled"
- },
- {
- id: "EQ_On_4_Vx_Dag",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/4-band%20parametric%20filter/Section%204/unscaled"
- }
- ]
- }
- ]
- },
- {
- id: "EQ_Scape_Vx_Dag",
- label: "Scape Dag",
- widgets: [
- {
- id: "EQ_1",
- type: "strip",
- label: "Band 1",
- widgets: [
- {
- id: "EQ_Freq_1_Scape_Vx_Dag",
- label: "Frequency",
- type:"knob",
- range: {
- min: 20,
- max: 2000
- },
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Frequency%201/unscaled"
- },
- {
- id: "EQ_Band_1_Scape_Vx_Dag",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Bandwidth%201/unscaled"
- },
- {
- id: "EQ_Gain_1_Scape_Vx_Dag",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Gain%201/unscaled"
- },
- {
- id: "EQ_On_1_Scape_Vx_Dag",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Section%201/unscaled"
- }
- ]
- },
- {
- id: "EQ_2",
- type: "strip",
- label: "Band 2",
- widgets: [
- {
- id: "EQ_Freq_2_Scape_Vx_Dag",
- label: "Frequency",
- type:"knob",
- range: {
- min: 40,
- max: 4000
- },
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Frequency%202/unscaled"
- },
- {
- id: "EQ_Band_2_Scape_Vx_Dag",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Bandwidth%202/unscaled"
- },
- {
- id: "EQ_Gain_2_Scape_Vx_Dag",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Gain%202/unscaled"
- },
- {
- id: "EQ_On_2_Scape_Vx_Dag",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Section%202/unscaled"
- }
- ]
- },
- {
- id: "EQ_3",
- type: "strip",
- label: "Band 3",
- widgets: [
- {
- id: "EQ_Freq_3_Scape_Vx_Dag",
- label: "Frequency",
- type:"knob",
- range: {
- min: 100,
- max: 10000
- },
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Frequency%203/unscaled"
- },
- {
- id: "EQ_Band_3_Scape_Vx_Dag",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Bandwidth%203/unscaled"
- },
- {
- id: "EQ_Gain_3_Scape_Vx_Dag",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Gain%203/unscaled"
- },
- {
- id: "EQ_On_3_Scape_Vx_Dag",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Section%203/unscaled"
- }
- ]
- },
- {
- id: "EQ_4",
- type: "strip",
- label: "Band 4",
- widgets: [
- {
- id: "EQ_Freq_4_Scape_Vx_Dag",
- label: "Frequency",
- type:"knob",
- range: {
- min: 200,
- max: 20000
- },
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Frequency%204/unscaled"
- },
- {
- id: "EQ_Band_4_Scape_Vx_Dag",
- label: "BandWidth",
- type:"knob",
- range: {
- min: 0.125,
- max: 8
- },
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Bandwidth%204/unscaled"
- },
- {
- id: "EQ_Gain_4_Scape_Vx_Dag",
- label: "Gain",
- type:"knob",
- range: {
- min: -20,
- max: 20
- },
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Gain%204/unscaled"
- },
- {
- id: "EQ_On_4_Scape_Vx_Dag",
- type: "toggle",
- label: "Enable EQ",
- target: nmPorts['Vocals'],
- path: "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Section%204/unscaled"
- }
- ]
- }
- ]
- }
- ]
- },
- {
- id: "Gates",
- stack:true,
- widgets: [
- {
- id: "Gate_Vx_Dag",
- label: "Vx_Dag",
- type: "strip",
- horizontal:true,
- widgets: [
- {
- id: "Gate_LF_Vx_Dag",
- label: "LF filter",
- type:"knob",
- range: {
- min: 33.6,
- max: 4800
+ "id": "Comp_Attack_Drums",
+ "label": "Attack",
+ "type": "knob",
+ "range": {
+ "min": 1.5,
+ "max": 400
},
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/Gate/LF%20key%20filter%20(Hz)/unscaled"
+ "unit": "ms",
+ "target": [
+ "SCSon:6666"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/SC4%20mono/Attack%20time%20(ms)/unscaled",
+ "preArgs": []
},
{
- id: "Gate_HF_Vx_Dag",
- label: "HF filter",
- type:"knob",
- range: {
- min: 240,
- max: 23520
+ "id": "Comp_Release_Drums",
+ "label": "Release",
+ "type": "knob",
+ "range": {
+ "min": 2,
+ "max": 800
},
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/Gate/HF%20key%20filter%20(Hz)/unscaled"
+ "unit": "ms",
+ "target": [
+ "SCSon:6666"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/SC4%20mono/Release%20time%20(ms)/unscaled",
+ "preArgs": []
},
{
- id: "Gate_Thresh_Vx_Dag",
- label: "Threshold",
- type:"knob",
- range: {
- min: -70,
+ "id": "Comp_Thresh_Drums",
+ "label": "Threshold",
+ "type": "knob",
+ "range": {
+ "min": -30,
+ "max": 0
+ },
+ "unit": "dB",
+ "target": [
+ "SCSon:6666"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/SC4%20mono/Threshold%20level%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Ratio_Drums",
+ "label": "Ratio",
+ "type": "knob",
+ "range": {
+ "min": 1,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/SC4%20mono/Ratio%20(1:n)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Makeup_Drums",
+ "label": "Makeup",
+ "type": "knob",
+ "range": {
+ "min": 0,
+ "max": 24
+ },
+ "unit": "dB",
+ "target": [
+ "SCSon:6666"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Drums/SC4%20mono/Makeup%20gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "Comp_Kick",
+ "label": "Kick",
+ "type": "strip",
+ "horizontal": true,
+ "widgets": [
+ {
+ "id": "Comp_Attack_Kick",
+ "label": "Attack",
+ "type": "knob",
+ "range": {
+ "min": 1.5,
+ "max": 400
+ },
+ "unit": "ms",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/SC4%20mono/Attack%20time%20(ms)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Release_Kick",
+ "label": "Release",
+ "type": "knob",
+ "range": {
+ "min": 2,
+ "max": 800
+ },
+ "unit": "ms",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/SC4%20mono/Release%20time%20(ms)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Thresh_Kick",
+ "label": "Threshold",
+ "type": "knob",
+ "range": {
+ "min": -30,
+ "max": 0
+ },
+ "unit": "dB",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/SC4%20mono/Threshold%20level%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Ratio_Kick",
+ "label": "Ratio",
+ "type": "knob",
+ "range": {
+ "min": 1,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/SC4%20mono/Ratio%20(1:n)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Makeup_Kick",
+ "label": "Makeup",
+ "type": "knob",
+ "range": {
+ "min": 0,
+ "max": 24
+ },
+ "unit": "dB",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Kick/SC4%20mono/Makeup%20gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "Comp_Snare",
+ "label": "Snare",
+ "type": "strip",
+ "horizontal": true,
+ "widgets": [
+ {
+ "id": "Comp_Attack_Snare",
+ "label": "Attack",
+ "type": "knob",
+ "range": {
+ "min": 1.5,
+ "max": 400
+ },
+ "unit": "ms",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/SC4%20mono/Attack%20time%20(ms)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Release_Snare",
+ "label": "Release",
+ "type": "knob",
+ "range": {
+ "min": 2,
+ "max": 800
+ },
+ "unit": "ms",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/SC4%20mono/Release%20time%20(ms)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Thresh_Snare",
+ "label": "Threshold",
+ "type": "knob",
+ "range": {
+ "min": -30,
+ "max": 0
+ },
+ "unit": "dB",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/SC4%20mono/Threshold%20level%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Ratio_Snare",
+ "label": "Ratio",
+ "type": "knob",
+ "range": {
+ "min": 1,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/SC4%20mono/Ratio%20(1:n)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Makeup_Snare",
+ "label": "Makeup",
+ "type": "knob",
+ "range": {
+ "min": 0,
+ "max": 24
+ },
+ "unit": "dB",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Snare/SC4%20mono/Makeup%20gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "Comp_Toms",
+ "label": "Toms",
+ "type": "strip",
+ "horizontal": true,
+ "widgets": [
+ {
+ "id": "Comp_Attack_Toms",
+ "label": "Attack",
+ "type": "knob",
+ "range": {
+ "min": 1.5,
+ "max": 400
+ },
+ "unit": "ms",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Toms/SC4%20mono/Attack%20time%20(ms)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Release_Toms",
+ "label": "Release",
+ "type": "knob",
+ "range": {
+ "min": 2,
+ "max": 800
+ },
+ "unit": "ms",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Toms/SC4%20mono/Release%20time%20(ms)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Thresh_Toms",
+ "label": "Threshold",
+ "type": "knob",
+ "range": {
+ "min": -30,
+ "max": 0
+ },
+ "unit": "dB",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Toms/SC4%20mono/Threshold%20level%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Ratio_Toms",
+ "label": "Ratio",
+ "type": "knob",
+ "range": {
+ "min": 1,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Toms/SC4%20mono/Ratio%20(1:n)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Makeup_Toms",
+ "label": "Makeup",
+ "type": "knob",
+ "range": {
+ "min": 0,
+ "max": 24
+ },
+ "unit": "dB",
+ "target": [
+ "SCSon:6667"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Toms/SC4%20mono/Makeup%20gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": ""
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "label": "Basses",
+ "tabs": [
+ {
+ "widgets": [
+ {
+ "id": "Bass_ORL",
+ "label": "Bass Orl",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Bass_ORL/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Bass_Dag",
+ "label": "Bass Dag",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Bass_Dag/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Basses",
+ "label": "Basses",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "color": "turquoise",
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Basses/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ],
+ "label": "Main"
+ },
+ {
+ "widgets": [
+ {
+ "id": "Oct_Bass_ORL",
+ "label": "Octaver",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Oct_Bass_ORL/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Disto_Bass_ORL",
+ "label": "Disto",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Disto_Bass_ORL/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "FX_Bass_ORL",
+ "label": "Fx",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FX_Bass_ORL/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Bass_ORL",
+ "label": "Basse Orl",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "color": "turquoise",
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Bass_ORL/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ],
+ "label": "Orl"
+ },
+ {
+ "widgets": [
+ {
+ "id": "Oct_Bass_Dag",
+ "label": "Octaver",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Oct_Bass_Dag/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Disto_Bass_Dag",
+ "label": "Disto",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Disto_Bass_Dag/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "FX_Bass_Dag",
+ "label": "Fx",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FX_Bass_Dag/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Bass_Dag",
+ "label": "Basse Dag",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "color": "turquoise",
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Bass_Dag/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ],
+ "label": "Dag"
+ },
+ {
+ "tabs": [
+ {
+ "widgets": [
+ {
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
+ {
+ "id": "EQ_Freq_1_Bass_Dag",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_1_Bass_Dag",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_1_Bass_Dag",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_1_Bass_Dag",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
+ {
+ "id": "EQ_Freq_2_Bass_Dag",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_2_Bass_Dag",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_2_Bass_Dag",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_2_Bass_Dag",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
+ {
+ "id": "EQ_Freq_3_Bass_Dag",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_3_Bass_Dag",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_3_Bass_Dag",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_3_Bass_Dag",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
+ {
+ "id": "EQ_Freq_4_Bass_Dag",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_4_Bass_Dag",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_4_Bass_Dag",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_4_Bass_Dag",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6668"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Bass_Dag/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ }
+ ],
+ "label": "EQ_Bass_Dag"
+ }
+ ],
+ "label": "EQs"
+ }
+ ]
+ },
+ {
+ "label": "Guitars",
+ "widgets": [
+ {
+ "id": "Guitar_ORL",
+ "label": "Guitar_ORL",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6669"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Guitar_ORL/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "FX_Gtr_ORL_1",
+ "label": "FX_Gtr_ORL_1",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6669"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FX_Gtr_ORL_1/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "FX_Gtr_ORL_2",
+ "label": "FX_Gtr_ORL_2",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6669"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FX_Gtr_ORL_2/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "FX_Gtr_ORL",
+ "label": "FX_Gtr_ORL",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6669"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FX_Gtr_ORL/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Guitar_Dag",
+ "label": "Guitar_Dag",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6669"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Guitar_Dag/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "FX_Gtr_Dag_1",
+ "label": "FX_Gtr_Dag_1",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6669"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FX_Gtr_Dag_1/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "FX_Gtr_Dag_2",
+ "label": "FX_Gtr_Dag_2",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6669"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FX_Gtr_Dag_2/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "FX_Gtr_Dag",
+ "label": "FX_Gtr_Dag",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6669"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FX_Gtr_Dag/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Scape_Gtr_Dag",
+ "label": "Scape_Gtr_Dag",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6669"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Scape_Gtr_Dag/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Guitars",
+ "label": "Guitars",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "color": "turquoise",
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Guitars/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ]
+ },
+ {
+ "label": "MxSynths",
+ "tabs": [
+ {
+ "widgets": [
+ {
+ "id": "MxBass",
+ "label": "MxBass",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/MxBass/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "MxChords",
+ "label": "MxChords",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/MxChords/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "MxLead",
+ "label": "MxLead",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/MxLead/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "MxCtLead",
+ "label": "MxCtLead",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/MxCtLead/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "MxClassical",
+ "label": "MxClassical",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/MxClassical/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "MxSynths",
+ "label": "MxSynths",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "color": "turquoise",
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/MxSynths/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ],
+ "label": "Main"
+ },
+ {
+ "tabs": [
+ {
+ "label": "MxBass",
+ "widgets": [
+ {
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
+ {
+ "id": "EQ_Freq_1_MxBass",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_1_MxBass",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_1_MxBass",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_1_MxBass",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
+ {
+ "id": "EQ_Freq_2_MxBass",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_2_MxBass",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_2_MxBass",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_2_MxBass",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
+ {
+ "id": "EQ_Freq_3_MxBass",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_3_MxBass",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_3_MxBass",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_3_MxBass",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
+ {
+ "id": "EQ_Freq_4_MxBass",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_4_MxBass",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_4_MxBass",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_4_MxBass",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6670"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/MxBass/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ }
+ ]
+ }
+ ],
+ "label": "EQs"
+ }
+ ]
+ },
+ {
+ "label": "MxDrums",
+ "tabs": [
+ {
+ "widgets": [
+ {
+ "id": "MxKicks",
+ "label": "MxKicks",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/MxKicks/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "MxSnares",
+ "label": "MxSnares",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/MxSnares/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "MxCymbs",
+ "label": "MxCymbs",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/MxCymbs/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "MxCont",
+ "label": "MxCont",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/MxCont/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "MxSamples",
+ "label": "MxSamples",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/MxSamples/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "MxDrums",
+ "label": "MxDrums",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "color": "turquoise",
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/MxDrums/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ],
+ "label": "Main"
+ },
+ {
+ "tabs": [
+ {
+ "label": "MxKicks",
+ "widgets": [
+ {
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
+ {
+ "id": "EQ_Freq_1_MxKicks",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_1_MxKicks",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_1_MxKicks",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_1_MxKicks",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
+ {
+ "id": "EQ_Freq_2_MxKicks",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_2_MxKicks",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_2_MxKicks",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_2_MxKicks",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
+ {
+ "id": "EQ_Freq_3_MxKicks",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_3_MxKicks",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_3_MxKicks",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_3_MxKicks",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
+ {
+ "id": "EQ_Freq_4_MxKicks",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_4_MxKicks",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_4_MxKicks",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_4_MxKicks",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/MxKicks/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ }
+ ]
+ },
+ {
+ "label": "MxCymbs",
+ "widgets": [
+ {
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
+ {
+ "id": "EQ_Freq_1_MxCymbs",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_1_MxCymbs",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_1_MxCymbs",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_1_MxCymbs",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
+ {
+ "id": "EQ_Freq_2_MxCymbs",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_2_MxCymbs",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_2_MxCymbs",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_2_MxCymbs",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
+ {
+ "id": "EQ_Freq_3_MxCymbs",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_3_MxCymbs",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_3_MxCymbs",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_3_MxCymbs",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
+ {
+ "id": "EQ_Freq_4_MxCymbs",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_4_MxCymbs",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_4_MxCymbs",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_4_MxCymbs",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6671"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/MxCymbs/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ }
+ ]
+ }
+ ],
+ "label": "EQs"
+ }
+ ]
+ },
+ {
+ "label": "Acoustics",
+ "widgets": [
+ {
+ "id": "PianoToy",
+ "label": "PianoToy",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6674"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/PianoToy/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Cymbalum",
+ "label": "Cymbalum",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6674"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Cymbalum/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "GuitarAc",
+ "label": "GuitarAc",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6674"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/GuitarAc/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Acoustics",
+ "label": "Acoustics",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "color": "turquoise",
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Acoustics/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ]
+ },
+ {
+ "label": "Vocals",
+ "tabs": [
+ {
+ "widgets": [
+ {
+ "id": "Vx_Discours",
+ "label": "Vx_Discours",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Vx_Discours/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Vx_ORL",
+ "label": "Vx_ORL",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Vx_ORL/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "FX_Vx_ORL_1",
+ "label": "FX_Vx_ORL_1",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FX_Vx_ORL_1/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "FX_Vx_ORL_2",
+ "label": "FX_Vx_ORL_2",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FX_Vx_ORL_2/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "FX_Vx_ORL",
+ "label": "FX_Vx_ORL",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FX_Vx_ORL/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Vx_Dag",
+ "label": "Vx_Dag",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Vx_Dag/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "FX_Vx_Dag_1",
+ "label": "FX_Vx_Dag_1",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FX_Vx_Dag_1/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "FX_Vx_Dag_2",
+ "label": "FX_Vx_Dag_2",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FX_Vx_Dag_2/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "FX_Vx_Dag",
+ "label": "FX_Vx_Dag",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/FX_Vx_Dag/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Scape_Vx_Dag",
+ "label": "Scape_Vx_Dag",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Scape_Vx_Dag/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Vx_Jeannot",
+ "label": "Vx_Jeannot",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Vx_Jeannot/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Vocals",
+ "label": "Vocals",
+ "range": {
+ "min": -70,
+ "20%": -40,
+ "45%": -20,
+ "60%": -10,
+ "71%": -6,
+ "78%": -3,
+ "85%": 0,
+ "92%": 3,
+ "max": 6
+ },
+ "target": [
+ "SCSon:6666"
+ ],
+ "color": "turquoise",
+ "type": "fader",
+ "linkId": "",
+ "unit": "",
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": false,
+ "compact": false,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "meter": false,
+ "address": "/strip/Vocals/Gain/Gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ],
+ "label": "Main"
+ },
+ {
+ "tabs": [
+ {
+ "label": "ORL",
+ "widgets": [
+ {
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
+ {
+ "id": "EQ_Freq_1_Vx_ORL",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_1_Vx_ORL",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_1_Vx_ORL",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_1_Vx_ORL",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
+ {
+ "id": "EQ_Freq_2_Vx_ORL",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_2_Vx_ORL",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_2_Vx_ORL",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_2_Vx_ORL",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
+ {
+ "id": "EQ_Freq_3_Vx_ORL",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_3_Vx_ORL",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_3_Vx_ORL",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_3_Vx_ORL",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
+ {
+ "id": "EQ_Freq_4_Vx_ORL",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_4_Vx_ORL",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_4_Vx_ORL",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_4_Vx_ORL",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ }
+ ]
+ },
+ {
+ "label": "Dag",
+ "widgets": [
+ {
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
+ {
+ "id": "EQ_Freq_1_Vx_Dag",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_1_Vx_Dag",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_1_Vx_Dag",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_1_Vx_Dag",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
+ {
+ "id": "EQ_Freq_2_Vx_Dag",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_2_Vx_Dag",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_2_Vx_Dag",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_2_Vx_Dag",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
+ {
+ "id": "EQ_Freq_3_Vx_Dag",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_3_Vx_Dag",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_3_Vx_Dag",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_3_Vx_Dag",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
+ {
+ "id": "EQ_Freq_4_Vx_Dag",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_4_Vx_Dag",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_4_Vx_Dag",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_4_Vx_Dag",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ }
+ ]
+ },
+ {
+ "label": "Scape Dag",
+ "widgets": [
+ {
+ "id": "EQ_1",
+ "type": "strip",
+ "label": "Band 1",
+ "widgets": [
+ {
+ "id": "EQ_Freq_1_Scape_Vx_Dag",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 20,
+ "max": 2000
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Frequency%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_1_Scape_Vx_Dag",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Bandwidth%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_1_Scape_Vx_Dag",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Gain%201/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_1_Scape_Vx_Dag",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Section%201/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_2",
+ "type": "strip",
+ "label": "Band 2",
+ "widgets": [
+ {
+ "id": "EQ_Freq_2_Scape_Vx_Dag",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 40,
+ "max": 4000
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Frequency%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_2_Scape_Vx_Dag",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Bandwidth%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_2_Scape_Vx_Dag",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Gain%202/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_2_Scape_Vx_Dag",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Section%202/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_3",
+ "type": "strip",
+ "label": "Band 3",
+ "widgets": [
+ {
+ "id": "EQ_Freq_3_Scape_Vx_Dag",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 100,
+ "max": 10000
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Frequency%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_3_Scape_Vx_Dag",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Bandwidth%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_3_Scape_Vx_Dag",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Gain%203/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_3_Scape_Vx_Dag",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Section%203/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "EQ_4",
+ "type": "strip",
+ "label": "Band 4",
+ "widgets": [
+ {
+ "id": "EQ_Freq_4_Scape_Vx_Dag",
+ "label": "Frequency",
+ "type": "knob",
+ "range": {
+ "min": 200,
+ "max": 20000
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Frequency%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Band_4_Scape_Vx_Dag",
+ "label": "BandWidth",
+ "type": "knob",
+ "range": {
+ "min": 0.125,
+ "max": 8
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Bandwidth%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_Gain_4_Scape_Vx_Dag",
+ "label": "Gain",
+ "type": "knob",
+ "range": {
+ "min": -20,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Gain%204/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "EQ_On_4_Scape_Vx_Dag",
+ "type": "toggle",
+ "label": "Enable EQ",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": "",
+ "on": 1,
+ "off": 0,
+ "precision": 2,
+ "address": "/strip/Scape_Vx_Dag/4-band%20parametric%20filter/Section%204/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "horizontal": false,
+ "color": "auto",
+ "css": ""
+ }
+ ]
+ }
+ ],
+ "label": "EQs"
+ },
+ {
+ "stack": true,
+ "widgets": [
+ {
+ "id": "Gate_Vx_Dag",
+ "label": "Vx_Dag",
+ "type": "strip",
+ "horizontal": true,
+ "widgets": [
+ {
+ "id": "Gate_LF_Vx_Dag",
+ "label": "LF filter",
+ "type": "knob",
+ "range": {
+ "min": 33.6,
+ "max": 4800
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/Gate/LF%20key%20filter%20(Hz)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Gate_HF_Vx_Dag",
+ "label": "HF filter",
+ "type": "knob",
+ "range": {
+ "min": 240,
+ "max": 23520
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/Gate/HF%20key%20filter%20(Hz)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Gate_Thresh_Vx_Dag",
+ "label": "Threshold",
+ "type": "knob",
+ "range": {
+ "min": -70,
"20%": -40,
"45%": -20,
"60%": -10,
- max: 20
+ "max": 20
},
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/Gate/Threshold%20(dB)/unscaled"
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/Gate/Threshold%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "Gate_Attack_Vx_Dag",
- label: "Attack (ms)",
- type:"knob",
- range: {
- min: 0,
- max: 1000
+ "id": "Gate_Attack_Vx_Dag",
+ "label": "Attack (ms)",
+ "type": "knob",
+ "range": {
+ "min": 0,
+ "max": 1000
},
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/Gate/Attack%20(ms)/unscaled"
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/Gate/Attack%20(ms)/unscaled",
+ "preArgs": []
},
{
- id: "Gate_Hold_Vx_Dag",
- label: "Hold (ms)",
- type:"knob",
- range: {
- min: 2,
- max: 2000
+ "id": "Gate_Hold_Vx_Dag",
+ "label": "Hold (ms)",
+ "type": "knob",
+ "range": {
+ "min": 2,
+ "max": 2000
},
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/Gate/Hold%20(ms)/unscaled"
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/Gate/Hold%20(ms)/unscaled",
+ "preArgs": []
},
{
- id: "Gate_Decay_Vx_Dag",
- label: "Decay (ms)",
- type:"knob",
- range: {
- min: 2,
- max: 4000
+ "id": "Gate_Decay_Vx_Dag",
+ "label": "Decay (ms)",
+ "type": "knob",
+ "range": {
+ "min": 2,
+ "max": 4000
},
- target: nmPorts['Vocals'],
- path: "/strip/Vx_Dag/Gate/Decay%20(ms)/unscaled"
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/Gate/Decay%20(ms)/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": ""
},
{
- id: "Gate_Vx_ORL",
- label: "Vx_ORL",
- type: "strip",
- horizontal:true,
- widgets: [
+ "id": "Gate_Vx_ORL",
+ "label": "Vx_ORL",
+ "type": "strip",
+ "horizontal": true,
+ "widgets": [
{
- id: "Gate_LF_Vx_ORL",
- label: "LF filter",
- type:"knob",
- range: {
- min: 33.6,
- max: 4800
+ "id": "Gate_LF_Vx_ORL",
+ "label": "LF filter",
+ "type": "knob",
+ "range": {
+ "min": 33.6,
+ "max": 4800
},
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/Gate/LF%20key%20filter%20(Hz)/unscaled"
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/Gate/LF%20key%20filter%20(Hz)/unscaled",
+ "preArgs": []
},
{
- id: "Gate_HF_Vx_ORL",
- label: "HF filter",
- type:"knob",
- range: {
- min: 240,
- max: 23520
+ "id": "Gate_HF_Vx_ORL",
+ "label": "HF filter",
+ "type": "knob",
+ "range": {
+ "min": 240,
+ "max": 23520
},
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/Gate/HF%20key%20filter%20(Hz)/unscaled"
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/Gate/HF%20key%20filter%20(Hz)/unscaled",
+ "preArgs": []
},
{
- id: "Gate_Thresh_Vx_ORL",
- label: "Threshold",
- type:"knob",
- range: {
- min: -70,
+ "id": "Gate_Thresh_Vx_ORL",
+ "label": "Threshold",
+ "type": "knob",
+ "range": {
+ "min": -70,
"20%": -40,
"45%": -20,
"60%": -10,
- max: 20
+ "max": 20
},
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/Gate/Threshold%20(dB)/unscaled"
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/Gate/Threshold%20(dB)/unscaled",
+ "preArgs": []
},
{
- id: "Gate_Attack_Vx_ORL",
- label: "Attack (ms)",
- type:"knob",
- range: {
- min: 0,
- max: 1000
+ "id": "Gate_Attack_Vx_ORL",
+ "label": "Attack (ms)",
+ "type": "knob",
+ "range": {
+ "min": 0,
+ "max": 1000
},
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/Gate/Attack%20(ms)/unscaled"
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/Gate/Attack%20(ms)/unscaled",
+ "preArgs": []
},
{
- id: "Gate_Hold_Vx_ORL",
- label: "Hold (ms)",
- type:"knob",
- range: {
- min: 2,
- max: 2000
+ "id": "Gate_Hold_Vx_ORL",
+ "label": "Hold (ms)",
+ "type": "knob",
+ "range": {
+ "min": 2,
+ "max": 2000
},
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/Gate/Hold%20(ms)/unscaled"
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/Gate/Hold%20(ms)/unscaled",
+ "preArgs": []
},
{
- id: "Gate_Decay_Vx_ORL",
- label: "Decay (ms)",
- type:"knob",
- range: {
- min: 2,
- max: 4000
+ "id": "Gate_Decay_Vx_ORL",
+ "label": "Decay (ms)",
+ "type": "knob",
+ "range": {
+ "min": 2,
+ "max": 4000
},
- target: nmPorts['Vocals'],
- path: "/strip/Vx_ORL/Gate/Decay%20(ms)/unscaled"
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/Gate/Decay%20(ms)/unscaled",
+ "preArgs": []
}
- ]
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": ""
}
- ]
+ ],
+ "label": "Gates"
},
{
- id:"Comp_Vocals",
- label:"Comp",
- widgets:function(){
- var w = []
- var s = ['Vx_Dag','Vx_ORL','Vx_Jeannot']
- for (i in s) {
- w.push({
- id: "Comp_"+s[i],
- label: s[i],
- type: "strip",
- horizontal:true,
- widgets: [
- {
- id: "Comp_Attack_"+s[i],
- label: "Attack",
- type:"knob",
- range: {
- min: 1.5,
- max: 400
- },
- unit:"ms",
- target: nmPorts['Vocals'],
- path: "/strip/"+s[i]+"/SC4%20mono/Attack%20time%20(ms)/unscaled"
- },
- {
- id: "Comp_Release_"+s[i],
- label: "Release",
- type:"knob",
- range: {
- min: 2,
- max: 800
- },
- unit:"ms",
- target: nmPorts['Vocals'],
- path: "/strip/"+s[i]+"/SC4%20mono/Release%20time%20(ms)/unscaled"
- },
- {
- id: "Comp_Thresh_"+s[i],
- label: "Threshold",
- type:"knob",
- range: {
- min: -30,
- max: 0
- },
- unit:"dB",
- target: nmPorts['Vocals'],
- path: "/strip/"+s[i]+"/SC4%20mono/Threshold%20level%20(dB)/unscaled"
- },
- {
- id: "Comp_Ratio_"+s[i],
- label: "Ratio",
- type:"knob",
- range: {
- min: 1,
- max: 20
- },
- target: nmPorts['Vocals'],
- path: "/strip/"+s[i]+"/SC4%20mono/Ratio%20(1:n)/unscaled"
- },
- {
- id: "Comp_Makeup_"+s[i],
- label: "Makeup",
- type:"knob",
- range: {
- min: 0,
- max: 24
- },
- unit:"dB",
- target: nmPorts['Vocals'],
- path: "/strip/"+s[i]+"/SC4%20mono/Makeup%20gain%20(dB)/unscaled"
- }
- ]
- })
- }
- return w
- }()
+ "label": "Comp",
+ "widgets": [
+ {
+ "id": "Comp_Vx_Dag",
+ "label": "Vx_Dag",
+ "type": "strip",
+ "horizontal": true,
+ "widgets": [
+ {
+ "id": "Comp_Attack_Vx_Dag",
+ "label": "Attack",
+ "type": "knob",
+ "range": {
+ "min": 1.5,
+ "max": 400
+ },
+ "unit": "ms",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/SC4%20mono/Attack%20time%20(ms)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Release_Vx_Dag",
+ "label": "Release",
+ "type": "knob",
+ "range": {
+ "min": 2,
+ "max": 800
+ },
+ "unit": "ms",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/SC4%20mono/Release%20time%20(ms)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Thresh_Vx_Dag",
+ "label": "Threshold",
+ "type": "knob",
+ "range": {
+ "min": -30,
+ "max": 0
+ },
+ "unit": "dB",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/SC4%20mono/Threshold%20level%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Ratio_Vx_Dag",
+ "label": "Ratio",
+ "type": "knob",
+ "range": {
+ "min": 1,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/SC4%20mono/Ratio%20(1:n)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Makeup_Vx_Dag",
+ "label": "Makeup",
+ "type": "knob",
+ "range": {
+ "min": 0,
+ "max": 24
+ },
+ "unit": "dB",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Dag/SC4%20mono/Makeup%20gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "Comp_Vx_ORL",
+ "label": "Vx_ORL",
+ "type": "strip",
+ "horizontal": true,
+ "widgets": [
+ {
+ "id": "Comp_Attack_Vx_ORL",
+ "label": "Attack",
+ "type": "knob",
+ "range": {
+ "min": 1.5,
+ "max": 400
+ },
+ "unit": "ms",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/SC4%20mono/Attack%20time%20(ms)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Release_Vx_ORL",
+ "label": "Release",
+ "type": "knob",
+ "range": {
+ "min": 2,
+ "max": 800
+ },
+ "unit": "ms",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/SC4%20mono/Release%20time%20(ms)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Thresh_Vx_ORL",
+ "label": "Threshold",
+ "type": "knob",
+ "range": {
+ "min": -30,
+ "max": 0
+ },
+ "unit": "dB",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/SC4%20mono/Threshold%20level%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Ratio_Vx_ORL",
+ "label": "Ratio",
+ "type": "knob",
+ "range": {
+ "min": 1,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/SC4%20mono/Ratio%20(1:n)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Makeup_Vx_ORL",
+ "label": "Makeup",
+ "type": "knob",
+ "range": {
+ "min": 0,
+ "max": 24
+ },
+ "unit": "dB",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_ORL/SC4%20mono/Makeup%20gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": ""
+ },
+ {
+ "id": "Comp_Vx_Jeannot",
+ "label": "Vx_Jeannot",
+ "type": "strip",
+ "horizontal": true,
+ "widgets": [
+ {
+ "id": "Comp_Attack_Vx_Jeannot",
+ "label": "Attack",
+ "type": "knob",
+ "range": {
+ "min": 1.5,
+ "max": 400
+ },
+ "unit": "ms",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Jeannot/SC4%20mono/Attack%20time%20(ms)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Release_Vx_Jeannot",
+ "label": "Release",
+ "type": "knob",
+ "range": {
+ "min": 2,
+ "max": 800
+ },
+ "unit": "ms",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Jeannot/SC4%20mono/Release%20time%20(ms)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Thresh_Vx_Jeannot",
+ "label": "Threshold",
+ "type": "knob",
+ "range": {
+ "min": -30,
+ "max": 0
+ },
+ "unit": "dB",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Jeannot/SC4%20mono/Threshold%20level%20(dB)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Ratio_Vx_Jeannot",
+ "label": "Ratio",
+ "type": "knob",
+ "range": {
+ "min": 1,
+ "max": 20
+ },
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "unit": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Jeannot/SC4%20mono/Ratio%20(1:n)/unscaled",
+ "preArgs": []
+ },
+ {
+ "id": "Comp_Makeup_Vx_Jeannot",
+ "label": "Makeup",
+ "type": "knob",
+ "range": {
+ "min": 0,
+ "max": 24
+ },
+ "unit": "dB",
+ "target": [
+ "SCSon:6672"
+ ],
+ "linkId": "",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "css": "",
+ "snap": false,
+ "origin": "auto",
+ "logScale": false,
+ "precision": 2,
+ "address": "/strip/Vx_Jeannot/SC4%20mono/Makeup%20gain%20(dB)/unscaled",
+ "preArgs": []
+ }
+ ],
+ "left": "auto",
+ "top": "auto",
+ "width": "auto",
+ "height": "auto",
+ "color": "auto",
+ "css": ""
+ }
+ ]
}
]
}
-]
-})()
+]
\ No newline at end of file
diff --git a/app/examples/eq.js b/app/examples/eq.js
index e9065a3a..c8e55157 100644
--- a/app/examples/eq.js
+++ b/app/examples/eq.js
@@ -69,9 +69,10 @@
"max": 20
},
"logScaleX": true,
- "path": "/eq_1",
"preArgs": [],
- "resolution": 512
+ "resolution": 512,
+ "origin": "auto",
+ "address": "/eq_1"
},
{
"id": "Band 1",
@@ -91,8 +92,8 @@
"linkId": "",
"on": 1,
"off": 0,
- "path": "/eq_on_1",
- "target": []
+ "target": [],
+ "address": "/eq_on_1"
},
{
"id": "eq_freq_1",
@@ -102,7 +103,6 @@
"min": 20,
"max": 22050
},
- "path": "/eq_freq_1",
"unit": "Hz",
"width": "auto",
"height": 70,
@@ -119,7 +119,8 @@
"horizontal": true,
"meter": false,
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_freq_1"
},
{
"id": "eq_q_1",
@@ -129,7 +130,6 @@
"min": 0.125,
"max": 8
},
- "path": "/eq_q_1",
"unit": "",
"width": "auto",
"height": 70,
@@ -146,7 +146,8 @@
"horizontal": true,
"meter": false,
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_q_1"
}
],
"left": 0,
@@ -176,7 +177,7 @@
"off": 0,
"linkId": "",
"target": [],
- "path": "/eq_on_2"
+ "address": "/eq_on_2"
},
{
"id": "eq_freq_2",
@@ -186,7 +187,6 @@
"min": 20,
"max": 22050
},
- "path": "/eq_freq_2",
"unit": "Hz",
"width": "auto",
"height": 70,
@@ -203,7 +203,8 @@
"meter": false,
"linkId": "",
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_freq_2"
},
{
"id": "eq_q_2",
@@ -213,7 +214,6 @@
"min": 0.125,
"max": 8
},
- "path": "/eq_q_2",
"unit": "",
"width": "auto",
"height": 70,
@@ -230,7 +230,8 @@
"meter": false,
"linkId": "",
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_q_2"
},
{
"id": "eq_gain_2",
@@ -240,7 +241,6 @@
"min": -20,
"max": 20
},
- "path": "/eq_gain_2",
"unit": "dB",
"height": 70,
"color": "auto",
@@ -257,7 +257,8 @@
"linkId": "",
"width": "auto",
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_gain_2"
}
],
"left": 100,
@@ -286,8 +287,8 @@
"on": 1,
"off": 0,
"linkId": "",
- "path": "/eq_on_3",
- "target": []
+ "target": [],
+ "address": "/eq_on_3"
},
{
"id": "eq_freq_3",
@@ -297,7 +298,6 @@
"min": 20,
"max": 22050
},
- "path": "/eq_freq_3",
"unit": "Hz",
"width": "auto",
"height": 70,
@@ -314,7 +314,8 @@
"meter": false,
"linkId": "",
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_freq_3"
},
{
"id": "eq_q_3",
@@ -324,7 +325,6 @@
"min": 0.125,
"max": 8
},
- "path": "/eq_q_3",
"unit": "",
"width": "auto",
"height": 70,
@@ -341,7 +341,8 @@
"meter": false,
"linkId": "",
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_q_3"
},
{
"id": "eq_gain_3",
@@ -351,7 +352,6 @@
"min": -20,
"max": 20
},
- "path": "/eq_gain_3",
"unit": "dB",
"height": 70,
"color": "auto",
@@ -368,7 +368,8 @@
"linkId": "",
"width": "auto",
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_gain_3"
},
{
"type": "switch",
@@ -380,14 +381,14 @@
"color": "auto",
"css": "",
"precision": 2,
- "path": "/eq_type_3",
"preArgs": [],
"target": [],
"values": {
"notch": "notch",
"peak": "peak"
},
- "linkId": ""
+ "linkId": "",
+ "address": "/eq_type_3"
}
],
"left": 200,
@@ -416,8 +417,8 @@
"on": 1,
"off": 0,
"linkId": "",
- "path": "/eq_on_4",
- "target": []
+ "target": [],
+ "address": "/eq_on_4"
},
{
"id": "eq_freq_4",
@@ -427,7 +428,6 @@
"min": 20,
"max": 22050
},
- "path": "/eq_freq_4",
"unit": "Hz",
"width": "auto",
"height": 70,
@@ -444,7 +444,8 @@
"meter": false,
"linkId": "",
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_freq_4"
},
{
"id": "eq_q_4",
@@ -454,7 +455,6 @@
"min": 0.125,
"max": 8
},
- "path": "/eq_q_4",
"unit": "",
"width": "auto",
"height": 70,
@@ -471,7 +471,8 @@
"meter": false,
"linkId": "",
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_q_4"
},
{
"id": "eq_gain_4",
@@ -481,7 +482,6 @@
"min": -20,
"max": 20
},
- "path": "/eq_gain_4",
"unit": "dB",
"height": 70,
"color": "auto",
@@ -498,7 +498,8 @@
"linkId": "",
"width": "auto",
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_gain_4"
},
{
"type": "switch",
@@ -510,14 +511,14 @@
"color": "auto",
"css": "",
"precision": 2,
- "path": "/eq_type_4",
"preArgs": [],
"target": [],
"values": {
"notch": "notch",
"peak": "peak"
},
- "linkId": ""
+ "linkId": "",
+ "address": "/eq_type_4"
}
],
"left": 300,
@@ -546,8 +547,8 @@
"on": 1,
"off": 0,
"linkId": "",
- "path": "/eq_on_5",
- "target": []
+ "target": [],
+ "address": "/eq_on_5"
},
{
"id": "eq_freq_5",
@@ -557,7 +558,6 @@
"min": 10000,
"max": 22050
},
- "path": "/eq_freq_5",
"unit": "Hz",
"width": "auto",
"height": 70,
@@ -574,7 +574,8 @@
"meter": false,
"linkId": "",
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_freq_5"
},
{
"id": "eq_q_5",
@@ -584,7 +585,6 @@
"min": 0.125,
"max": 8
},
- "path": "/eq_q_5",
"unit": "",
"width": "auto",
"height": 70,
@@ -601,7 +601,8 @@
"meter": false,
"linkId": "",
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_q_5"
},
{
"id": "eq_gain_5",
@@ -611,7 +612,6 @@
"min": -20,
"max": 20
},
- "path": "/eq_gain_5",
"unit": "dB",
"height": 70,
"color": "auto",
@@ -628,7 +628,8 @@
"linkId": "",
"width": "auto",
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_gain_5"
}
],
"left": 400,
@@ -657,8 +658,8 @@
"on": 1,
"off": 0,
"linkId": "",
- "path": "/eq_on_6",
- "target": []
+ "target": [],
+ "address": "/eq_on_6"
},
{
"id": "eq_freq_6",
@@ -668,7 +669,6 @@
"min": 10000,
"max": 22050
},
- "path": "/eq_freq_6",
"unit": "Hz",
"width": "auto",
"height": 70,
@@ -685,7 +685,8 @@
"meter": false,
"linkId": "",
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_freq_6"
},
{
"id": "eq_q_6",
@@ -695,7 +696,6 @@
"min": 0.125,
"max": 8
},
- "path": "/eq_q_6",
"unit": "",
"width": "auto",
"height": 70,
@@ -712,7 +712,8 @@
"meter": false,
"linkId": "",
"origin": "auto",
- "target": []
+ "target": [],
+ "address": "/eq_q_6"
}
],
"left": 500,
diff --git a/app/examples/plot.js b/app/examples/plot.js
index 227612ba..8de77028 100644
--- a/app/examples/plot.js
+++ b/app/examples/plot.js
@@ -14,16 +14,22 @@
"height": 254,
"horizontal": false,
"css": "",
- "absolute": false,
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"precision": 2,
- "path": "/fader_1",
"target": [],
- "meter": false
+ "meter": false,
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "snap": false,
+ "origin": "auto",
+ "address": "/fader_1",
+ "preArgs": []
},
{
"type": "fader",
@@ -37,16 +43,22 @@
"height": 253,
"horizontal": false,
"css": "",
- "absolute": false,
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"precision": 2,
- "path": "/fader_2",
"target": [],
- "meter": false
+ "meter": false,
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "snap": false,
+ "origin": "auto",
+ "address": "/fader_2",
+ "preArgs": []
},
{
"type": "fader",
@@ -60,16 +72,22 @@
"height": 253,
"horizontal": false,
"css": "",
- "absolute": false,
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"precision": 2,
- "path": "/fader_3",
"target": [],
- "meter": false
+ "meter": false,
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "snap": false,
+ "origin": "auto",
+ "address": "/fader_3",
+ "preArgs": []
},
{
"type": "fader",
@@ -83,16 +101,22 @@
"height": 253,
"horizontal": false,
"css": "",
- "absolute": false,
"range": {
"min": 0,
"max": 1
},
"logScale": false,
"precision": 2,
- "path": "/fader_4",
"target": [],
- "meter": false
+ "meter": false,
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "color": "auto",
+ "snap": false,
+ "origin": "auto",
+ "address": "/fader_4",
+ "preArgs": []
},
{
"type": "plot",
@@ -131,7 +155,10 @@
},
"logScaleX": false,
"logScaleY": false,
- "path": "/plot_1"
+ "color": "auto",
+ "origin": "auto",
+ "address": "/plot_1",
+ "preArgs": []
},
{
"type": "visualizer",
@@ -149,7 +176,10 @@
},
"logScale": false,
"label": "visualizer (fader1)",
- "path": "/visualizer_(fader_1)"
+ "color": "auto",
+ "origin": "auto",
+ "address": "/visualizer_(fader_1)",
+ "preArgs": []
},
{
"type": "rgb",
@@ -161,11 +191,12 @@
"width": "auto",
"height": "auto",
"css": "",
- "absolute": false,
"precision": 0,
- "path": "/rgb_1",
"split": false,
- "target": []
+ "target": [],
+ "snap": false,
+ "address": "/rgb_1",
+ "preArgs": []
},
{
"type": "plot",
@@ -187,7 +218,10 @@
"logScaleY": false,
"id": "plot_2",
"label": "plot_2 (rgb)",
- "path": "/plot_2"
+ "color": "auto",
+ "origin": "auto",
+ "address": "/plot_2",
+ "preArgs": []
}
]
},
@@ -209,10 +243,19 @@
"max": 1
},
"precision": 2,
- "path": "/multifader_1",
"target": [],
"logScale": false,
- "css": ""
+ "css": "",
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": true,
+ "compact": false,
+ "color": "auto",
+ "traversing": true,
+ "origin": "auto",
+ "meter": false,
+ "address": "/multifader_1",
+ "preArgs": []
},
{
"type": "plot",
@@ -233,8 +276,11 @@
},
"logScaleX": false,
"logScaleY": false,
- "path": "/plot_3",
- "css": "z-index:1"
+ "css": "z-index:1",
+ "color": "auto",
+ "origin": "auto",
+ "address": "/plot_3",
+ "preArgs": []
},
{
"type": "multitoggle",
@@ -246,14 +292,17 @@
"height": 229,
"css": "",
"precision": 2,
- "path": "/multifader_2",
"target": [],
"matrix": [
2,
2
],
"on": 1,
- "off": 0
+ "off": 0,
+ "color": "auto",
+ "traversing": true,
+ "address": "/multifader_2",
+ "preArgs": []
},
{
"type": "plot",
@@ -275,7 +324,10 @@
"logScaleX": false,
"logScaleY": false,
"id": "plot_4",
- "path": "/plot_4"
+ "color": "auto",
+ "origin": "auto",
+ "address": "/plot_4",
+ "preArgs": []
}
]
},
@@ -300,7 +352,16 @@
"logScale": false,
"id": "multifader_2",
"label": "auto",
- "path": "/multifader_2"
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": true,
+ "compact": false,
+ "color": "auto",
+ "traversing": true,
+ "origin": "auto",
+ "meter": false,
+ "address": "/multifader_2",
+ "preArgs": []
},
{
"type": "plot",
@@ -321,9 +382,12 @@
"logScaleY": false,
"css": "z-index:1",
"label": "There is a transparent multifader above this plot, just touch it... incredible, isn't it ?",
- "path": "/plot_6",
- "id": "plot_7"
+ "id": "plot_7",
+ "color": "auto",
+ "origin": "auto",
+ "address": "/plot_6",
+ "preArgs": []
}
]
}
-]
+]
\ No newline at end of file
diff --git a/app/examples/widgets.js b/app/examples/widgets.js
index cf632ef7..fa96566f 100644
--- a/app/examples/widgets.js
+++ b/app/examples/widgets.js
@@ -17,16 +17,19 @@
"width": "auto",
"height": "auto",
"css": "",
- "pan": false,
"range": {
"min": 0,
"max": 1
},
"precision": 2,
- "path": "/knob_1",
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "origin": "auto",
+ "address": "/knob_1"
},
{
"label": false,
@@ -46,9 +49,9 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/switch_1",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/switch_1"
},
{
"label": false,
@@ -76,11 +79,15 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/fader_1",
"color": "auto",
"logScale": false,
"meter": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "origin": "auto",
+ "address": "/fader_1"
},
{
"label": "Mute",
@@ -96,9 +103,9 @@
"on": 1,
"off": 0,
"precision": 2,
- "path": "/toggle_1",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/toggle_1"
}
],
"id": "strip_1",
@@ -127,16 +134,19 @@
"width": "auto",
"height": "auto",
"css": "",
- "pan": false,
"range": {
"min": 0,
"max": 1
},
"precision": 2,
- "path": "/knob_2",
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "origin": "auto",
+ "address": "/knob_2"
},
{
"label": false,
@@ -156,9 +166,9 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/switch_2",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/switch_2"
},
{
"label": false,
@@ -186,11 +196,15 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/fader_2",
"color": "auto",
"logScale": false,
"meter": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "origin": "auto",
+ "address": "/fader_2"
},
{
"label": "Mute",
@@ -206,9 +220,9 @@
"on": 1,
"off": 0,
"precision": 2,
- "path": "/toggle_2",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/toggle_2"
}
],
"id": "strip_2",
@@ -237,16 +251,19 @@
"width": "auto",
"height": "auto",
"css": "",
- "pan": false,
"range": {
"min": 0,
"max": 1
},
"precision": 2,
- "path": "/knob_3",
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "origin": "auto",
+ "address": "/knob_3"
},
{
"label": false,
@@ -266,9 +283,9 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/switch_3",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/switch_3"
},
{
"label": false,
@@ -296,11 +313,15 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/fader_3",
"color": "auto",
"logScale": false,
"meter": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "origin": "auto",
+ "address": "/fader_3"
},
{
"label": "Mute",
@@ -316,9 +337,9 @@
"on": 1,
"off": 0,
"precision": 2,
- "path": "/toggle_3",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/toggle_3"
}
],
"id": "strip_3",
@@ -347,16 +368,19 @@
"width": "auto",
"height": "auto",
"css": "",
- "pan": false,
"range": {
"min": 0,
"max": 1
},
"precision": 2,
- "path": "/knob_4",
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "origin": "auto",
+ "address": "/knob_4"
},
{
"label": false,
@@ -376,9 +400,9 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/switch_4",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/switch_4"
},
{
"label": false,
@@ -406,11 +430,15 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/fader_4",
"color": "auto",
"logScale": false,
"meter": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "origin": "auto",
+ "address": "/fader_4"
},
{
"label": "Mute",
@@ -426,9 +454,9 @@
"on": 1,
"off": 0,
"precision": 2,
- "path": "/toggle_4",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/toggle_4"
}
],
"id": "strip_4",
@@ -457,16 +485,19 @@
"width": "auto",
"height": "auto",
"css": "",
- "pan": false,
"range": {
"min": 0,
"max": 1
},
"precision": 2,
- "path": "/knob_5",
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "origin": "auto",
+ "address": "/knob_5"
},
{
"label": false,
@@ -486,9 +517,9 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/switch_5",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/switch_5"
},
{
"label": false,
@@ -516,11 +547,15 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/fader_5",
"color": "auto",
"logScale": false,
"meter": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "origin": "auto",
+ "address": "/fader_5"
},
{
"label": "Mute",
@@ -536,9 +571,9 @@
"on": 1,
"off": 0,
"precision": 2,
- "path": "/toggle_5",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/toggle_5"
}
],
"id": "strip_5",
@@ -567,16 +602,19 @@
"width": "auto",
"height": "auto",
"css": "",
- "pan": false,
"range": {
"min": 0,
"max": 1
},
"precision": 2,
- "path": "/knob_6",
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "origin": "auto",
+ "address": "/knob_6"
},
{
"label": false,
@@ -596,9 +634,9 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/switch_6",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/switch_6"
},
{
"label": false,
@@ -626,11 +664,15 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/fader_6",
"color": "auto",
"logScale": false,
"meter": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "origin": "auto",
+ "address": "/fader_6"
},
{
"label": "Mute",
@@ -646,9 +688,9 @@
"on": 1,
"off": 0,
"precision": 2,
- "path": "/toggle_6",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/toggle_6"
}
],
"id": "strip_6",
@@ -677,16 +719,19 @@
"width": "auto",
"height": "auto",
"css": "",
- "pan": false,
"range": {
"min": 0,
"max": 1
},
"precision": 2,
- "path": "/knob_7",
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "origin": "auto",
+ "address": "/knob_7"
},
{
"label": false,
@@ -706,9 +751,9 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/switch_7",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/switch_7"
},
{
"label": false,
@@ -736,11 +781,15 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/fader_7",
"color": "auto",
"logScale": false,
"meter": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "origin": "auto",
+ "address": "/fader_7"
},
{
"label": "Mute",
@@ -756,9 +805,9 @@
"on": 1,
"off": 0,
"precision": 2,
- "path": "/toggle_7",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/toggle_7"
}
],
"id": "strip_7",
@@ -787,16 +836,19 @@
"width": "auto",
"height": "auto",
"css": "",
- "pan": false,
"range": {
"min": 0,
"max": 1
},
"precision": 2,
- "path": "/knob_8",
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "origin": "auto",
+ "address": "/knob_8"
},
{
"label": false,
@@ -816,9 +868,9 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/switch_8",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/switch_8"
},
{
"label": false,
@@ -846,11 +898,15 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/fader_8",
"color": "auto",
"logScale": false,
"meter": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "origin": "auto",
+ "address": "/fader_8"
},
{
"label": "Mute",
@@ -866,9 +922,9 @@
"on": 1,
"off": 0,
"precision": 2,
- "path": "/toggle_8",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/toggle_8"
}
],
"id": "strip_8",
@@ -897,16 +953,19 @@
"width": "auto",
"height": "auto",
"css": "",
- "pan": false,
"range": {
"min": 0,
"max": 1
},
"precision": 2,
- "path": "/knob_9",
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "origin": "auto",
+ "address": "/knob_9"
},
{
"label": false,
@@ -926,9 +985,9 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/switch_9",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/switch_9"
},
{
"label": false,
@@ -956,11 +1015,15 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/fader_9",
"color": "auto",
"logScale": false,
"meter": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "origin": "auto",
+ "address": "/fader_9"
},
{
"label": "Mute",
@@ -976,9 +1039,9 @@
"on": 1,
"off": 0,
"precision": 2,
- "path": "/toggle_9",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/toggle_9"
}
],
"id": "strip_9",
@@ -1007,16 +1070,19 @@
"width": "auto",
"height": "auto",
"css": "",
- "pan": false,
"range": {
"min": 0,
"max": 1
},
"precision": 2,
- "path": "/knob_10",
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "origin": "auto",
+ "address": "/knob_10"
},
{
"label": false,
@@ -1036,9 +1102,9 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/switch_10",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/switch_10"
},
{
"label": false,
@@ -1066,11 +1132,15 @@
"horizontal": false,
"css": "",
"precision": 2,
- "path": "/fader_10",
"color": "auto",
"logScale": false,
"meter": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "origin": "auto",
+ "address": "/fader_10"
},
{
"label": "Mute",
@@ -1086,9 +1156,9 @@
"on": 1,
"off": 0,
"precision": 2,
- "path": "/toggle_10",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "address": "/toggle_10"
}
],
"id": "strip_10",
@@ -1123,9 +1193,9 @@
"height": "auto",
"css": "",
"precision": 0,
- "path": "/rgb_1",
"split": false,
- "preArgs": []
+ "preArgs": [],
+ "address": "/rgb_1"
},
{
"label": "Relative XY",
@@ -1148,12 +1218,12 @@
"max": 1
},
"precision": 2,
- "path": "/xy_1",
"split": false,
"color": "auto",
"logScaleX": false,
"logScaleY": false,
- "preArgs": []
+ "preArgs": [],
+ "address": "/xy_1"
}
],
"id": "strip_11",
@@ -1182,9 +1252,9 @@
"height": "auto",
"css": "",
"precision": 0,
- "path": "/rgb_2",
"split": false,
- "preArgs": []
+ "preArgs": [],
+ "address": "/rgb_2"
},
{
"label": "Relative XY",
@@ -1207,12 +1277,12 @@
"max": 1
},
"precision": 2,
- "path": "/xy_2",
"split": false,
"color": "auto",
"logScaleX": false,
"logScaleY": false,
- "preArgs": []
+ "preArgs": [],
+ "address": "/xy_2"
}
],
"id": "strip_12",
@@ -1241,9 +1311,9 @@
"height": "auto",
"css": "",
"precision": 0,
- "path": "/rgb_3",
"split": false,
- "preArgs": []
+ "preArgs": [],
+ "address": "/rgb_3"
},
{
"label": "Relative XY",
@@ -1266,12 +1336,12 @@
"max": 1
},
"precision": 2,
- "path": "/xy_3",
"split": false,
"color": "auto",
"logScaleX": false,
"logScaleY": false,
- "preArgs": []
+ "preArgs": [],
+ "address": "/xy_3"
}
],
"id": "strip_13",
@@ -1300,9 +1370,9 @@
"height": "auto",
"css": "",
"precision": 0,
- "path": "/rgb_4",
"split": false,
- "preArgs": []
+ "preArgs": [],
+ "address": "/rgb_4"
},
{
"label": "Relative XY",
@@ -1325,12 +1395,12 @@
"max": 1
},
"precision": 2,
- "path": "/xy_4",
"split": false,
"color": "auto",
"logScaleX": false,
"logScaleY": false,
- "preArgs": []
+ "preArgs": [],
+ "address": "/xy_4"
}
],
"id": "strip_14",
@@ -1359,9 +1429,9 @@
"height": "auto",
"css": "",
"precision": 0,
- "path": "/rgb_5",
"split": false,
- "preArgs": []
+ "preArgs": [],
+ "address": "/rgb_5"
},
{
"label": "Relative XY",
@@ -1384,12 +1454,12 @@
"max": 1
},
"precision": 2,
- "path": "/xy_5",
"split": false,
"color": "auto",
"logScaleX": false,
"logScaleY": false,
- "preArgs": []
+ "preArgs": [],
+ "address": "/xy_5"
}
],
"id": "strip_15",
@@ -1418,9 +1488,9 @@
"height": "auto",
"css": "",
"precision": 0,
- "path": "/rgb_6",
"split": false,
- "preArgs": []
+ "preArgs": [],
+ "address": "/rgb_6"
},
{
"label": "Relative XY",
@@ -1443,12 +1513,12 @@
"max": 1
},
"precision": 2,
- "path": "/xy_6",
"split": false,
"color": "auto",
"logScaleX": false,
"logScaleY": false,
- "preArgs": []
+ "preArgs": [],
+ "address": "/xy_6"
}
],
"id": "strip_16",
@@ -1495,12 +1565,16 @@
"max": 1
},
"precision": 2,
- "path": "/fader_12",
"target": [],
"color": "auto",
"logScale": false,
"meter": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "origin": "auto",
+ "address": "/fader_12"
},
{
"type": "fader",
@@ -1520,12 +1594,16 @@
"max": 1
},
"precision": 2,
- "path": "/fader_13",
"target": [],
"color": "auto",
"logScale": false,
"meter": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "origin": "auto",
+ "address": "/fader_13"
},
{
"type": "fader",
@@ -1545,12 +1623,16 @@
"max": 1
},
"precision": 2,
- "path": "/fader_14",
"target": [],
"color": "auto",
"logScale": false,
"meter": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "origin": "auto",
+ "address": "/fader_14"
},
{
"type": "fader",
@@ -1570,19 +1652,23 @@
"max": 1
},
"precision": 2,
- "path": "/fader_25",
"target": [],
"color": "auto",
"logScale": false,
"meter": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "noPip": false,
+ "compact": false,
+ "origin": "auto",
+ "address": "/fader_25"
}
],
"tabs": [],
"id": "panel_1",
"label": "auto",
- "stretch": false,
- "color": "auto"
+ "color": "auto",
+ "scroll": true
},
{
"type": "panel",
@@ -1605,14 +1691,15 @@
"height": "50%",
"css": "",
"precision": 2,
- "path": "/fader_17",
"target": [],
"on": 1,
"off": 0,
"id": "push_5",
"label": "auto",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "norelease": false,
+ "address": "/fader_17"
},
{
"type": "push",
@@ -1623,14 +1710,15 @@
"height": "50%",
"css": "",
"precision": 2,
- "path": "/fader_18",
"target": [],
"on": 1,
"off": 0,
"id": "push_3",
"label": "auto",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "norelease": false,
+ "address": "/fader_18"
},
{
"type": "push",
@@ -1641,14 +1729,15 @@
"height": "50%",
"css": "",
"precision": 2,
- "path": "/fader_19",
"target": [],
"on": 1,
"off": 0,
"id": "push_1",
"label": "auto",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "norelease": false,
+ "address": "/fader_19"
},
{
"type": "push",
@@ -1659,14 +1748,15 @@
"height": "50%",
"css": "",
"precision": 2,
- "path": "/fader_20",
"target": [],
"on": 1,
"off": 0,
"id": "push_2",
"label": "auto",
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "norelease": false,
+ "address": "/fader_20"
}
]
},
@@ -1688,14 +1778,17 @@
"max": 1
},
"precision": 2,
- "path": "/fader_21",
"target": [],
- "pan": false,
"left": "auto",
"top": "auto",
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "origin": "auto",
+ "address": "/fader_21"
},
{
"type": "knob",
@@ -1714,12 +1807,15 @@
"max": 1
},
"precision": 2,
- "path": "/fader_22",
"target": [],
- "pan": false,
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "origin": "auto",
+ "address": "/fader_22"
},
{
"type": "knob",
@@ -1738,12 +1834,15 @@
"max": 1
},
"precision": 2,
- "path": "/fader_23",
"target": [],
- "pan": false,
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "origin": "auto",
+ "address": "/fader_23"
},
{
"type": "knob",
@@ -1762,12 +1861,15 @@
"max": 1
},
"precision": 2,
- "path": "/fader_24",
"target": [],
- "pan": false,
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "noPip": true,
+ "compact": false,
+ "angle": 270,
+ "origin": "auto",
+ "address": "/fader_24"
}
]
},
@@ -1777,8 +1879,8 @@
],
"id": "panel_2",
"label": "auto",
- "stretch": false,
- "color": "auto"
+ "color": "auto",
+ "scroll": true
}
]
}
@@ -1803,11 +1905,18 @@
"max": 1
},
"precision": 2,
- "path": "/multifader_1",
"target": [],
"color": "auto",
"logScale": false,
- "preArgs": []
+ "preArgs": [],
+ "alignRight": false,
+ "horizontal": false,
+ "noPip": true,
+ "compact": false,
+ "traversing": true,
+ "origin": "auto",
+ "meter": false,
+ "address": "/multifader_1"
},
{
"type": "multipush",
@@ -1825,10 +1934,12 @@
"on": 1,
"off": 0,
"precision": 2,
- "path": "/multipush_1",
"target": [],
"color": "auto",
- "preArgs": []
+ "preArgs": [],
+ "traversing": true,
+ "norelease": false,
+ "address": "/multipush_1"
},
{
"type": "multitoggle",
@@ -1849,8 +1960,9 @@
"target": [],
"color": "auto",
"preArgs": [],
- "path": "/multitoggle_1"
+ "traversing": true,
+ "address": "/multitoggle_1"
}
]
}
-]
+]
\ No newline at end of file
From c1abadc4d029ded01b5dfc6457cd83a713b2b310 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 10:48:35 +0100
Subject: [PATCH 0142/5523] editor: fix old path to address
---
src/browser/js/app/editor/purge.js | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/browser/js/app/editor/purge.js b/src/browser/js/app/editor/purge.js
index ab37f3d0..c4026603 100644
--- a/src/browser/js/app/editor/purge.js
+++ b/src/browser/js/app/editor/purge.js
@@ -57,14 +57,14 @@ module.exports = function(purgetabs) {
delete WIDGETS_LINKED[i]
}
}
- for (i in WIDGETS_BY_PATH) {
- for (var j=WIDGETS_BY_PATH[i].length-1;j>=0;j--) {
- if (!$b.find(WIDGETS_BY_PATH[i][j]).length) {
- WIDGETS_BY_PATH[i].splice(j,1)
+ for (i in WIDGETS_BY_ADDRESS) {
+ for (var j=WIDGETS_BY_ADDRESS[i].length-1;j>=0;j--) {
+ if (!$b.find(WIDGETS_BY_ADDRESS[i][j]).length) {
+ WIDGETS_BY_ADDRESS[i].splice(j,1)
}
}
- if (!WIDGETS_BY_PATH[i].length) {
- delete WIDGETS_BY_PATH[i]
+ if (!WIDGETS_BY_ADDRESS[i].length) {
+ delete WIDGETS_BY_ADDRESS[i]
}
}
}
From 63f4487a0d3e476824087602b6882437817045b2 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 10:55:53 +0100
Subject: [PATCH 0143/5523] parser: add some comments
---
src/browser/js/app/parser.js | 37 ++++++++++++++++++++++++++++--------
1 file changed, 29 insertions(+), 8 deletions(-)
diff --git a/src/browser/js/app/parser.js b/src/browser/js/app/parser.js
index ac86cbdf..14116cf3 100644
--- a/src/browser/js/app/parser.js
+++ b/src/browser/js/app/parser.js
@@ -1,3 +1,7 @@
+/*
+ Session File Parser
+*/
+
var widgets = require('./widgets'),
widgetOptions = widgets.widgetOptions,
createWidget = widgets.createWidget,
@@ -85,14 +89,18 @@ module.exports.widgets = function(data,parent) {
for (i in data) {
var widgetData = data[i]
+ // Set default widget type
widgetData.type = widgetData.type || 'fader'
+ // Safe copy widget's options
var tmpWidgetOptions = JSON.parse(JSON.stringify(widgetOptions))
+ // Set widget's undefined options to default
for (i in tmpWidgetOptions[widgetData.type]) {
if (i.indexOf('separator')==-1 && widgetData[i]===undefined) widgetData[i] = tmpWidgetOptions[widgetData.type][i]
}
+ // Genrate widget's id, based on its type
if (widgetData.id=='auto') {
var id
while (!id || WIDGETS[id]) {
@@ -101,57 +109,69 @@ module.exports.widgets = function(data,parent) {
widgetData.id = id
}
+ // Backward compatibility patch: path -> address
if (widgetData.path) widgetData.address = widgetData.path
-
- widgetData.address = widgetData.address=='auto'?'/' + widgetData.id:widgetData.address
- widgetData.target = widgetData.target?(Array.isArray(widgetData.target)?widgetData.target:[widgetData.target]):false
+ // Genrate default address
+ widgetData.address = widgetData.address=='auto'?'/' + widgetData.id:widgetData.address
+
+ // Delete unrecognized options
for (i in widgetData) {
if (widgetOptions[widgetData.type][i]===undefined && i!='type') {delete widgetData[i]}
}
-
- for (t in {width:'',height:'',top:'',left:''}) {
- widgetData[t] = `${widgetData[t]}`.indexOf('-')!=-1?0:widgetData[t]
- }
-
if (parent.hasClass('strip')) {
delete widgetData.top
delete widgetData.left
}
+ // Turn preArgs into array
if (widgetData.preArgs!=undefined) {
widgetData.preArgs = Array.isArray(widgetData.preArgs)?widgetData.preArgs:[widgetData.preArgs]
}
+
+ // Turn preArgs into array
if (widgetData.target!=undefined) {
widgetData.target = Array.isArray(widgetData.target)?widgetData.target:[widgetData.target]
}
+
+ // dimensions / coordinates can't be < 0
+ for (t in {width:'',height:'',top:'',left:''}) {
+ widgetData[t] = `${widgetData[t]}`.indexOf('-')!=-1?0:widgetData[t]
+ }
+
+ // convert dimensions / coordinates to rem
var width = parseFloat(widgetData.width)==widgetData.width?parseFloat(widgetData.width)+'rem' : widgetData.width,
height = parseFloat(widgetData.height)==widgetData.height?parseFloat(widgetData.height)+'rem' : widgetData.height,
left = parseFloat(widgetData.left)==widgetData.left?parseFloat(widgetData.left)+'rem' : widgetData.left,
top = parseFloat(widgetData.top)==widgetData.top?parseFloat(widgetData.top)+'rem' : widgetData.top
+ // dimensions / coordinates css
var styleW = widgetData.width&&widgetData.width!='auto'?`width:${width};min-width:auto;`:'',
styleH = widgetData.height&&widgetData.height!='auto'?`height:${height};min-height:auto;`:'',
styleL = widgetData.left&&widgetData.left!='auto'||widgetData.left==0?`left:${left};`:'',
styleT = widgetData.top&&widgetData.top!='auto'||widgetData.top==0?`top:${top};`:''
+ // Generate label, iconify if starting with "icon:"
var label = widgetData.label == 'auto'?
widgetData.id:
typeof widgetData.label == 'string' && widgetData.label.indexOf('icon:')!=-1?
icon(widgetData.label.split(':')[1].trim().replace('fa-','')):
widgetData.label
+ // create container
var widgetContainer = $(`
`)
+ // Set custom css color variable
if (widgetData.color && widgetData.color!='auto') widgetContainer[0].style.setProperty('--color-custom',widgetData.color)
+ // Hide label if false
if (widgetData.label===false) widgetContainer.addClass('nolabel')
// create widget
@@ -179,6 +199,7 @@ module.exports.widgets = function(data,parent) {
WIDGETS_BY_ADDRESS[addressref].push(widgetInner)
}
+ // Append the widget to its parent
parent[0].appendChild(widgetContainer[0])
}
From 165fa8f4da318b5d93bd7970f2ea51e443505f2c Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 11:49:05 +0100
Subject: [PATCH 0144/5523] editor: first attempt to make editor osc
controllable
---
src/browser/js/app/callbacks.js | 5 +++-
src/browser/js/app/editor/data-workers.js | 29 ++++++++++++++++++-----
2 files changed, 27 insertions(+), 7 deletions(-)
diff --git a/src/browser/js/app/callbacks.js b/src/browser/js/app/callbacks.js
index 48286665..cee457c4 100644
--- a/src/browser/js/app/callbacks.js
+++ b/src/browser/js/app/callbacks.js
@@ -1,13 +1,16 @@
var init = require('./init'),
actions = require('./actions'),
utils = require('./utils'),
- icon = utils.icon
+ icon = utils.icon,
+ {remoteEdit} = require('./editor/data-workers')
module.exports = {
receiveOsc: function(event,data){
var data = data || event
+ if (data.address == '/EDIT') return remoteEdit(data.args[0], data.args[1])
+
// fetch ids corresponding to the osc address
var address = data.address,
addressref = address,
diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js
index 3f81f7e3..e7e28304 100644
--- a/src/browser/js/app/editor/data-workers.js
+++ b/src/browser/js/app/editor/data-workers.js
@@ -47,7 +47,7 @@ var getObjectData = function(obj){
}
-var updateDom = function(container,data) {
+var updateDom = function(container,data, remote) {
// save state
var scroll = $('#sidepanel').scrollTop(),
@@ -61,7 +61,7 @@ var updateDom = function(container,data) {
var newContainer = parsewidgets([data],container.parent())
container.replaceWith(newContainer)
- editObject(newContainer,data)
+ if (!remote) editObject(newContainer,data)
} else if (container.hasClass('tab')) {
// tab
@@ -77,7 +77,7 @@ var updateDom = function(container,data) {
$(`[data-tab="#${container.attr('id')}"]`).html(`${data.label}`)
- editObject(newContainer,data)
+ if (!remote) editObject(newContainer,data)
} else if (container.attr('id')=='container') {
// session
@@ -85,8 +85,10 @@ var updateDom = function(container,data) {
container.empty()
parsetabs(data,container,true)
- editSession(newContainer,data)
- sidepanelCreateToggle()
+ if (!remote) {
+ editSession(newContainer,data)
+ sidepanelCreateToggle()
+ }
}
@@ -163,8 +165,23 @@ var incrementWidget = function(data){
}
+var remoteEdit = function(id,json) {
+ var newdata = JSON.parse(json),
+ containers = WIDGETS[id]
+
+ if (!WIDGETS[id]) return
+ for (i in WIDGETS[id]) {
+ var container = WIDGETS[id][i].parent(),
+ data = getObjectData(container)
+
+ $.extend(true,data,newdata)
+ updateDom(container,data,true)
+ }
+}
+
module.exports = {
updateDom:updateDom,
getObjectData:getObjectData,
- incrementWidget:incrementWidget
+ incrementWidget:incrementWidget,
+ remoteEdit:remoteEdit
}
From 8db60cd01dcd9a49aacfb7c93ae900776715b899 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 12:01:14 +0100
Subject: [PATCH 0145/5523] docs: move custom module, start remote editing docs
---
resources/docs/{ => user-guide}/cutom-module.md | 0
resources/docs/user-guide/remote-editing.md | 13 +++++++++++++
2 files changed, 13 insertions(+)
rename resources/docs/{ => user-guide}/cutom-module.md (100%)
create mode 100644 resources/docs/user-guide/remote-editing.md
diff --git a/resources/docs/cutom-module.md b/resources/docs/user-guide/cutom-module.md
similarity index 100%
rename from resources/docs/cutom-module.md
rename to resources/docs/user-guide/cutom-module.md
diff --git a/resources/docs/user-guide/remote-editing.md b/resources/docs/user-guide/remote-editing.md
new file mode 100644
index 00000000..8f3b0517
--- /dev/null
+++ b/resources/docs/user-guide/remote-editing.md
@@ -0,0 +1,13 @@
+# Remote editing
+
+The interface can be remotely edited by sending the appropriate osc messages (`-o` / `--osc-port` must be set).
+
+## supported commands
+
+### `/EDIT id options`
+
+Apply a set of options to an existing widget
+
+- `id`: `string`, widget's `id`
+- `option`: `string`, JSON object defining the new properties to merge
+ - example: `{"label":"New Label", "color":"red"}`
From b675007f5fbef72edad83c451f05ba3c0195195f Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 12:18:47 +0100
Subject: [PATCH 0146/5523] remote edit: backward loop to edit *all* matching
widgets
---
src/browser/js/app/editor/data-workers.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js
index e7e28304..6e864a3a 100644
--- a/src/browser/js/app/editor/data-workers.js
+++ b/src/browser/js/app/editor/data-workers.js
@@ -170,10 +170,10 @@ var remoteEdit = function(id,json) {
containers = WIDGETS[id]
if (!WIDGETS[id]) return
- for (i in WIDGETS[id]) {
+ for (var i=WIDGETS[id].length-1;i>=0;i--) {
var container = WIDGETS[id][i].parent(),
data = getObjectData(container)
-
+
$.extend(true,data,newdata)
updateDom(container,data,true)
}
From 5c2bbddbdaf456c70bf86e177596a596be2cab85 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 12:51:15 +0100
Subject: [PATCH 0147/5523] docs: typo
---
resources/docs/user-guide/remote-editing.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/docs/user-guide/remote-editing.md b/resources/docs/user-guide/remote-editing.md
index 8f3b0517..b8e20d77 100644
--- a/resources/docs/user-guide/remote-editing.md
+++ b/resources/docs/user-guide/remote-editing.md
@@ -9,5 +9,5 @@ The interface can be remotely edited by sending the appropriate osc messages (`-
Apply a set of options to an existing widget
- `id`: `string`, widget's `id`
-- `option`: `string`, JSON object defining the new properties to merge
+- `options`: `string`, JSON object defining the new properties to merge
- example: `{"label":"New Label", "color":"red"}`
From 6593cf29d43963e8bcb4878b3c24febc3b40b28a Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 13:47:11 +0100
Subject: [PATCH 0148/5523] remote-exec: use a dedicated module to handle osc
remote exec (edit etc)
---
resources/docs/user-guide/remote-editing.md | 8 +++++--
src/browser/js/app/callbacks.js | 4 ++--
src/browser/js/app/editor/data-workers.js | 17 +-------------
src/browser/js/app/remote-exec.js | 25 +++++++++++++++++++++
4 files changed, 34 insertions(+), 20 deletions(-)
create mode 100644 src/browser/js/app/remote-exec.js
diff --git a/resources/docs/user-guide/remote-editing.md b/resources/docs/user-guide/remote-editing.md
index b8e20d77..5aaa8c3c 100644
--- a/resources/docs/user-guide/remote-editing.md
+++ b/resources/docs/user-guide/remote-editing.md
@@ -2,9 +2,13 @@
The interface can be remotely edited by sending the appropriate osc messages (`-o` / `--osc-port` must be set).
-## supported commands
+```
+/EXEC COMMAND ARGS
+```
-### `/EDIT id options`
+## Supported commands
+
+### `edit` : `/EXEC edit id options`
Apply a set of options to an existing widget
diff --git a/src/browser/js/app/callbacks.js b/src/browser/js/app/callbacks.js
index cee457c4..511c8a17 100644
--- a/src/browser/js/app/callbacks.js
+++ b/src/browser/js/app/callbacks.js
@@ -2,14 +2,14 @@ var init = require('./init'),
actions = require('./actions'),
utils = require('./utils'),
icon = utils.icon,
- {remoteEdit} = require('./editor/data-workers')
+ remoteExec = require('./remote-exec')
module.exports = {
receiveOsc: function(event,data){
var data = data || event
- if (data.address == '/EDIT') return remoteEdit(data.args[0], data.args[1])
+ if (data.address == '/EXEC') return remoteExec(data.args)
// fetch ids corresponding to the osc address
var address = data.address,
diff --git a/src/browser/js/app/editor/data-workers.js b/src/browser/js/app/editor/data-workers.js
index 6e864a3a..9ce95ef9 100644
--- a/src/browser/js/app/editor/data-workers.js
+++ b/src/browser/js/app/editor/data-workers.js
@@ -165,23 +165,8 @@ var incrementWidget = function(data){
}
-var remoteEdit = function(id,json) {
- var newdata = JSON.parse(json),
- containers = WIDGETS[id]
-
- if (!WIDGETS[id]) return
- for (var i=WIDGETS[id].length-1;i>=0;i--) {
- var container = WIDGETS[id][i].parent(),
- data = getObjectData(container)
-
- $.extend(true,data,newdata)
- updateDom(container,data,true)
- }
-}
-
module.exports = {
updateDom:updateDom,
getObjectData:getObjectData,
- incrementWidget:incrementWidget,
- remoteEdit:remoteEdit
+ incrementWidget:incrementWidget
}
diff --git a/src/browser/js/app/remote-exec.js b/src/browser/js/app/remote-exec.js
new file mode 100644
index 00000000..f7b28e6d
--- /dev/null
+++ b/src/browser/js/app/remote-exec.js
@@ -0,0 +1,25 @@
+var {getObjectData, updateDom} = require('./editor/data-workers')
+
+var callbacks = {
+ edit: function(args) {
+ var [id, json] = args,
+ newdata = JSON.parse(json),
+ containers = WIDGETS[id]
+
+ if (!WIDGETS[id]) return
+ for (var i=WIDGETS[id].length-1;i>=0;i--) {
+ var container = WIDGETS[id][i].parent(),
+ data = getObjectData(container)
+
+ $.extend(true,data,newdata)
+ updateDom(container,data,true)
+ }
+ }
+}
+
+module.exports = function(args){
+ var [name, ...args] = args
+ if (callbacks[name]) {
+ callbacks[name](args)
+ }
+}
From a000281cb0867088edf4b525a67b548edd1e8667 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 14:06:52 +0100
Subject: [PATCH 0149/5523] osc: wrong variable name in debug log
---
app/main/osc.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/main/osc.js b/app/main/osc.js
index 3953eb78..1344ed2d 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -62,7 +62,7 @@ var receiveOsc = function(data, info){
ipc.send('receiveOsc',data)
- if (debug) console.log('OSC received: ', {address:data.address, args: data.args}, 'From : ' + data.address + ':' + data.port)
+ if (debug) console.log('OSC received: ', {address:data.address, args: data.args}, 'From : ' + data.host + ':' + data.port)
}
From e9627cb5141d29382cab8054bc93be5f264a4ec1 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 16:23:52 +0100
Subject: [PATCH 0150/5523] docs: metion remote editing from custom module
---
resources/docs/user-guide/remote-editing.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/docs/user-guide/remote-editing.md b/resources/docs/user-guide/remote-editing.md
index 5aaa8c3c..af15d62b 100644
--- a/resources/docs/user-guide/remote-editing.md
+++ b/resources/docs/user-guide/remote-editing.md
@@ -1,6 +1,6 @@
# Remote editing
-The interface can be remotely edited by sending the appropriate osc messages (`-o` / `--osc-port` must be set).
+The interface can be remotely edited by sending the appropriate osc messages (from an external source with `-o` / `--osc-port` set, or via `custom-module` scripting).
```
/EXEC COMMAND ARGS
From 858b3c0a0f8f6d68c27e056e85d64445a4168075 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 16:51:25 +0100
Subject: [PATCH 0151/5523] editor: fix horizontal scrollbar height
---
src/browser/scss/_sidepanel.scss | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/browser/scss/_sidepanel.scss b/src/browser/scss/_sidepanel.scss
index f038de21..129e0614 100644
--- a/src/browser/scss/_sidepanel.scss
+++ b/src/browser/scss/_sidepanel.scss
@@ -69,12 +69,18 @@
&:vertical {
border-left:8rem solid var(--color-fg);
}
+ &:horizontal {
+ border-top:8rem solid var(--color-fg);
+ }
}
&::-webkit-scrollbar-thumb {
background:var(--color-raised);
&:vertical {
border-left:8rem solid var(--color-fg);
}
+ &:horizontal {
+ border-top:8rem solid var(--color-fg);
+ }
}
&::-webkit-scrollbar-button {
border-color: var(--color-fg);
From 1685dcc808894e636c086745d360eafc38bcb034 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 16:58:44 +0100
Subject: [PATCH 0152/5523] remote edit: tell'em how expensive it is !
---
resources/docs/user-guide/remote-editing.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/resources/docs/user-guide/remote-editing.md b/resources/docs/user-guide/remote-editing.md
index af15d62b..f6523328 100644
--- a/resources/docs/user-guide/remote-editing.md
+++ b/resources/docs/user-guide/remote-editing.md
@@ -15,3 +15,5 @@ Apply a set of options to an existing widget
- `id`: `string`, widget's `id`
- `options`: `string`, JSON object defining the new properties to merge
- example: `{"label":"New Label", "color":"red"}`
+
+*Editing a widget can be cpu expensive, hence updating the UI continuously is not a good idea.*
From 9136dab52b1a18f31a43548323d15e86a7a98d13 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 17:01:10 +0100
Subject: [PATCH 0153/5523] docs: header level
---
resources/docs/user-guide/remote-editing.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/resources/docs/user-guide/remote-editing.md b/resources/docs/user-guide/remote-editing.md
index f6523328..ca5c8c9b 100644
--- a/resources/docs/user-guide/remote-editing.md
+++ b/resources/docs/user-guide/remote-editing.md
@@ -8,7 +8,7 @@ The interface can be remotely edited by sending the appropriate osc messages (fr
## Supported commands
-### `edit` : `/EXEC edit id options`
+#### `edit` : `/EXEC edit id options`
Apply a set of options to an existing widget
From e7ec58d5e2f232f702645b3070affdb8fafe5fb5 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Wed, 2 Nov 2016 22:47:13 +0100
Subject: [PATCH 0154/5523] osc: use the same args scheme for input and output
for consistency (and strip out args' type property before sending to clients)
---
app/main/osc.js | 6 +++++-
resources/docs/user-guide/cutom-module.md | 9 +++++++--
2 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/app/main/osc.js b/app/main/osc.js
index 1344ed2d..2fbe10a2 100644
--- a/app/main/osc.js
+++ b/app/main/osc.js
@@ -12,7 +12,8 @@ var osc = require('osc'),
var oscServer = new osc.UDPPort({
localAddress: "0.0.0.0",
- localPort: oscInPort
+ localPort: oscInPort,
+ metadata: true
});
@@ -102,6 +103,9 @@ var oscOutFilter = function(data){
var oscInHandler = function(msg, timetag, info){
var data = oscInFilter({address: msg.address, args: msg.args, host: info.address, port: info.port})
+ for (i in data.args) {
+ data.args[i] = data.args[i].value
+ }
receiveOsc(data)
}
diff --git a/resources/docs/user-guide/cutom-module.md b/resources/docs/user-guide/cutom-module.md
index 96b4d97f..5e77618a 100644
--- a/resources/docs/user-guide/cutom-module.md
+++ b/resources/docs/user-guide/cutom-module.md
@@ -17,8 +17,13 @@ It must be of the following form:
// do what you want
+ // address = string
+ // args = array of {value, type} objects
+ // host = string
+ // port = integer
+
// return data if you want the message to be processed
- return data
+ return {address, args, host, port}
},
oscOutFilter:function(data){
@@ -27,7 +32,7 @@ It must be of the following form:
// same as oscInFilter
// return data if you want the message to be and sent
- return data
+ return {address, args, host, port}
}
}
From feaf78fb0ae8a4084096377dd1814ecafe581517 Mon Sep 17 00:00:00 2001
From: jean-emmanuel
Date: Thu, 3 Nov 2016 10:36:27 +0100
Subject: [PATCH 0155/5523] docs: theme tuning, github star button, screenshots
---
resources/docs/css/extra.css | 30 ++++++++++++++++++++++++++++
resources/docs/img/screenshot-1.png | Bin 0 -> 59793 bytes
resources/docs/img/screenshot-2.png | Bin 0 -> 124702 bytes
resources/docs/index.md | 16 ++++++++++++++-
resources/mkdocs.yml | 2 ++
5 files changed, 47 insertions(+), 1 deletion(-)
create mode 100644 resources/docs/css/extra.css
create mode 100644 resources/docs/img/screenshot-1.png
create mode 100644 resources/docs/img/screenshot-2.png
diff --git a/resources/docs/css/extra.css b/resources/docs/css/extra.css
new file mode 100644
index 00000000..f245396d
--- /dev/null
+++ b/resources/docs/css/extra.css
@@ -0,0 +1,30 @@
+a {
+ color: #528bff;
+}
+
+.navbar-default {
+ border-bottom: 4px solid #528bff
+}
+
+.navbar-right li {
+ font-size: 0;
+}
+.navbar-right li i {
+ font-size: 14px;
+ position: relative;
+ top: 4px;
+}
+.navbar-right li.disabled a {
+ color:#888!important
+}
+
+.bs-sidebar .nav > li > a {
+ padding: 2px 20px;
+}
+
+
+footer {
+ font-size:14px;
+ line-height: 1;
+ margin-bottom: 16px;
+}
diff --git a/resources/docs/img/screenshot-1.png b/resources/docs/img/screenshot-1.png
new file mode 100644
index 0000000000000000000000000000000000000000..ee569269845f65aa8d01dce9097e6b904e49f8c5
GIT binary patch
literal 59793
zcmbrm1ymee(=Iwlun>X<5AGHS7Tn!}``|9Y-GjT6;6V}s1b3I9!QI{6b%xV&)u4Xkey$@7h(h>v`(w30G2(e1SrM0s?_vNK1(+gFx`WDI5q17Wlz28>s#J
zHzyHkRU{;&g*C-h5Qr2cEhen$u78+`=&mY`8zNoVwAV6*+;X#=jx?SgD1#_2uF4qp
z0z+IJqZ{_R#~#L#oK`&Ia+&v|{zUke7Ta^OfKgTwzCT7eL0zR{F2ZL)ZR&>luuM7`-#CqAr+-!^0X
zzeXw(4I=he799zc{->qdq42w)+3a_+lz&?nlQck?LI^QuagpqrqzQ
zsp|4p!3Yn9g{HcV1P&JpQILfws#mf(@AD9b(mBSsz@DBaCYNgzy=-sa7U&vse0MvX
zwd-AJI$n-WQucH`(XLRYT{ho$b~~0JdgrNIJcS=&FAHOGG*V+V2X@%dg5ho-wdwtB!&{RdY{%?)lHjkopHwuwykx9<
ziw)1Y?Dk{z5*r5!hjcd9&lO2VxJvvRYpiF!nwyYzOiUP`=0Jl{WMpNZY?lxy(FkT=
z@|$0z*do9biA}O{a2#D{^7h7LC)~%%6j-hNa4Cq$?WZfkW!7zUg-DQPnnE@9MBSi|
zKaG183FsGEban=k8T6Xn_xi@LN_9BOG|G-o4xZ$s$FdEM4iEYE1J=0gmzP`2!MW6g
ze5V46Wt}@FG~G0}kcoQ>2R*ax&ou`HfunK+HD*%;K8Rh`yKykLGirIlEA51~A+A^R
zE0ItIf6b-FnuD3*jqQB`-0Tn6i@{+?kW^`3Cs|JhRc_x$lgL*?&^x9lzoI(TV)X*8
z32LhvlobW^L{AMeX{gNakmICMawYP&N)9p;5SScNV>*+OQ{Z>oa}8C$LRpK9lD3&?
zR_JPcdi~ZLdR{6HF1@)r`}lHoYtNVLu{N?{%u2|2+QVuc!an&=hpVr)YN3Ar#TNiE*7C}iz~iQd6c6?
zDi4LxgajY45)%Y&PbVUAStv~BH&hy3k1gCUhi(L45iNf*#H+$Xf=7UtvUNTiH$}b8
zzhutjkqSSUu@^&GKAEptSp^wvh9>zupmo9s6?1$8YdC_wYZPmjH&ChdDr7jixmhcf
zF^4=H_&&jf<25yLKQ(PPcyAG)q7?jayghv%1ZVK(mjV4EoMqVd+M1!RlCC!&k^ew4
zy#U`mwB+y*4)LWd|4@DRb6l3TyK672Ccv$(ufv{)#=Z`PQ~K7wDuICb>{a0PPGK95
z+wtngR`6H@v&zgDt%)|bV__^WFAsk9d*81pIIbs4B>4DS8yo!h&^5`J%)a4ayQ#`|
zi&YRrG+{N2739%38+$Ya93}R&7}3z~%bkRTgy$}A^82n+Ha9mVsbfQ5j9Wi-bdmU0
ztFA@2S`3S^ysRUSl9QItKI?H4M>@qoj`L?isWVCrdgeLO}nVc>5&)7*Y-zy8kC1obUA%Z6E6q_HPO{4Tg?Jie3
z49#=U+s%6B8-;;GQ?3MbYVjH1Fniquw4%>^vVRPPT-wgm_~g~!nnXcoZ1~E3PAmmU
zMhMh`-rciUhE{!jw07EFYIbSzYx5$(dsnS7VuyERh)`#nu3nz&^!0ksSJy7hefZY^
z0k0uFw7Sk}%Db~ZG~3Vhe&Vf}hkL#8W$d$nk+w&L()V1Ji|EF@Uh`mu0U&atJ7C^q
z_2CATTi>*{JX{vTv+&(u_aqt92!!0={W4_sJ3~ClnS##Ni;p|4Z|>bae-#>nF!K4G
z@oZc`Tj>NZLM2N*;sKXU!fX7L*e`j;lv{9!m&6>7vkMovS-gH2*5T*}%Pr5LY7O3_%M;qiL|G|;1x1~=f4#emqatBx7a2+zX-$bpfhe>`tY6Z6
zHM(r`IJh24ulw2aQ=?Rwj-4Ie*oSVWf5Lp_X_aD+zg0i~E>NUpE9hn=B0SvZAoJO%
zdXxIlZkp!VKuSt}Vh5PjRQL?D(2*?@UaDOVmMMK&&~1&LZDXiH1y|;K!67#&O{jBa
zt#9{ZwewLj;oTVV+*7wT;Egh@e9vI03i3n2k^XR?kq&I`Qs#@rtp(A0_4fI|NSQVX
zBCOPp^`wuB(d*G$h2?Zq{1l>I_lFIL^r$XQ6N+G$<5~SuaY0*pV8mb;w`uwj$Z$oyKu*jMcy=lfZh0%Wl9I)i0e)ys_mv=FPhQ<#ibNWKXd%h
zZ;Ej+4F4Wh(Tc5|n2wucidQyBA3*t~4c!xi2>YWFkrqDXw#iQ4emv$GHXGiWbQ`%)
zfljId-lK>*`!V9GyS
z+fwSD!VOt?7U7^iZEu(QN3m4b+*{!QO-N@NxT
zM@`-e;N!2$-pc@d#LL7RybN&($ui9b0^|EE50%=UvP7Dzu4iJ&q#~=`MQ?8|
z_o4HHEbTh&jCmDrR2V7!kMOfzzsAcDe%ZNxA|bY1Zu&;d(z6|4VHty5s?Qc1dP?=wWQ!)LV_
zE#-An%;NFdJ$>(*73MW*AoL{>k5S~lK`|9G^ZUFB7RrQs@o3><*;!{3FJozbYCpG++bbPg;0wFZ*dP~m0xzW<&xc{
z4+RDWp@tuOB%<}OaKE1VuI}-))NpgX2b5V>jP2OJt2o-vLKlTstoOZPs+h7eGV$L2
zUz~6}tsG%X#I%!0z0U?RZv-D~Emmr8u56~h>RddPE;sDN`66gs2bV#i{5tF4DCiE0
zR^G(ci7+GOVuc!iH)N%mu*qg>WyW57W3M?@{l(Ett6n4zvChnj%jw}uhNqON5iu(C
z-T49v3HKTM#mDmlk{`M)>NQr$^EI7sFc!*A_%)mC=c`$%A6~?-AOsbJp+!l>RT`}I
ziXzgMb&hY%3!t(|fGe9N<`^-G+$lTWF|`7rrYp
zz8n;p+PNk{{tc2mXCKq(=e`qjRBl&p+dItCdf#dRF+HbKIu!hH+hAV!3;}_ZS|)GI
zz#uxzTSxVJbMNiV^)WID1?`*FSV68Xn1iuWrwQul?;2&Ex2F|Gvh3b8^^NAZ1^}y6bYW*tdF9zeYF2-WJ{|D
za|}bP2Yn`cvRtE*I()R#(uB0abkf3aKAtyGaHY7VDJ6R-v^r3u)Bh9&Em&WL%i!~x
z>l$KWI_X1+*O+qvDJ`5HV32s9c}>X#sE{0AoR-^3DuftUXru&IBd+fC!x79Bha9zW
zb4aP%Koe?0EXbun2`kJiwT@k_4it@UwlheBu;whw2}6V3$~14xk9nVI>=e*FHM&@B
zNLIdBo4+;I?Ni7Q4a7bq>}k{N05|M&iAB7`cV6jR6GeEjdovg@RiIzSW(Im?et*?O
zV{&xQQ)BIOb@dW*(xmY{r&_e@=hljvj3u7!Y=a>}Xrc$k9XURRe5>W4x|ES#g@p$T
z%Lr$wwvgFoc}IfD*O;SL@O2e7lq?ykHwV13JWI9s)GDy+_<=Xo7kU*dSmy3L@KK+?
z(U8cSjYY1Yxg{o>JJ>(t+E!;nmB`&6Y4$C8pFPBn(^htgltIO}uu#)3tuqwvR4B_W
z0F?FdW^Nq<*RX@$RylJE^p3R;{Gnx-)rSsS#C}6jr#|Xo%BM9DKI_=GD
zZepu^#)$ezQo^8+eZBk9;pLF;hOJ5hiZqMwU6ng>u&Q{j87aNX?Wi!qhJe=n)*8iq
zFtwzIyq68zui0!3>F&v~joOfPAQ9o-ymo*Zn%V`OT=hk<8K
ztl9JSgG3t*s_Ze0LL@`T6I8};NSY?UI1G{ck;F$O(Ye5C9_@`cz?q#@&?&KPC#Pne
zjFrlgA%cP$a)YjR_|^w;gE%cwL;WhiSZJWYN!b>1(-F|Gd*jsWZe(KsQ?)xr=LV+n
zi@Qsdem1n=wTyV4Mfjxweb^8YNxO9VLz?2)PnW$#3@_wYe&=_=k*TC}mEu*B)X`m5
z2;_mN_+!BzHmQ8CF0Ov6)?s^o%*<<1I
z7f)OrPuV`KG?h~j@xvEOKfCC(r)ylud237}rM{dy9_AN>8EWAJ1lgBR&4aNsEE++`
zA)$0S)dbOWrKIl5>sjNC>2a2Gt_a2_mn-mstIXUP{>{aOkLP@z+j-0YN3#jmOvzID
zhYlTHw-bijP@zRsnUo|UAn^1vI2l>#aLlj0JnL)h)SvHMi2Z!rDW1a{%IvFO3LSQ{
zUO_tJOD$V^ae5UfcT^tnb!3oa(C4W=hT8@k4WV0`qcpirFm2+gM>jbw(C|}P?8tYH
zHbNuc>my!&)|Tq$=zfV91ThyR6_TU93tnB>>8vulv$@0wh1`v-6cnN;q^>1&_*9%h
z8S;2*WJpb>7lmogESE%*P-D^SW-f4(GaV5w_hhjSA}lkdI9)>-1$=(W}K
z%{4^HTH7V%0`;Xv7xT4H*;7Mg6cl&&OQ}Q04&3c0-+LTFn^#Qk2ZLp)(H^J1=D0gr
zWxsxMQNo{!hxW&CwAs$qf&D-~Y{=Q{7Mn|rA8KD8+qqGEc{AF((j91axwiy4(epx$
zmvUDrCrA3UQ10+teZv7Mlq}VT{8tG6tlQ0%+tb@0)G8$kIY6aLGopVmStx*Z+e;_Z
zs{q!kG0euU*J7_+;Uu=1`EncvJ)+3NI+z;I{sr0m_@Mt}&|t%y!Jz%sjLQA_ESC3%
z>t*9m=&F664BLB4c+czI2)cHN$BM(a^^JZD+-RPc#$&`RX2xuEE?&$F$k`6K0M5^D
zsWo~q|BYCe3>7E5-`Uko2;5$>Iur=#;E@Fg$Rf}j7XTobaK3OynGkSY$Qav^VwS_U=U&DlW%G&&8Aj=k!nEHS3@^I%#^5s@VYYhT4U7zGNC&wT6I)5Idk$D~c|E*5TKNtdBuTso
z=qgu`rFsK$H6`$7+gPqkx}>G#2k*Rb*H97W#E`h`H2sd7Z_c(0
zK8-k^Oj}ND`<3x_-_vZ5sS`e%Ah3cl2Z6(3o^*fF6bw?YkL|tPp@|w=(Ka4!=i($^
z#a7qxgG$tFQ`o42rsy-;hp>v9eI9Y_D2J*r0ygvAYg?md>A_4o;5%Cr-sfZY>wY(a
z-o{_PHa+G_Bm~#*C+G)O=t=^$D7y3?3eLe%d2Kc;dnKowcr&9a2
zr#;o>^NkYRtPlpEU~ruiGkNs5+Ybtj5jpR8Pw{5q98w8J-Tjbv$7?^7#dD-pLP?6@
z1^V#$?K;J&06jfQdNP$XH|Y6FwuZ%Er31OH1yS5px5~)Iu#G6j)|$L(Hl3T1%
zObug-qUYyF&Y8+8SS3bSl)t#zq$JP{C@Coo|GZx9bkIIU8o$EfRo8u>Oayl*L8y|?
z=^AE<#S0QPgS#?ojH4ii9~0vf&tsreYOEFaT}=773d~tNrhGpnewGo`5SS;eMca^%
zzvx|AyVTzc;|qH2=H|B8Mivb%=oaL(TdHv4T26Q1i)TOXZQsvX=6BX-!@f;}MXH&u#=d
z9Wr*JLP{6hK2&yw8N#t9$8@2hYZzxZth9a0g}DB!70D|<4&IBI6v<9_e_nD#zWFfH}dr>muxf*T@TA|5j(55}A2!cO|>
zds|z|k9Fud9A}+QHRCWgG999q_t7XqowhbHeDTtFA3B!t17m1wAc)@t6peh;1MH
zVg?VvE#X-Yd(|Rn-w~P(5XD=oA0xQh!sOe3nsaIdk_l}m7z_N(!PBn5f0zP>QFp&M
z(ItW^ig?wFw(ZD$Ul*4?HwTdZoIGZK^Y{Vh3ag0)V67N~pWpq;JSubvIk08@89+bD
zzx>%{_>T)G5yLuz1{8EEssCy!{60})1la!nA8)pUWqyV6>@O$yebT-RzsS$W#5g`F
z5337Pj?P$>_|IGWQ()x4txA=O>-?*s&@KXuhY`N-@L$7Om4eUcwBmB6^s;35vrpn5
zgatH$QcHy$mA$2Yey@y8lY%u(7Wz-j0u^0x^ss0AzwW4qyqOIv7OE4+)68B;&L9lC
zZgi+&LZu+2n*fO@=|&Ed)t)Vj(`#mwNdO_whJj*XYA`gvQ~lW-p=E{fM52=DL8Vl3
z1O_QH9QE$63EK#@t5R0Ki1;FdNjn4Yj-u3H=c}Iew|7eAGy~IBTGr0E`s;eX;rI;D
zfk`^pHsAWE5e5hW<8PJz)B^v#`lJDl^8RQ-|Cg6t{`U}qF{KnDG`^X#N5b1kw?nxM
zMq$cLy_C8BG_jC0QoWaZidaS^1Q?_=NHi7?COj)B@QqjwYC{6MQbo7+=z@6J63L
zli^=a`GBJpj)k6T(uQd+E)5L*EmG1viqH%*vFp(?i}hJVa+_Y0ujqArkr)`94Yb^L
z*Vp+@mc$E9h`5#_O0?PSc}xu2=+)?Zdw!PcH$g|&jAJ6jryZ>;M8J&zNs!4~^AZ(F
zN=i!esdqcG>83wrw?2H@NG-1Y`G~;Y-rl>Np}Rjmz)-orRJ<@7DuFNa>5b`UoA8))
z3vqRSboIRXFvB1KnHRnRi^86arCT*iY@r}
z;!(mDY=BhD^j(ymT7imVgGM3wo5%ii5#%-xi#ZsKe0sz1ULq8|mbv);YQIGH;sHQ8
z>Fic-eC8=|S%Omw1iz`9B&X{L=Z$$cULNqeQS48ZLI5fWxJ{GK&JWQ`d<=@xz5%60
z{+7lroRNWnSFG&;CMAOdGri^q*KK}U6+Hn+Vd++S>UcB5?)zt^f>Bx&&*M4UJIJ3dW(D!70QVR0;fQ{{U-}4o~f7T-Ry86fVTzsefA*~A(zKv
z9Q+jgybKRTmazy32(EjJue*ZNX6rS;p3LvwnNB}f3=M%N5%lmJ3#_wSZYCzi;&mCg
zov*P%J6v&V_wkvpw)22?7F=FB8}qWhbw2Fg+sxn8=CDq4q>pm?l$!84VRN)(ID?;r
zm^etV03-fAX?z`0D(3hz
zPpF#}7Abz*B0;20-7<^C0ii-L1S(t>hW$Z)G&EmlXY0Z0C9fgvr$G4?AWuft(IFgA
zs?F)Qb>*?Q7u;4pUuVnVb=*``WZ4ypmcf0T`z%s`^#?*vrBwHA*KK@P!R+T`7%8A3
z7v|`&OK1B~u3S9T;_2MqH)_CFp9o@BIaPCt+@=M6|L$;+Q8w0&-aY^vAxqvB#Dl_j26EbLy
zZ`~nHsk(J;M?u=sbP2%lcs;mwS8UM8Ry;imE&o#s5Hn3bKV8xaz4m*n?|yZ*H{$oy
z1`c_FKUymBW
zD|s4LfgkW_ajf!CIDe$!!8HxA*WF$3SB1;-1i@tnPEPgdQB+W(sMG(zL)c%O%
zPhz~~ohC=dv2tSQog{=$juv*V2EqJWDzCln2koIZeVb>%N;>K4a+<2;dDbWp&l}#a
zINV`ZFBX<4#VMqQ&qf^{9#-uzA1=9-YbEx?3=S2RoXQ8Ecw1({Ms_VcEiZjDl`z1bgO)jX1ie8o1vdqIQgE|ZE$f@LnULyenxG)i&n|M_ww?R
zwSV;XadL7R7>`k#L#X9o_-Me-W?7P0g+(rA`r<>5m`+uK5y=EAnN{-Tu_8Pkl|URd(M?j(|>jrAeg?et=TrTBQUC6WuTu>#!h
z3$C$WARytdU$;oQKGG%;a9k7??yyO}X4qY+HQoV|^jY%O(a}_sxtk3fX)!qzZQXic
zY3OJ)zS6b6YJ-!9i3WxWt6WkF(sFazT_KqB;bQv8-tQLK{=*mY7)`C_(<8m68(XNg
zB!+(s5ihIZVvt&~YNO{-kH!i!gGi+fUnL!bP1kQqTF9rF_9^WeE)L2XK+jC*h#iSS*_?
z&c08Z42z0_9*1T-)Z;%S7oA+o>(qL9cn)Xs7Y8Ozv_cT;PG;rR3pE4e+FDyGN{L8>
zdJDt`fqnl_qMfd!R-l|L|BG)+s!F
zb7g<*wfVsil)3jQb+K(W;r-HQ$FI-5o|$fa0xBSXAy4h^e`Ypu6CktA1rEt}SI<3q
zR6XB@c>J^q)feT84U%H6#LT7akNb1aCTDPfT~9dFc&6oZv4trXwuar&ADdDmTl2FC
zo=UnM6&7t9L|S;=fcvxoN_)TKm=IjjP5AkL?)(Xwko&=x09o3#OVW0K>pt=cqP!sy
z9BWnYcUk|X1C5YvcUhn%jyNC^Xm}eBf)_|vswC@(kNzfwl;hVWAqk-
zm7&PlMJFxj2;_go>_cBJQTsN$qvW4j-cT*i6*oS2AcV3}UiYu_z;c3rf#KtG55Rj0Rwh|dswo83E>
zeGq-2TQd)mXa{pG#b3XgtEyg(kF+&9Tx?sHHHRe@Z4Y}qOKlqRInX0|^}FL*YpV@V
zU<|%`EdZNRbz~@kSxy7vMFeLxa$nB)XVn*QE)CLwMJKqt!p)9QeYy=-x!RxF^IK^d
z4L4@U2)suXA;>U2i%9S!2~0I
z0uvS%mGSl_6H#(S&}cSpNT>FPeiie??vLCF^I@3+KuY61{*kq(=6Jqf!W`@!6uDfU
z_Te30vuUK6+wmgDD`OO7T0npVDyTs^BKxbF4)H%+T`s2rQ9Kx(@9?)eUd=bVEte@5
zoL|xu-akAT(t>Gm?Q#z0YZ4=?BAc3;6077!;T`3(IdO0`DDouo-uXelNHrvp1t`<}
z)+?p^Bm4!*H3R%TbYSgPTC1#v8Y_$?x&ncG6-3OfZt<%t&%EUvPzk9naF+H)`zSqq
z^9T7xDoW`-o?(iiXmxmgCxzj~jB_wQ(&UN!hwAJCIf?eT&4Bd<;bgDNNm?yXiSAC<
zsJJf+tmfxaf=TS%+_;*1@$+~x(IinD8XK<<$J7SWQ?g>ZMs8<>h&O
z*Eih+AHyV5nM1P$oQ@+4NH*yGO$DLjc{-^h0+2V%%)WPJ#pOCe15H*}jan>xgcum_
zE(&JUOLT)S-F8~mj*ff|rjNuU1*PTWswE)bg5Ygr{Q>qOsw{YiB(>xXVk$Mm83H9k
zB_<6ibHDF@5)RX$#&ioJ$V|r($KSn_P8znBLW%wcw8;yqEym&a8`230!!8RzD}@pg
z*O&PDOi5Vd;RomglpR3lqW*F|*n{-eRR_T*)Rma|lInpuq!Q}?FTjfnW&w$D3IJh$
zt!SJ-Ch{nZl2P#}^`Fu4ha;6^08oh&R<`C}a4|;=z-LLb^wr`2Kw$pxHe&v0{?YBq
zO#iqp2$?n>a80UO6x)BSHgFF@0IwNPl&i}Axio*s0c9wK5QV}^MbiI5et$q+iQhuH
z|L;Rij=ucoAd-@RoNXmtr33)RoP7ACEf9A@ePjKz`fvQ1lUdAGWrx3#7Jp6JJeqWG
znOVzfa}E4ucJ5aJaS>|7g9gQ#gg6e7ICUt}lB$8zb!~Gfj-biqDfZ>5=j8q`m4uH9
zxW?*InC~Ra&gCEAjQ*Ao{x+Oa3KDH6%m;N3tH*=g(1$|s>5FpioXEC}#GgNfC(>^J
zEqjch%<-3RSD>HCp%#yY7SIdzaO4O-qY>w35?9_5{nzp+(FTmWfpj4U+`N%7dzor>
zaT>I;pa1gqKTH}yqcni#A8DO4z*H`lL>jA0H6UX6ud9&4g!}JKHbuJ^`FzJ2Kg@T$
zDB_noQWHN?d&fYbKi`EnoMC1D^kZ|^q
z6%|q-maOCd-AW_bZL5AG8y6dE?u}B&LX;ZCpULSDt!Wi
z{Z+m(^R*9V8+XGupRQxpA5IDq)e?Exw<80c&0G>)T6DH~Uu
zkMAChzGX=&<%ukSs*yDuRqW~;8%2AjYG7M=SWDywr3W3p`@8K~(#=P)bGf~gZkI?q
zEK@I*ACXe*GI%Y{`%bMLyH$H5qQP6`2ikb%1reNRWTVC@JOiXLKq2xOd?gz@xmE=@
z-22NNKK7p#RZe~o=I(N-lZ?zjd>+mIOtDIxLg|&Cjq7Lxw&C?8-A10Vkw%#w_+!-C
z*q3MaK6h7@0N_ZXO${@9=$q|_`S9WhZ{9V8{Zg^ji5t4eGT-O(Em!A5qzEF+c>D
zUxy89%uVZI=J3z(?~R3?Ci>ra4wlAkZI!MFMS)bJpcSNXDW3z^Dw{$z@WVVM3s$G3
zMA_ka8yY>*^ytbvQILK6zR$*DY2ifnkpgBlC2c=pI2#sHUoRJvke43+KKc5!
zJ~Ms#OtHoDA+Lzp!s=>lx+D^;`{U!R@!2Il+h9k)LnHu}4}I0VeAll1r1;Anwzmv0
zK^wBWzWj>R&NAk^N5UvPtI2OMV}dgHY`d+Zp|PoIh#;KFeP=+)7htdk=u?2c7eR}o
ztqck$LQ0JWAdEUWns6FhFNl9XmYYk)Q`%peK+Z8zda7u1?^m!U>gnMT43FsL=_v(~
z6ie?kwc%A#M`SOacWND&LWB`?d&$hmeVJNsVr^W-W+dy3|7J73m{i>|LFWV^pUU_W
zNC&H1TX_SKp$<73>V?cyRCFhN*(k@am(_{x6O%ob{2?+Kgnv4J@p+F-b1PK>DjM4T
zS!yy~-5L$E0E`C-5eF<>uQov15RX5Vx(W34^|>2tj!u_eN+uBTxnIsq9iVHWV`B1c
z6!lI&)*2p)z9c=~YBCi>L_m-ucv8}g-hcmoY=!Az>puFip$`+^*xb;Dz0IAj*{5l`
zRY2easNAhw^r4pHyG9p62Su;KM{omz*D7VT?L?)S=8GC_m$UUP2x6>Ij!UswR#w(0
zbY9Q(@ht{dPMzlZ)zx-FE<4!+LX9$gE|cb)tgKt%=<7q?ddDlCUlW}vuF?#a+!c#e+Y_(-5m4p4m{>>$CpsKgGc((@I+~7XgW#a
za8%65OM-{WiLUcraS}iX_Z8IFm;C>kZP8PmcYUe!hZ1C71BLD-TvxH$)QMn{z90+O
zVnqB3he7CEC!dYKGYtT;*GIO1&$Ln@^
zbtP={P+J-V3pZW*bg{ElJd)AmkNsw@!inV-IvNqre1ox9@HEp%iOScJsUqSOu4xUz
zL!0^h_W;yf@wFcttXi>}`(imWOq?%CJYT1EKF3w|E6Z*B*Ij%UA{mC{w>+(vB<}={
z_CB@Q&rW{vP}vyZ;pKHZp0!(nih5nYKAbPetMCshoE?Bcvf!_>nwf#2I^Q*S2;JE+
z`>gLiFf`tiG0ZHoN>UxyANEdg#h!}`as_Ky)L%r`k2XeMjy2t>s)_a>
zZ+lT=rw0Jpzw`JXHRoOqM5Z~=Ov?AEZ3}>c9%~IW<}IhrfV!lI;0-g7iqfH@Em2X?
z=}-HUWPW|c%0(3<*m;I>AG<``H_u22>kPiz^$zo=p@tM2l*qiJ3v>I-ecXX;Ok%b8
zt>eVcMnnwVrdX%xRZr{eBRVcF2@aM@>GxKYFbp2wb@miVr6EAiliy84DFm{&TdXfq
zZg6+sRWy9R{k)j&&xcc~$ZdJb4SBcnt;6LD8zWv67P#4C-Zf^~P(gn#qHtcp4sGcmz_r6Cg1y1bmF$@(V6p&R=k
z6ttEzGCF*LerZpC*o&v4pl&5`=}_aw5$)!(@l`qEchy!o>X_aXN)yv3#tl$Z@rg-C
zdq>9EWHoeyky5>M{6+oJNII34vx*o9acUSJQ25FJUBwfB1BYu2*hohmO_#3R_V%=u
zt6>YY7nhAhM#Rv48|v*P%=4zBVr9h-^6HwHoqdcm_VW|`^{VaZSa%PjXFy-AiM8nBVrnM&HkQuQ&T>35WvNukOnUCQ
z4uh)5dRNFcVx)k08k8cj_wN4Q_W_~^^@Wydvmaz|os~H{#EbZxF1N!Vew9t7FnmGD
z#6(<5mz#6oYdzgMpA(`e4?AvDw^AKXm}Qb!j!_6BCN*zeRI=2s+6_!`ugss
zOV>u<3k6T&X?Yo1P~-3k=w)R5kI+v7LZ9L}6~=YTUD*-R_7Aej*OqppGUqV)tGh#Yl<_5J2k>?<2e+
z)YmRW+t8MKkfp=JziFzwiOFn=*T{Px>*b!r|AMor1n3g@u9Q1mLb`Iu$jH`48a04>d{m(~*%0
zC(O4zyj+^8`kYyvhr2@LNvjohFJlsx?!m36n*mAH~8BJ
zm;KpenPtnb7Nf^{ykzQ##YD4>dJT@^DmDHr*u=yOC(HVvz#yZ8sZtdw%qCwJ-A2?M
z^o8CtCuk>Cx1=FBfG!v<$!-V-ba?-wL=Zk+Fztbbes@LR9sMrolS>I4=_{!MHDjJ`
zeJWfqn#c=7oJTCpZy%AUD(PE?pz);t4y)wFvTkd`aLVC}pQmWO^9D+hW6P;4j7?57
zuqYS@PrFHHzct1^IwywT-6tWUD<0OI<3OUVb=6z@WZdtsnCi;`NLpZp#mBT
zikzI><6f$oavmXrq&wblXeRqwZf?-SN&{iTO5aUa!dQ>I&U3RxztuNi{LzR7%u0qT
zlz(?%KmG(j{;T5Jo#(Z)o?Z{yzMK}0%FSCPAJ%Dx
z9|NRcXVvl?Czkx8AkB*WZ=1Ce{Gak&{EFcbKX|JUny_vu^^>i#U%5Ge6#qAlWx=SZ
zq>P&8x(aXief`|}a~8E9YOITh|Az(K;fK(0?hDEHd46dh!~OPjNi!;A7c?0+Ej(Oj
zL9#iB>U37`150Ek>kl>7>-+xG*R2Gziw>l=3f=TM0%smuXl`~^%8$J?ThR*q{_mP%2rxiJ`X8S4
z5Bfuy3?j2=@JG8j#vg~sf3)_k!OBw5^W^fg8EiV6kB&E^By;JX>qv5{_4hnv(aXh<
z3H{`S0p;pHky#ISW=YhiwEqG&oX&ySH-!LmGMnvRfCf^4I$RZfk!{VZ9`!R$Lc;rL
z37S2NK2qvYJc4eOK_
z<7cUuH^e-+q(|bO7@rlv;69{oq%V;a<`}P0*}+G3{R^Ows{8+3g8!^J)g^<2^?w)Q
z)jLp@$HY^=8ybV(J-9Qp|K*~6fTg=$$h3rze35uKEp7qukL(gTjxR;d*Z=!T)48Y@
zq8ju3frvGoG1BZa1Ijr7#57$wi(jY2U7V4TdD@nb#bv*<2V3w)`V6@NFg7ckzezw+YGI0+r;&
zuz$=0?Z5LVoi6K+%>R95OW18*kp5JouKCR8HQ31keF^kV+m!e`9F{~_?k>4B1s`?m*U%eOzq
zSA#VbzYT}YsyM@l^G}V8HRAA}*=OjrVXy9+_4D}46okyn@h&4#Cl^fbYP|mC4fq5%
z5E2xykEjG>te=F`smJj6Nf{_8sj*7h2lDL%ev2enVcy<=R$*;UR5(e8Y5i!$o
zMiOz+Hi2xGTHok_f5{uIr;0St+tRF#Jis!Kngk1zWYNC`Hc?~W3{(U>5Cvn^T&Y?1
zzugYT_iYgo^;AC^7^N%MO^Y~^!MIMupeLShI_FnMW;5tbZ<)e3`w6>>hnBHQ-dnSk
zzvN~p4&-p%di6pWEE9}ETVYW_o|W)tp~XhsK9a+Vr9x+78WH8dqlN#LHCdTloeZb=
z^LUqYI;KCO$So(8jf_Xpt?zay=+pNQ1D@eWj3jm{vjzl}&&erv9`Z~xIqcMhhZW6*
zDb{aH)5ph|%8IrKl6tz6_)}&k9bXjMsAxBCan$Grji;qm_MU&%{?UNkp)uZ~MDQJ@BvQ&Xf}4zXQ)BU-sinc^1%;TrF@DPz*0
z4L`HT4${`Nc@7DJI5^9my+X1$w7!y+jTe`@(Uvp*MpAvDjaD@G{JIGg)x=vgj
z2!2yE=#&P9aHQXslG3&&o)XNg_gGE8Vvd)pNm}o{hs9Fi)GUsf9ycCPpvu?zeU=AL
zU1(FTPFz~ho0KUdRrmW$5?M}e&Y+Y>TQ-)C_mcv^TT&yZ?Sb4i?BIw#InWFR8M*E%
z?W>@#855a&O^*9Qm|mQ|!a{oP>mS37FEOd;qfSU>d^IOlnedZ5
zT}u7GtN0x2caj$Uy>cQOB{*KjO#H9Zdkg3OFmr{aDU+(*ALa|5s<3pmo*L8kw9(dj
zp8SW!jSXFFJ}+szRHwX7SDzNyn*N?wbE&CGYzFw)2S!*k9#CTv@3*f5RbM=6hWdF4
zR?buBJS#8kKp$Ldhb{BPHN^fLq}fbGFv|SRpIU%8&Z?`pWSge{{g5MVzQ9!^)MWo=
zq*Kt}Ou+OFIDsa!a<`MC3lyumUcI0a37V7r)`!e*MnbOoMO(H&iYkRRk5W#3eH7T;
zO^{FD(gI8PPn$f~>fbjZ2T~o?@5o@JQyxhFWVuJ~zeT`U7VN{Wsjo7~G5fVJCDrJ6
z+!=T<9p-iX5l{jgHO<(A)>aJ&gVu&5Fa8L;>!PBqfrO
zXKwDMTTH~?hFU()L=Ai?`6X8Zv#YB&1o;RAtK0u!V?ZsDlcBv5mXbOx*~y-7xec0hDm-@VAe)vqKQcQzzXR>t#fjnvpw~8;=Y>mRpPdT!=H#I^g9gSX
zMRY8?8vfvX`&MuiZj8LF?Y=W0ND?}G3kW9`fChUiq<;N$Y$NhjbB)7AE%4Bhho`%K
zy)%Beatff(xjLGd=<3>7FE}Of)y;~FLpmUP+?pBe;d5`RioBS2@k4#>Omh6uR;le6
zkf4+B`i?J8sR(&c;d$Uza&B!ar
z_vwmj$L(Oe!c5bpAA~9@2t2klSk~gQ=Xl%g@KQQlQ9xh|cveD@|6x2(JR6OeEypm(
z^9iZ0XLV<9N1x}zZeJ*gUr2Y|4$J25imHkc-^Enj6X9%|y?-0McW
zT_*4h>1x5uGAc4!XAVg?(`PQ?58&(@TwmBjfcW!$91BON>1*1&us3Tv8-~J#-W>9~
z@Ag#yf-Ji1Jij-rD}ak1?0KnK*?#X3n{aZf!QbP_{IUCi6w=+MfG91y4W&wagCEO9
zpR7G861kOMnV*apnFLfE|A*?R`upZGBsAw_zlJdF)3V#@o8_ZTSS5m
zJRBS^PTWrBR`MO-;I9o>groP>SS_Q^tW}+V0RjMCHyavcbBmgTY5Q(+kVrzQmD${T
z&WpLdNZi(-Y(xoE;Zi_S*J64QLzA60Uh5+J>ymK4!R<*{HyEa~Ju+8toVVIOXzMfZ
zFf%2z)zGP>v8DozqW`JI=>*VAJM&z)#ibCp;vuB#eaeWUT|_*@&|KlD&a0+sw^8d0
zYe~O#0A8-|-;q)FX+0_G17Awvuxy?(2XwtEQ54{nl~4vMyH_!{lJ|qPbDRgcUdJVK
zdjk>n|ExdXCs7)?Q+mCjl$KRYT{iw`gePnASjEAr#eqF}rkNg}OES5ZoRV_9a}dep+bWRC
z0*=RoA&JJp#v_G^?T;K>mnAo7h4X(5PxTFjTV45}Dz=lTijV>(cRKDs`;zq_hHl_x`QLj{8R=__yTT$2hQIKPR
zLp9p%-C(VwjFnX`@oe5PiR*B)g$gWd7G>sazw(FsJAfi2W#wdEUICvVuNI7b
z<6m3?zP+OYS4{p8fHXy1Tn7Y#n|cklMm1hTD=3T$=e5%Ri?6qUs_OaPhwr6J5CK72
zq+3+F1SD0ElI~EXk*IEcmHk$mmu8;4Z=J571eSTl4owOy=p!qm#xZw$jJxA5m
zI@Zl*dCF`5dY+ogz*kgl3b!09IEt=u8V!0`nP+1Yw*&$(FPI~NFz(FV=SaJK8yYWI
zd~!TO6T}u(BA-;RK2z!fKaAoEfJCcL3QdVf+~y7($bJmCDe}t0)=@o?iu-T*=hu#C
zFQyHt=D!u@Sem_6%kMH8*bgHz}W_GtD
zjKWYuW8ad4$W5lMK7qC9oZpZ+bcoPNy4-81d2EbGyJk%zyP6regpLBa%eB(1A*Z&V
zC3w??C8o$0r@73ZmFsh(KeNT@0tqZ8MTTOvuhXdOvw8QgwBbb7
zHw@^%W$7b7fK={vVAdW2IaBC_Z!mR>W+e@@ta*
zt??+EH8;trK**IPmsA6g$->pO+RDh(7~9_3mv>(}Sja=2(kNA(v#jwh>l;@l>6J1d);klN1n>P>Y^zWQ*5I(ey9JVTu?QDN_8
zCgK92fd1I!2o)Cczu>O%%l
zACO>(e6@qd-15wX<-0Y!A|(em3)YY0cI+{&!3W;(CxsF6Gy0e{nQG*ePoGywZ9-q=
zhUtyBe1PP9*dyJF%zgz^StR`bc|#+YxcBp%tgH$KQ$M*)em#wMTDIAcZKz?2qr_MRu5?Tg|UeRa(`>b{QiZwkZnMn^?&WKZ;TsfU<;
zlxDTK0hu4Z!L!?RV6?mOq2Ru!>4VE*FLSE=(l|L;`S?O89mP|5L$XAkg|07akAT?9
zAW@=e>L^D#Jy(pbGYX*dgEan6M|}oEA@GZZ`mnV5jMwyQe1oV#iop$7YejU>H;#gZn%=YOrQO}}&W>{gXNdA%W{Y>QOeV9(Ob`NVT
zhobuQ;vdfJCt+g>g6t