All Projects β†’ Nagitch β†’ MidiJack

Nagitch / MidiJack

Licence: other
MIDI input / output plugin for Unity

Projects that are alternatives of or similar to MidiJack

midibus.js
πŸšŒπŸ’¨πŸŽΆ Web MIDI API wrapper based on themidibus
Stars: ✭ 24 (+26.32%)
Mutual labels:  midi, midi-api
MIDISequencerAUv3
A great start point for making AUv3 MIDI sequencer apps.
Stars: ✭ 24 (+26.32%)
Mutual labels:  midi
Miles
Swift Playground that creates jazz improvisations (WWDC 2018)
Stars: ✭ 31 (+63.16%)
Mutual labels:  midi
AUSequencer
(WIP) MIDI Sequencer Audio Unit
Stars: ✭ 26 (+36.84%)
Mutual labels:  midi
arduino-midi-footswitch
USB MIDI Pedal built with Arduino
Stars: ✭ 24 (+26.32%)
Mutual labels:  midi
flutter midi
Midi Playback in Flutter
Stars: ✭ 52 (+173.68%)
Mutual labels:  midi
KorikasAvatarPlugin
🐈 Manage your VRChat avatars with ease!
Stars: ✭ 27 (+42.11%)
Mutual labels:  unity3d-plugin
DeepMusic
A python package for high level musical data manipulation and preprocessing, making data ready to be fed to a neural network.
Stars: ✭ 24 (+26.32%)
Mutual labels:  midi
Webview-unity-3d-2017.3-or-higher-
Webview unity 3d 2017.3 or higher - can be open website url on unity3d or open Html5, html and js on unity offline
Stars: ✭ 18 (-5.26%)
Mutual labels:  unity3d-plugin
wui
Collection of GUI widgets for the web
Stars: ✭ 44 (+131.58%)
Mutual labels:  midi
Creator
Scalable and maintainable Unity-based VR training
Stars: ✭ 25 (+31.58%)
Mutual labels:  unity3d-plugin
AUParamsApp
An AUv3 MIDI plugin. See the blog post
Stars: ✭ 24 (+26.32%)
Mutual labels:  midi
LMS.Version
Super simple auto build version tool
Stars: ✭ 40 (+110.53%)
Mutual labels:  unity3d-plugin
UnityHexagonLibrary2d
A library to manage 2D hexagonal tiles in Unity.
Stars: ✭ 58 (+205.26%)
Mutual labels:  unity3d-plugin
seq66
Seq66: Seq24-based live MIDI looper/editor. V. 0.99.1 2022-11-27. NSM support; Linux/Windows; PDF user manual. Help access to tutorial and PDF.
Stars: ✭ 95 (+400%)
Mutual labels:  midi
ScriptableObjectDropdown
Dropdown for ScriptableObjects
Stars: ✭ 40 (+110.53%)
Mutual labels:  unity3d-plugin
ManosOsc
(Eyebeam #13 of 13) Output OSC, MIDI, and After Effects/Maya animation scripts from the Leap Motion controller.
Stars: ✭ 53 (+178.95%)
Mutual labels:  midi
download.unity.com
Unity Download http://unity3d.com/unity/download/archive
Stars: ✭ 90 (+373.68%)
Mutual labels:  unity3d-plugin
PATCH
The PATCH repository for issues tracking, wiki and shared material.
Stars: ✭ 34 (+78.95%)
Mutual labels:  unity3d-plugin
ddrm-jfsebastian
J.F. Sebastian is a tool that provides new ways to control Deckard's Dream synthesizer
Stars: ✭ 29 (+52.63%)
Mutual labels:  midi

MIDI Jack

MIDI Jack is a MIDI input / output plugin for Unity. (output is supported Windows x64 only)

sample

System Requirements

  • Unity 5
  • Windows or Mac OS X

Installation

Download and import MidiJack.unitypackage into your project. That’s it!

See the troubleshooting topics if you encounter any problems.

API Reference

The basic functions of MIDI Jack are provided in the MidiMaster class.

The channel arguments in the following functions can be omitted. In that case, the functions return the values in the All-Channel slot, which stores mixed status of all active channels.

Input

  • MidiMaster.GetKey (channel, noteNumber)

    Returns the velocity value while the key is pressed, or zero while the key is released. The value ranges from 0.0 (note-off) to 1.0 (maximum velocity).

  • MidiMaster.GetKeyDown (channel, noteNumber)

    Returns true during the frame the user starts pressing down the key.

  • MidiMaster.GetKeyUp (channel, noteNumber)

    Returns true during the frame the user releases the key.

  • MidiMaster.GetKnob (channel, knobNumber, defaultValue)

    Returns the controller value (CC). The value ranges from 0.0 to 1.0.

  • MidiMaster.GetKnobNumbers (channel)

    Returns the list of active controllers.

  • MidiMaster.GetBend (channel)

    Returns pitch bend value. The value ranges from -1.0 to 1.0.

  • MidiMaster.GetChannelAfterTouch (channel)

    Returns the channel after touch pressure. The value ranges from 0.0 to 1.0.

  • MidiMaster.GetPolyAfterTouch (channel, noteNumber)

    Returns the polyphonic after touch pressure. The value ranges from 0.0 to 1.0.

There are also delegates for the each type of MIDI event.

  • MidiMaster.noteOnDelegate (channel, noteNumber, velocity)
  • MidiMaster.noteOffDelegate (channel, noteNumber)
  • MidiMaster.knobDelegate (channel, knobNumber, konbValue)
  • MidiMaster.pitchBendDelegate (channel, bend)
  • MidiMaster.channelAfterTouchDelegate (channel, pressure)
  • MidiMaster.polyAfterTouchDelegate (channel, noteNumber, pressure)

Output

  • MidiMaster.SendMessage(deviceID, message)

    send entire MIDI message to device.

  • MidiMaster.SendNoteOn(deviceID, channel, noteNumber, velocity)

    send note on to device. velocity is 0.0 to 1.0 range.

  • MidiMaster.SendNoteOff(deviceID, channel, noteNumber, velocity)

    send note off to device.

  • MidiMaster.SendCC(deviceID, channel, ccNumber, value)

    send CC message to device. value is 0.0 to 1.0 range.

  • MidiMaster.SendChannelMessage(deviceID, statusbyte, databyte)

    send channel message to device.

  • MidiMaster.SendChannelMessage(deviceID, statusbyte, channel, databyte)

    send channel message to device. (channel selectable orverload)

you can find out how to identify Device ID from example code SendTestMIDIManager.cs, with scenes in Assets/ExampleSend.

MIDI Monitor Window

MIDI Jack provides the MIDI Monitor window, which shows the list of active devices and incoming MIDI messages.

monitor

The MIDI Monitor window is avilable from the menu Window -> MIDI Jack.

Current Limitations

  • Currently MIDI Jack only supports Windows and OS X. No iOS support yet.
  • Only supports note and CC messages. No support for program changes nor SysEx.
  • The MIDI Jack plugin always tries to capture all available MIDI devices. On Windows this behavior may conflict with other MIDI applications.

License

Copyright (C) 2013-2015 Keijiro Takahashi

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].