midi: implementing midi addon with python-pyo (wip)

This commit is contained in:
jean-emmanuel 2017-02-24 01:06:36 +01:00
parent 2ee89db9cf
commit 8fbcdce320
5 changed files with 241 additions and 7 deletions

View file

@ -29,6 +29,7 @@ var options = {
true : 'Port must be an integer >= 1024'
}
},
'm':{alias:'midi',type:'array',describe:'midi router settings (requires python-pyo)'},
'd':{alias:'debug',type:'boolean',describe:'log received osc messages in the console'},
'n':{alias:'no-gui',type:'boolean',describe:'disable default gui',
check: (n,argv)=>{
@ -94,6 +95,7 @@ var makeDefaultConfig = function(argv){
noGui: argv.n || false,
guiOnly: typeof argv.g == 'string' ? argv.g.length ? argv.g : true : false,
noVsync: argv['disable-vsync'] || false,
midi: argv.m,
appAddresses:function(){
var appAddresses = []