worldmaking / mischmasch

https://www.alicelab.world/msvr
MIT License
9 stars 1 forks source link

patching fold output to speaker input: SyntaxError: Unexpected identifier #207

Open michaelpalumbo opened 2 years ago

michaelpalumbo commented 2 years ago
SyntaxError: Unexpected identifier
    at new Function (<anonymous>)
    at EventEmitter.createCallback (D:\github\mischmasch\Components\Audio\genish.js:2045:16)
    at MessagePort.<anonymous> (D:\github\mischmasch\Components\Audio\genish_worker.js:123:34)
    at MessagePort.[nodejs.internal.kHybridDispatch] (internal/event_target.js:354:41)
    at MessagePort.exports.emitMessage (internal/per_context/messageport.js:18:26)

ways to reproduce:

  1. blank scene

  2. add fold op from palette

  3. patch output to speaker

  4. blank scene

  5. add fold op from palette

  6. add cycle from palette

  7. patch fold out to cycle in

  8. patch cycle out to speaker in

**the fold op handles connections to its input(s) without problems. just when patching its output