jhorology / bitwig-nks-preview-generator

Streaming convert NKSF files to preview audio with using Bitwig Studio.
MIT License
3 stars 1 forks source link

Cannot read propery 'loadClip' of undefined #13

Open exocode opened 1 year ago

exocode commented 1 year ago

I also have these errors sometimes:

17:00:12.136 INFO  [gulp-plugin-wrapper] [nksf-filter] processing complete. SEQ - AT Vision.nksf
17:00:12.136 INFO  [gulp-plugin-wrapper] [nksf2fxb] processing complete. SEQ - AT Vision.fxb
17:00:12.137 INFO  [gulp-plugin-wrapper] [bwclip-mapper] processing complete. SEQ - AT Vision.fxb
17:00:42.041 ERROR [gulp-plugin-wrapper] [bitwig-fxb2wav] { [Gulp Plugin Error: Failed processing file: "SEQ - AT Vision.fxb"]
  message: 'Failed processing file: "SEQ - AT Vision.fxb"',
  plugin: 'bitwig-fxb2wav',
  showProperties: true,
  showStack: true,
  __safety: { toString: [Function: bound ] },
  file:
   '/Users/jan/Coding/github/nks-presets-collection/temp/fxb/SEQ - AT Vision.fxb',
  srcFile:
   '/Users/jan/Documents/Native Instruments/User Content/Serum/User/AT - Unison/SEQ - AT Vision.nksf',
  causedBy:
   TypeError: Cannot read property 'loadClip' of undefined
       at _fxb2wav (/usr/local/lib/node_modules/bitwig-nks-preview-generator/lib/gulp-bitwig-fxb2wav.js:84:16)
       at DestroyableTransform._transform (/usr/local/lib/node_modules/bitwig-nks-preview-generator/lib/gulp-plugin-wrapper.js:89:16)
       at DestroyableTransform.Transform._read (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_transform.js:184:10)
       at DestroyableTransform.Transform._write (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_transform.js:172:83)
       at doWrite (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_writable.js:428:64)
       at writeOrBuffer (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_writable.js:417:5)
       at DestroyableTransform.Writable.write (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_writable.js:334:11)
       at Pumpify.ondata (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:619:20)
       at Pumpify.emit (events.js:203:15)
       at Pumpify.EventEmitter.emit (domain.js:448:20)
       at addChunk (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:291:12)
       at readableAddChunk (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:278:11)
       at Pumpify.Readable.push (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:245:10)
       at Pumpify.Duplexify._forward (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/duplexify/index.js:170:26)
       at DestroyableTransform.onreadable (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/duplexify/index.js:134:10)
       at DestroyableTransform.emit (events.js:198:13)
       at DestroyableTransform.EventEmitter.emit (domain.js:448:20)
       at emitReadable_ (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:504:10)
       at emitReadable (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:498:62)
       at addChunk (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:298:29)
       at readableAddChunk (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:278:11)
       at DestroyableTransform.Readable.push (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:245:10)
       at DestroyableTransform.Transform.push (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_transform.js:148:32)
       at DestroyableTransform.afterTransform (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_transform.js:91:10)
       at onWritten (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/vinyl-fs/lib/dest/write-contents/index.js:51:7)
       at onClosed (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/vinyl-fs/lib/file-operations.js:26:5)
       at /usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/graceful-fs/graceful-fs.js:61:14
       at FSReqWrap.args [as oncomplete] (fs.js:140:20)
   ,
  stop: false,
  name: 'Gulp Plugin Error' }
  17:00:41.903 ERROR [gulp-plugin-wrapper] [bitwig-fxb2wav] { [Gulp Plugin Error: Failed processing file: "LEAD - AT Sawtooth.fxb"]
  message: 'Failed processing file: "LEAD - AT Sawtooth.fxb"',
  plugin: 'bitwig-fxb2wav',
  showProperties: true,
  showStack: true,
  __safety: { toString: [Function: bound ] },
  file:
   '/Users/jan/Coding/github/nks-presets-collection/temp/fxb/LEAD - AT Sawtooth.fxb',
  srcFile:
   '/Users/jan/Documents/Native Instruments/User Content/Serum/User/AT - Unison/LEAD - AT Sawtooth.nksf',
  causedBy:
   TypeError: Cannot read property 'loadClip' of undefined
       at _fxb2wav (/usr/local/lib/node_modules/bitwig-nks-preview-generator/lib/gulp-bitwig-fxb2wav.js:84:16)
       at DestroyableTransform._transform (/usr/local/lib/node_modules/bitwig-nks-preview-generator/lib/gulp-plugin-wrapper.js:89:16)
       at DestroyableTransform.Transform._read (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_transform.js:184:10)
       at DestroyableTransform.Transform._write (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_transform.js:172:83)
       at doWrite (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_writable.js:428:64)
       at writeOrBuffer (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_writable.js:417:5)
       at DestroyableTransform.Writable.write (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_writable.js:334:11)
       at Pumpify.ondata (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:619:20)
       at Pumpify.emit (events.js:203:15)
       at Pumpify.EventEmitter.emit (domain.js:448:20)
       at addChunk (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:291:12)
       at readableAddChunk (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:278:11)
       at Pumpify.Readable.push (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:245:10)
       at Pumpify.Duplexify._forward (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/duplexify/index.js:170:26)
       at DestroyableTransform.onreadable (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/duplexify/index.js:134:10)
       at DestroyableTransform.emit (events.js:198:13)
       at DestroyableTransform.EventEmitter.emit (domain.js:448:20)
       at emitReadable_ (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:504:10)
       at emitReadable (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:498:62)
       at addChunk (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:298:29)
       at readableAddChunk (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:278:11)
       at DestroyableTransform.Readable.push (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_readable.js:245:10)
       at DestroyableTransform.Transform.push (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_transform.js:148:32)
       at DestroyableTransform.afterTransform (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/readable-stream/lib/_stream_transform.js:91:10)
       at onWritten (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/vinyl-fs/lib/dest/write-contents/index.js:51:7)
       at onClosed (/usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/vinyl-fs/lib/file-operations.js:26:5)
       at /usr/local/lib/node_modules/bitwig-nks-preview-generator/node_modules/graceful-fs/graceful-fs.js:61:14
       at FSReqWrap.args [as oncomplete] (fs.js:140:20)
   ,
  stop: false,
  name: 'Gulp Plugin Error' }