{"_id":"@c3812600/node-red-ventuz-osc","_rev":"5-8e10cb98628d40cf76633bcd955f5880","name":"@c3812600/node-red-ventuz-osc","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.0":{"name":"@c3812600/node-red-ventuz-osc","version":"1.0.0","keywords":["node-red","ventuz","osc","realtime","broadcast"],"author":{"name":"c3812600","email":"c3812600@qq.com"},"license":"MIT","_id":"@c3812600/node-red-ventuz-osc@1.0.0","maintainers":[{"name":"jinsongchen","email":"c3812600@qq.com"}],"homepage":"https://github.com/c3812600/node-red-ventuz-osc#readme","bugs":{"url":"https://github.com/c3812600/node-red-ventuz-osc/issues"},"dist":{"shasum":"19e8d3cfa8e10e2f24f554715e175175bae6c0c2","tarball":"https://registry.npmjs.org/@c3812600/node-red-ventuz-osc/-/node-red-ventuz-osc-1.0.0.tgz","fileCount":9,"integrity":"sha512-74R16jNckObZy4pw3KEepJz6xY6yM8OZwEx4d+8Ytm562rq+wxHywClWPWbNp4gjXeBM4FnlhRnyQzRDqAOo9w==","signatures":[{"sig":"MEQCID+d+CG7aAJmnae6JDLMGdflCjpO+1+Ntbu5bDO8pUGOAiAm0JTwtM98coNBCxm4Z0IXKHTWTCryOk3Aa6QM4PsAKw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27573},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"c71cf5564cb07fb760e7dda078564d833e242cd3","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jinsongchen","email":"c3812600@qq.com"},"node-red":{"nodes":{"osc-in":"nodes/osc-in.js","osc-out":"nodes/osc-out.js"},"version":">=2.0.0"},"repository":{"url":"git+https://github.com/c3812600/node-red-ventuz-osc.git","type":"git"},"_npmVersion":"10.9.8","description":"Node-RED nodes for Ventuz OSC communication","directories":{},"_nodeVersion":"22.22.3","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/node-red-ventuz-osc_1.0.0_1780475288911_0.7915598425919688","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@c3812600/node-red-ventuz-osc","version":"1.0.1","keywords":["node-red","ventuz","osc","realtime","broadcast"],"author":{"name":"c3812600","email":"c3812600@qq.com"},"license":"MIT","_id":"@c3812600/node-red-ventuz-osc@1.0.1","maintainers":[{"name":"jinsongchen","email":"c3812600@qq.com"}],"homepage":"https://github.com/c3812600/node-red-contrib-ventuz-osc#readme","bugs":{"url":"https://github.com/c3812600/node-red-contrib-ventuz-osc/issues"},"dist":{"shasum":"5a56caffcf8d6b7cb394ba71219ed65e37d2ef82","tarball":"https://registry.npmjs.org/@c3812600/node-red-ventuz-osc/-/node-red-ventuz-osc-1.0.1.tgz","fileCount":9,"integrity":"sha512-ITqQiWtkwtHYc8W0LZPbjc10JbXYVyZiSHX8WJdLB2NQS8uzWEhIjZaTvEoxVaO9KdsCLb5ee9acJDkK3wOMlw==","signatures":[{"sig":"MEUCIQD7vb+jq6pA++kE1+7au3SAnMCE2gwXqeixZi5C+QJLygIgO85wNt6FrtWHiJMVWq6DP6ij/91QI25jKJsJErzimOk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27589},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"89efbffcc94b4d6994a896c7da24823f7f11b3c4","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jinsongchen","email":"c3812600@qq.com"},"node-red":{"nodes":{"osc-in":"nodes/osc-in.js","osc-out":"nodes/osc-out.js"},"version":">=2.0.0"},"repository":{"url":"git+https://github.com/c3812600/node-red-contrib-ventuz-osc.git","type":"git"},"_npmVersion":"10.9.8","description":"Node-RED nodes for Ventuz OSC communication","directories":{},"_nodeVersion":"22.22.3","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/node-red-ventuz-osc_1.0.1_1780475984036_0.2960038942881753","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@c3812600/node-red-ventuz-osc","version":"1.0.2","keywords":["node-red","ventuz","osc","realtime","broadcast"],"author":{"name":"c3812600","email":"c3812600@qq.com"},"license":"MIT","_id":"@c3812600/node-red-ventuz-osc@1.0.2","maintainers":[{"name":"jinsongchen","email":"c3812600@qq.com"}],"homepage":"https://github.com/c3812600/node-red-contrib-ventuz-osc#readme","bugs":{"url":"https://github.com/c3812600/node-red-contrib-ventuz-osc/issues"},"dist":{"shasum":"da93a44b7e5f7d367f211a9085cf892e111df456","tarball":"https://registry.npmjs.org/@c3812600/node-red-ventuz-osc/-/node-red-ventuz-osc-1.0.2.tgz","fileCount":9,"integrity":"sha512-qbheNK3/vQs09ci4v70fjXxNr+A5RLspAlgflKksG8GLF6hFTKdA9JfgdfrO/NTJN84axJu1daY4CcML5w1kEw==","signatures":[{"sig":"MEYCIQDpmYGP1nmIyde4KERFlew854aiXs1DGFOzcsmAxbXCFgIhALyx2amSad5JUqRACWbGMYXFyJkAA3NdIUY+kgM8tVB5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27591},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"55faba505e89ba1e6c4b01fca6bb1df2e1eef434","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jinsongchen","email":"c3812600@qq.com"},"node-red":{"nodes":{"osc-in":"nodes/osc-in.js","osc-out":"nodes/osc-out.js"},"version":">=2.0.0"},"repository":{"url":"git+https://github.com/c3812600/node-red-contrib-ventuz-osc.git","type":"git"},"_npmVersion":"10.9.8","description":"Node-RED nodes for Ventuz OSC communication","directories":{},"_nodeVersion":"22.22.3","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/node-red-ventuz-osc_1.0.2_1780476327092_0.7801902812301642","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@c3812600/node-red-ventuz-osc","version":"1.0.5","keywords":["node-red","ventuz","osc","realtime","broadcast"],"author":{"name":"c3812600","email":"c3812600@qq.com"},"license":"MIT","_id":"@c3812600/node-red-ventuz-osc@1.0.5","maintainers":[{"name":"jinsongchen","email":"c3812600@qq.com"}],"homepage":"https://github.com/c3812600/node-red-contrib-ventuz-osc#readme","bugs":{"url":"https://github.com/c3812600/node-red-contrib-ventuz-osc/issues"},"dist":{"shasum":"238eac9894b2e9177441e198fa4a6b5e7df93f12","tarball":"https://registry.npmjs.org/@c3812600/node-red-ventuz-osc/-/node-red-ventuz-osc-1.0.5.tgz","fileCount":9,"integrity":"sha512-jcFCcUGqQk0UqdbKL9Ti/kBICIHCj/vS4+ij5wwzxJYCcJ27o/oBRUkGgJXpkG7y9j1hVngLHkWsCUzu1y+JoA==","signatures":[{"sig":"MEQCIG/YLqC5HRdo78ON+gLE0UQarxM3PoMJe1jdwkk1woehAiBLAobB0toMm1eUFWzSrk62tuIToad3Roarw0hrq2WCTw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27592},"main":"index.js","engines":{"node":">=14.0.0"},"gitHead":"29fe60075e8b8c51f1ae310493876561ecfd652b","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"jinsongchen","email":"c3812600@qq.com"},"node-red":{"nodes":{"osc-in":"nodes/osc-in.js","osc-out":"nodes/osc-out.js"},"version":">=2.0.0"},"repository":{"url":"git+https://github.com/c3812600/node-red-contrib-ventuz-osc.git","type":"git"},"_npmVersion":"11.6.2","description":"Node-RED nodes for Ventuz OSC communication","directories":{},"_nodeVersion":"24.13.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/node-red-ventuz-osc_1.0.5_1782391645758_0.16570233715978677","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@c3812600/node-red-ventuz-osc","version":"1.0.6","description":"Node-RED nodes for Ventuz OSC communication","keywords":["node-red","ventuz","osc","realtime","broadcast"],"license":"MIT","author":{"name":"c3812600","email":"c3812600@qq.com"},"repository":{"type":"git","url":"git+https://github.com/c3812600/node-red-contrib-ventuz-osc.git"},"bugs":{"url":"https://github.com/c3812600/node-red-contrib-ventuz-osc/issues"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"node-red":{"version":">=2.0.0","nodes":{"osc-out":"nodes/osc-out.js","osc-in":"nodes/osc-in.js"}},"dependencies":{},"devDependencies":{},"engines":{"node":">=14.0.0"},"_id":"@c3812600/node-red-ventuz-osc@1.0.6","gitHead":"fccaec014378d18adec14df193d7d5dcd59838bf","homepage":"https://github.com/c3812600/node-red-contrib-ventuz-osc#readme","_nodeVersion":"22.23.0","_npmVersion":"10.9.8","dist":{"integrity":"sha512-7vCwCvZjIUX3oNHPvidb7ZpeFCWf6KDIOoqRqdxwWHMoUGBAT74jjSncEIWkfZhAO7KDh4AhM6v0xSUs3iKktQ==","shasum":"0e42b3c57fc00516f80bd6a6883a5d61d01980ed","tarball":"https://registry.npmjs.org/@c3812600/node-red-ventuz-osc/-/node-red-ventuz-osc-1.0.6.tgz","fileCount":9,"unpackedSize":28084,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD1AAMtlx868uNLeFx+gNgaTClrAFOUc7yVyyy7Xh2A5AIhAKeUO0Y7jQhGD9N85eaFCV9IyH20CrV634hFU2vUmoYL"}]},"_npmUser":{"name":"jinsongchen","email":"c3812600@qq.com"},"directories":{},"maintainers":[{"name":"jinsongchen","email":"c3812600@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/node-red-ventuz-osc_1.0.6_1782396271596_0.2665107791857686"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-03T08:28:08.799Z","modified":"2026-06-25T14:04:31.877Z","1.0.0":"2026-06-03T08:28:09.073Z","1.0.1":"2026-06-03T08:39:44.255Z","1.0.2":"2026-06-03T08:45:27.218Z","1.0.5":"2026-06-25T12:47:25.895Z","1.0.6":"2026-06-25T14:04:31.734Z"},"bugs":{"url":"https://github.com/c3812600/node-red-contrib-ventuz-osc/issues"},"author":{"name":"c3812600","email":"c3812600@qq.com"},"license":"MIT","homepage":"https://github.com/c3812600/node-red-contrib-ventuz-osc#readme","keywords":["node-red","ventuz","osc","realtime","broadcast"],"repository":{"type":"git","url":"git+https://github.com/c3812600/node-red-contrib-ventuz-osc.git"},"description":"Node-RED nodes for Ventuz OSC communication","maintainers":[{"name":"jinsongchen","email":"c3812600@qq.com"}],"readme":"# @c3812600/node-red-ventuz-osc\n\nNode-RED 节点，用于 Ventuz OSC 通信。\n\n## 功能\n\n- **osc-out**: 发送 OSC 消息到 Ventuz（支持中文 BEUC 编码）\n- **osc-in**: 接收 Ventuz的 OSC 消息\n\n## 特性\n\n- ✅ 完整的 OSC Bundle 支持\n- ✅ 中文字符串自动 BEUC 编码\n- ✅ 支持 int、float、string、blob 数据类型\n- ✅ 通配符地址过滤\n- ✅ 追踪发送方 IP/端口\n\n## 安装\n\n```bash\ncd ~/.node-red\nnpm install @c3812600/node-red-ventuz-osc\n```\n\n或通过 Node-RED 管理面板搜索 `ventuz-osc` 安装。\n\n## 节点说明\n\n### osc-out 节点\n\n发送 OSC 消息到指定目标。\n\n**配置项：**\n- **host**: 目标主机地址（默认 127.0.0.1）\n- **port**: OSC 端口号（默认 9000）\n- **address**: OSC 地址（默认 /ventuz/broadcast，留空时使用默认值）\n\n**地址优先级：**\n1. 输入消息的 `msg.topic` 字段（最高优先级）\n2. 节点配置的 OSC Address 字段\n3. 留空时默认为 `/ventuz/broadcast`\n\n**输入消息格式：**\n```json\n{\n  \"topic\": \"/ventuz/broadcast\",\n  \"payload\": \"Hello Ventuz\"\n}\n```\n\n**支持的数据类型：**\n- 整数 (int32)\n- 浮点数 (float32)\n- 字符串 (UTF-8/BEUC)\n- 布尔值 (自动转 int)\n- Blob (Buffer)\n\n### osc-in 节点\n\n监听指定端口的 OSC 消息。\n\n**配置项：**\n- **port**: 监听端口号（默认 9001）\n- **address**: OSC 地址过滤器（留空或 `*` 表示接收所有地址的消息）\n\n**输出消息格式：**\n```json\n{\n  \"topic\": \"/ventuz/broadcast\",\n  \"payload\": [\"Hello\", 123, 45.67],\n  \"_ip\": \"192.168.1.100\",\n  \"_port\": 12345,\n  \"_raw\": \"<Buffer>\"\n}\n```\n\n**地址过滤器示例：**\n- `/ventuz/*` - 匹配所有 /ventuz/ 开头的地址\n- `*` - 匹配所有地址\n- `/ventuz/broadcast` - 精确匹配\n\n## 示例\n\n导入 `examples/osc-example.json` 中的示例流程。\n\n## OSC 编码说明\n\n本模块的 OSC 编码实现参考了 [c3812600/osc](https://github.com/c3812600/osc) 项目，支持：\n\n- 标准 OSC 消息和 Bundle 格式\n- 中文字符串 BEUC 编码（自动检测）\n- 4 字节对齐填充\n\n## License\n\nMIT\n","readmeFilename":"README.md"}