Skip to main content
Deno 2 is finally here 🎉️
Learn more

deno-osc (WIP)

Deno Latest tag License

Open Sound Control (OSC) module for Deno.

Usage

import { Message } from "https://deno.land/x/osc/mod.ts";

const msg = new Message("/chatbox/input");
msg.append("hello world");
msg.append(true);

const conn = Deno.listenDatagram({ port: 9001, transport: "udp" });
await conn.send(msg.marshal(), {
  transport: "udp",
  port: 9000,
  hostname: "127.0.0.1",
});
conn.close();

License

Code is distributed under MIT license, feel free to use it in your proprietary projects as well.