Small But Digital
Contact
The MidiBus
The MidiBus
Important update for mac users! Apple has just released Java for Mac OS X 10.6 Update 1 and Java for Mac OS X 10.5 Update 6 which add native MIDI hardware support. This latest update breaks the previous version MidiBus (not my fault, it's theirs I swear really!). But hey, it's for the better.
To fix the MidiBus simply follow theses two easy steps:
1.Download and install the latest version of the MidiBus(see below)
2.Uninstall mmj (or whatever midi subsystem you were using). You can do this by deleting libmmj.jnilib and mmj.jar from /Library/Java/Extensions/ or ~/Library/Java/Extensions/ depending on where you installed it.
You should be good to go, please contact me if you're still having issues so they can be fixed asap.
The MidiBus is a MIDI library for Processing. It provides a quick and simple way to access and interact with installed MIDI system resources. The MidiBus is aimed primarily at real time MIDI applications. The focus is on strong MIDI I/O capabilities and keeping frills to a minimum (e.g. currently no built in sequencer, file read/write, MIDI recording/playback).
Download and Javadocs
- Latest Release (includes examples and javadocs)
- mmj, a Mac OS X universal binary java Midi subsystem (required for Mac users)
- The MidiBus Online Javadocs
A Few Quick Notes
Important: Mac OS 10.4 and older users must install mmj, a Mac OS X universal binary java MIDI subsystem - or an equivalent third party MIDI subsystem. On the other hand if you are a running 10.5 or later, you must uninstall mmj because it will conflict with the new native java MIDI subsystem from apple.
Before you get started, it is important to understand that the MidiBus offers little functionality that isn't available from Java's native javax.sound.midi package. Anyone interested in working with MIDI in Java should take the time to read the documentation for the javax.sound.midi. It offers a more full featured and flexible alternative to this package, although it does do so at the cost of added complexity. In addition, it may be worthwhile to skim the "official" Java Tutorial for the javax.sound.* packages.
Getting Started
The MidiBus is very straight forwards to use. A good place to start is the Basic.pde example included in the latest release. From there you can look at the Javadocs either online or bundled with your library in the "reference" subdirectory. The Javadocs are a comprehensive reference of all the MidiBus' available functionality. There are also a few advanced examples which can (hopefully) help answer the most common questions: how to work with multiple input/output devices, how to send uncommon MIDI messages and how to receive uncommon MIDI messages.
Please do not hesitate to contact me with any questions, comments or bug reports.