A B C D E F G H L M N O P R S T U V 

A

addInput(int) - Method in class themidibus.MidiBus
Adds a new MIDI input device specified by the index device_num.
addInput(String) - Method in class themidibus.MidiBus
Adds a new MIDI input device specified by the name device_name.
addMidiListener(MidiListener) - Method in class themidibus.MidiBus
Adds a listener who will be notified each time a new MIDI message is received from a MIDI input device.
addOutput(int) - Method in class themidibus.MidiBus
Adds a new MIDI output device specified by the index device_num.
addOutput(String) - Method in class themidibus.MidiBus
Adds a new MIDI output device specified by the name device_name.
attachedInputs() - Method in class themidibus.MidiBus
Returns the names of all the attached input devices.
attachedOutputs() - Method in class themidibus.MidiBus
Returns the names of all the attached output devices.
availableInputs() - Static method in class themidibus.MidiBus
Returns the names of all the available input devices.
availableOutputs() - Static method in class themidibus.MidiBus
Returns the names of all the available output devices.

B

bus_name - Variable in class themidibus.ControlChange
 
bus_name - Variable in class themidibus.Note
 

C

channel - Variable in class themidibus.ControlChange
 
channel() - Method in class themidibus.ControlChange
Return the channel of the ControlChange
channel - Variable in class themidibus.Note
 
channel() - Method in class themidibus.Note
Return the channel of the Note
clearAll() - Method in class themidibus.MidiBus
Closes, clears and disposes of all input and output related Transmitters and Receivers.
clearInputs() - Method in class themidibus.MidiBus
Closes, clears and disposes of all input related Transmitters and Receivers.
clearOutputs() - Method in class themidibus.MidiBus
Closes, clears and disposes of all output related Receivers.
clone() - Method in class themidibus.MidiBus
Creates and returns a copy of this object.
close() - Method in class themidibus.MidiBus
Closes this MidiBus and all connections it has with other MIDI devices.
ControlChange - Class in themidibus
The ControlChange class represents a change in value from a controller.
ControlChange(int, int, int) - Constructor for class themidibus.ControlChange
Constructs a ControlChange object
ControlChange(int, int, int, long, String) - Constructor for class themidibus.ControlChange
Constructs a ControlChange object
controllerChange(ControlChange) - Method in interface themidibus.ObjectMidiListener
Objects notifying this ObjectMidiListener of a new ControllerChange events call this method.
controllerChange(int, int, int) - Method in class themidibus.PApplet
Is passed the channel, controller number and contoller value associated with every new ContollerChange MIDI message recieved by a MidiBus attached to this applet.
controllerChange(int, int, int, long, String) - Method in class themidibus.PApplet
Is passed the channel, pitch and velocity associated with every new NoteOff MIDI message recieved by a MidiBus attached to this applet and the name of the MidiBus which recieved the message.
controllerChange(ControlChange) - Method in class themidibus.PApplet
Is passed a ControlChange object representing controlChange event
controllerChange(int, int, int) - Method in interface themidibus.SimpleMidiListener
Objects notifying this SimpleMidiListener of a new ControllerChange MIDI message call this method.

D

dispose() - Method in class themidibus.MidiBus
Closes this MidiBus and all connections it has with other MIDI devices.

E

equals(Object) - Method in class themidibus.ControlChange
Check if all fields are equal.
equals(Object) - Method in class themidibus.MidiBus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class themidibus.Note
Check if all fields are equal.

F

finalize() - Method in class themidibus.MidiBus
Override the finalize() method from java.lang.Object.
findMidiDevices() - Static method in class themidibus.MidiBus
Rescan for Midi Devices.

G

generateBusName() - Method in class themidibus.MidiBus
Generate a name for this MidiBus instance.
getBusName() - Method in class themidibus.MidiBus
Returns the name of this MidiBus.

H

hashCode() - Method in class themidibus.MidiBus
Returns a hash code value for the object.

L

list() - Static method in class themidibus.MidiBus
List all installed MIDI devices.

M

MidiBus - Class in themidibus
The MidiBus class provides a simple way to send and receive MIDI within Processing sketches.
MidiBus() - Constructor for class themidibus.MidiBus
Constructs a new Midibus.
MidiBus(Object) - Constructor for class themidibus.MidiBus
Constructs a new MidiBus and registers the specified parent (PApplet or other) for callbacks.
MidiBus(Object, String) - Constructor for class themidibus.MidiBus
Constructs a new MidiBus with the specified bus_name and registers the specified parent (PApplet or other) for callbacks.
MidiBus(Object, int, int) - Constructor for class themidibus.MidiBus
Constructs a new MidiBus and registers the specified parent (PApplet or other) for callbacks.
MidiBus(Object, int, int, String) - Constructor for class themidibus.MidiBus
Constructs a new MidiBus with the specified bus_name and registers the specified parent (PApplet or other) for callbacks.
MidiBus(Object, String, String) - Constructor for class themidibus.MidiBus
Constructs a new MidiBus and registers the specified parent (PApplet or other) for callbacks.
MidiBus(Object, String, String, String) - Constructor for class themidibus.MidiBus
Constructs a new MidiBus with the specified bus_name and registers the specified parent (PApplet or other) for callbacks.
MidiBus(Object, int, String) - Constructor for class themidibus.MidiBus
More flavors of constructor, similar to the others, but with mixed arguments
MidiBus(Object, int, String, String) - Constructor for class themidibus.MidiBus
More flavors of constructor, similar to the others, but with mixed arguments
MidiBus(Object, String, int) - Constructor for class themidibus.MidiBus
More flavors of constructor, similar to the others, but with mixed arguments
MidiBus(Object, String, int, String) - Constructor for class themidibus.MidiBus
More flavors of constructor, similar to the others, but with mixed arguments
MidiListener - Interface in themidibus
This is a placeholder interface which makes it easier to program and manipulate objects which implement subinterfaces of MidiListener like RawMidiListener, SimpleMidiListener or StandardMidiListener.
midiMessage(MidiMessage) - Method in class themidibus.PApplet
Is passed the raw MidiMessage associated with every new MIDI message recieved by a MidiBus attached to this applet.
midiMessage(MidiMessage, long, String) - Method in class themidibus.PApplet
Is passed the raw MidiMessage associated with every new MIDI message recieved by a MidiBus attached to this applet and the name of the MidiBus which recieved the message.
midiMessage(MidiMessage, long) - Method in interface themidibus.StandardMidiListener
Objects notifying this StandardMidiListener of a new MIDI message call this method and pass the MidiMessage

N

name() - Method in class themidibus.Note
Return the name of the note, e.g.
Note - Class in themidibus
The Note class represents a pressed or released key.
Note(int, int, int) - Constructor for class themidibus.Note
Constructs a Note object
Note(int, int, int, int) - Constructor for class themidibus.Note
Constructs a Note object
Note(int, int, int, long, String) - Constructor for class themidibus.Note
Constructs a Note object
Note(int, int, int, int, long, String) - Constructor for class themidibus.Note
Constructs a Note object
noteOff(Note) - Method in interface themidibus.ObjectMidiListener
Objects notifying this ObjectMidiListener of a new NoteOff events call this method.
noteOff(int, int, int) - Method in class themidibus.PApplet
Is passed the channel, pitch and velocity associated with every new NoteOff MIDI message recieved by a MidiBus attached to this applet.
noteOff(int, int, int, long, String) - Method in class themidibus.PApplet
Is passed the channel, pitch and velocity associated with every new NoteOff MIDI message recieved by a MidiBus attached to this applet and the name of the MidiBus which recieved the message.
noteOff(Note) - Method in class themidibus.PApplet
Is passed a Note object representing noteOff event
noteOff(int, int, int) - Method in interface themidibus.SimpleMidiListener
Objects notifying this SimpleMidiListener of a new NoteOff MIDI message call this method.
noteOn(Note) - Method in interface themidibus.ObjectMidiListener
Objects notifying this ObjectMidiListener of a new NoteOn events call this method.
noteOn(int, int, int) - Method in class themidibus.PApplet
Is passed the channel, pitch and velocity associated with every new NoteOn MIDI message recieved by a MidiBus attached to this applet.
noteOn(int, int, int, long, String) - Method in class themidibus.PApplet
Is passed the channel, pitch and velocity associated with every new NoteOn MIDI message recieved by a MidiBus attached to this applet and the name of the MidiBus which recieved the message.
noteOn(Note) - Method in class themidibus.PApplet
Is passed a Note object representing noteOn event
noteOn(int, int, int) - Method in interface themidibus.SimpleMidiListener
Objects notifying this SimpleMidiListener of a new NoteOn MIDI message call this method.
number - Variable in class themidibus.ControlChange
 
number() - Method in class themidibus.ControlChange
Return the number of the ControlChange

O

ObjectMidiListener - Interface in themidibus
A ObjectMidiListener can be notified of incomming NoteOn, NoteOff and ControllerChange events via Note and ControlChange objects, usually by a MidiBus object which it is connected to.
octave() - Method in class themidibus.Note
Return the octave of the Note.

P

PApplet - Class in themidibus
PApplet is your processing application or sketch.
PApplet() - Constructor for class themidibus.PApplet
 
pitch - Variable in class themidibus.Note
 
pitch() - Method in class themidibus.Note
Return the pitch of the Note

R

rawMidi(byte[]) - Method in class themidibus.PApplet
Is passed the raw data associated with every new MIDI message recieved by a MidiBus attached to this applet.
rawMidi(byte[], long, String) - Method in class themidibus.PApplet
Is passed the raw data associated with every new MIDI message recieved by a MidiBus attached to this applet and the name of the MidiBus which recieved the message.
RawMidiListener - Interface in themidibus
A RawMidiListener can be notified of incomming MIDI messages in raw form, usually by a MidiBus object which it is connect to.
rawMidiMessage(byte[]) - Method in interface themidibus.RawMidiListener
Objects notifying this RawMidiListener of a new MIDI message call this method and pass the raw message to it.
registerParent(Object) - Method in class themidibus.MidiBus
Registers an Object as the parent in order to recieve method callbacks as per PApplet.
relativePitch() - Method in class themidibus.Note
Return the pitch of the Note relative to C.
removeInput(int) - Method in class themidibus.MidiBus
Removes the MIDI input device specified by the index device_num.
removeInput(String) - Method in class themidibus.MidiBus
Removes the MIDI input device specified by the name device_name.
removeMidiListener(MidiListener) - Method in class themidibus.MidiBus
Removes a given listener.
removeOutput(int) - Method in class themidibus.MidiBus
Removes the MIDI output device specified by the index device_num.
removeOutput(String) - Method in class themidibus.MidiBus
Removes the MIDI output device specified by the name device_name.

S

sendControllerChange(int, int, int) - Method in class themidibus.MidiBus
Sends a ControllerChange message to a channel with the specified number and value.
sendControllerChange(ControlChange) - Method in class themidibus.MidiBus
Sends a ControllerChange message to a channel with the specified ControlChange.
sendMessage(byte[]) - Method in class themidibus.MidiBus
Sends a MIDI message with an unspecified number of bytes.
sendMessage(int) - Method in class themidibus.MidiBus
Sends a MIDI message that takes no data bytes.
sendMessage(int, int) - Method in class themidibus.MidiBus
Sends a MIDI message that takes only one data byte.
sendMessage(int, int, int) - Method in class themidibus.MidiBus
Sends a MIDI message that takes one or two data bytes.
sendMessage(int, int, int, int) - Method in class themidibus.MidiBus
Sends a channel message which takes up to two data bytes.
sendMessage(MidiMessage) - Method in class themidibus.MidiBus
Sends a MidiMessage object.
sendNoteOff(int, int, int) - Method in class themidibus.MidiBus
Sends a NoteOff message to a channel with the specified pitch and velocity.
sendNoteOff(Note) - Method in class themidibus.MidiBus
Sends a NoteOff message to a channel with the specified Note.
sendNoteOn(int, int, int) - Method in class themidibus.MidiBus
Sends a NoteOn message to a channel with the specified pitch and velocity.
sendNoteOn(Note) - Method in class themidibus.MidiBus
Sends a NoteOn message to a channel with the specified Note.
sendTimestamps() - Method in class themidibus.MidiBus
Returns whether this MidiBus is sending timestamps along with MIDI information to the MIDI subsystem.
sendTimestamps(boolean) - Method in class themidibus.MidiBus
Configure this MidiBus instance to send or not to send timestamps along with MIDI information to the MIDI subsystem.
setBusName(String) - Method in class themidibus.MidiBus
Changes the name of this MidiBus.
setChannel(int) - Method in class themidibus.ControlChange
Set channel of the ControlChange
setChannel(int) - Method in class themidibus.Note
Set channel of the Note
setNumber(int) - Method in class themidibus.ControlChange
Set number of the ControlChange
setPitch(int) - Method in class themidibus.Note
Set pitch of the Note
setTicks(int) - Method in class themidibus.Note
Set length in ticks of the Note
setValue(int) - Method in class themidibus.ControlChange
Set value of the ControlChange
setVelocity(int) - Method in class themidibus.Note
Set velocity of the Note
SimpleMidiListener - Interface in themidibus
A SimpleMidiListener can be notified of incomming NoteOn, NoteOff and ControllerChange MIDI messages, usually by a MidiBus object which it is connected to.
StandardMidiListener - Interface in themidibus
A StandardMidiListener can be notified of incomming MIDI messages in MidiMessage form, usually by a MidiBus object which it is connected to.
stop() - Method in class themidibus.MidiBus
Closes this MidiBus and all connections it has with other MIDI devices.

T

themidibus - package themidibus
The MidiBus provides a simple way to access and interact with installed MIDI system resources, although it's especially designed to be used with Processing, it could easily be adapted for use in any java program.
ticks - Variable in class themidibus.Note
 
ticks() - Method in class themidibus.Note
Return the length in ticks of the Note
timestamp - Variable in class themidibus.ControlChange
 
timestamp - Variable in class themidibus.Note
 
toString() - Method in class themidibus.ControlChange
Returns a string in the format [c:channel, n:number, v:value, ts:timestamp, b:bus_name] e.g "[c:0, n:65, v:123, ts:1234, b:bus123]".
toString() - Method in class themidibus.MidiBus
Returns a string representation of the object.
toString() - Method in class themidibus.Note
Returns a string in the format [Note Name, c:channel, p:pitch, v:velocity, t:ticks, ts:timestamp, b:bus_name] e.g "[C, c:0, p:65, v:123, t:0, ts:1234, b:bus123]".

U

unavailableDevices() - Static method in class themidibus.MidiBus
Returns the names of all the unavailable devices.

V

value - Variable in class themidibus.ControlChange
 
value() - Method in class themidibus.ControlChange
Return the value of the ControlChange
velocity - Variable in class themidibus.Note
 
velocity() - Method in class themidibus.Note
Return the velocity of the Note
A B C D E F G H L M N O P R S T U V