- replaced osc.js dependency with node-osc which is 100x lighter and compatbile with electron 0.32 !!
This commit is contained in:
parent
4ba84f43a9
commit
0697a2e727
6 changed files with 40 additions and 49 deletions
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
TABS = function(){
|
||||
var db = {'min': -70,'20%': -40,'45%': -20,'60%': -10,'71%':-6,'78%':-3,'85%':0,'92%':3,'max': 6}
|
||||
var target = '127.0.0.1:6666'
|
||||
var tabs = new Array()
|
||||
tabs.push(function(){
|
||||
var tab = {}
|
||||
|
|
@ -14,17 +15,20 @@ TABS = function(){
|
|||
widgets: [
|
||||
{
|
||||
id:'knob_'+i,
|
||||
type:"knob"
|
||||
type:"knob",
|
||||
target:target
|
||||
},
|
||||
{
|
||||
id:'fader_'+i,
|
||||
type:"fader",
|
||||
range:db
|
||||
range:db,
|
||||
target:target
|
||||
},
|
||||
{
|
||||
id:'toggle1_'+i,
|
||||
label:'Mute',
|
||||
type:"toggle",
|
||||
target:target
|
||||
// color:'orange'
|
||||
}
|
||||
]
|
||||
|
|
@ -43,4 +47,3 @@ TABS = function(){
|
|||
|
||||
return tabs
|
||||
}()
|
||||
console.log(TABS)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue