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.minis

v1.0.1

Published

MIDI extension for Bolt visual scripting

Downloads

6,763

Readme

BoltMinis

gif gif

BoltMinis is an add-on for Unity's Bolt visual scripting system that adds custom units for handling MIDI input.

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

Custom Units

MIDI Note unit

note unit

MIDI Note is a unit for handling MIDI note input. You can specify a MIDI channel and a MIDI note number to which the unit listens.

You can use the Note On/Off ports to hook up a flow to MIDI note events.

The Is-Pressed port outputs true while the specified note is on.

The Velocity port outputs the velocity value on the last note.

MIDI Control unit

control unit

MIDI Control is a unit for handling MIDI control input (CC). You can specify a MIDI channel and a MIDI control number to which the unit listens.

You can use the Changed port to hook up a flow to MIDI control-change events.

The Value port outputs the current value of the control element.

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.Minis.Runtime to the assembly list.

assembly options

The sample project shows how to move a sphere using MIDI note input and MIDI control (CC) input. You may want to change the note/CC numbers for your MIDI device.

sample graph

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.minis": "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.minis": "1.0.1",
    ...

Enabling the new input system

When importing the package, the system may ask you to enable the new input system.

new input system

Press Yes to enable it.

Adding the add-on assembly

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

assembly options

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