npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jp.keijiro.bolt.osc-jack

v1.0.1

Published

OSC extension for Bolt visual scripting

Downloads

6,773

Readme

Bolt OSC Jack

gif

Bolt OSC Jack is an add-on for Unity's Bolt visual scripting system that adds custom units for handling OSC (Open Sound Control) messages.

It uses OSC Jack as a backend. If you're interested in using OSC without visual scripting, check the OSC Jack project.

Custom Units

OSC Input unit

OSC Input Unit

OSC Input is a unit for receiving OSC messages in a flow graph. You can specify a UDP port number and an OSC address to which the unit listens.

There are variants for different data types:

  • OscBangInput (trigger without data)
  • OscIntInput
  • OscFloatInput
  • OscStringInput
  • OscVector2Input
  • OscVector3Input
  • OscVector4Input

Note that it could trigger the event multiple times in a single frame.

OSC Output unit

OSC Output Unit

OSC Output is a unit for sending OSC messages from a flow graph. You can specify a destination IP address, a UDP port number, and an OSC address to which the unit delivers messages.

There are variants for different data types:

  • OscBangOutput (trigger without data)
  • OscIntOutput
  • OscFloatOutput
  • OscStringOutput
  • OscVector2Output
  • OscVector3Output
  • OscVector4Output

How to try the sample project

This repository doesn't contain the Bolt assets due to the license restriction. You have to import Bolt via Asset Store manually.

You can't use the "Install Bolt" tool due to compilation errors caused by missing file references. You have to manually double-click the Bolt_1_4_X_NET4.unitypackage file in the "Install Bolt" directory instead.

unitypackage

After importing the unitypackage file, it automatically opens the Bolt Setup Wizard.

wizard

On the Assembly Options page, add Bolt.Addons.OscJack.Runtime to the assembly list.

assembly options

How to install the add-on to an existing project

Installing the package via Package Manager

This package uses the scoped registry feature to resolve package dependencies. Please add the following sections to the manifest file (Packages/manifest.json).

To the scopedRegistries section:

{
  "name": "Keijiro",
  "url": "https://registry.npmjs.com",
  "scopes": [ "jp.keijiro" ]
}

To the dependencies section:

"jp.keijiro.bolt.osc-jack": "1.0.1"

After changes, the manifest file should look like below:

{
  "scopedRegistries": [
    {
      "name": "Keijiro",
      "url": "https://registry.npmjs.com",
      "scopes": [ "jp.keijiro" ]
    }
  ],
  "dependencies": {
    "jp.keijiro.bolt.osc-jack": "1.0.1",
    ...

Adding the add-on assembly

Navigate to "Tools" > "Bolt" > "Unit Options Wizard".

assembly options

Add Bolt.Addons.OscJack.Runtime to the assembly list. Then press "Next" and "Generate."