Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reimplement or replace osc-min #59

Closed
2 tasks
crucialfelix opened this issue Oct 18, 2019 · 1 comment
Closed
2 tasks

Reimplement or replace osc-min #59

crucialfelix opened this issue Oct 18, 2019 · 1 comment

Comments

@crucialfelix
Copy link
Owner

  • Search for a replacement
  • Port to typescript as osc-messages or?

Immediate blocker:

Error building time tags:

Unhandled rejection RangeError [ERR_OUT_OF_RANGE]: The value of "value" is out of range. It must be >= -2147483648 and <= 2147483647. Received 3780374514
at checkInt (internal/buffer.js:35:11)
at writeU_Int32BE (internal/buffer.js:623:3)
at Buffer.writeInt32BE (internal/buffer.js:711:10)
at Object.module.exports.(anonymous function) [as packInt32] (/Users/crucialfelix/code/supercolliderjs/node_modules/binpack/index.js:35:72)
at Object.exports.toTimetagBuffer (/Users/crucialfelix/code/supercolliderjs/node_modules/osc-min/lib/osc-utilities.js:191:34)
at Object.exports.toOscBundle (/Users/crucialfelix/code/supercolliderjs/node_modules/osc-min/lib/osc-utilities.js:600:26)
at Object.exports.toOscPacket (/Users/crucialfelix/code/supercolliderjs/node_modules/osc-min/lib/osc-utilities.js:620:24)
at Object.exports.toBuffer (/Users/crucialfelix/code/supercolliderjs/node_modules/osc-min/lib/index.js:143:18)
at SendOSC.send.on.bundle (/Users/crucialfelix/code/supercolliderjs/packages/server/lib/server.js:125:33)
at SendOSC.emit (events.js:194:15)
at SendOSC.bundle (/Users/crucialfelix/code/supercolliderjs/packages/server/lib/internals/SendOSC.js:38:14)
at scserver (/Users/crucialfelix/code/supercolliderjs/packages/dryadic-supercollider/lib/middleware/scserver.js:84:35)
at /Users/crucialfelix/code/supercolliderjs/node_modules/dryadic/lib/CommandNode.js:137:16
at Array.map ()
at CommandNode.execute (/Users/crucialfelix/code/supercolliderjs/node_modules/dryadic/lib/CommandNode.js:136:31)
at CommandNode.call (/Users/crucialfelix/code/supercolliderjs/node_modules/dryadic/lib/CommandNode.js:99:27)

@crucialfelix
Copy link
Owner Author

Fixed in 715cfcc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant