thisconnect / port

Port is an Node.js module to communicate and control Pd (Pure Data)
MIT License
35 stars 8 forks source link

add debug option #12

Closed thisconnect closed 10 years ago

thisconnect commented 10 years ago
port({
    'debug': true,
    'basepath': __dirname,
    'flags': {
        'noprefs': true,
        'nogui': true,
        'send': 'hi Pd!',
        'open': 'patch.pd'
    }
})
.create();

will log

pd [ '-noprefs',
  '-nogui',
  '-send',
  'hi Pd!',
  '-path',
  '/absolute/path/to/your/directory/',
  '-open',
  'patch.pd' ]