public class PApplet
extends java.lang.Object
Note: This page is a dummy page for documentation of the MidiBus' extention of the regular PApplet's functionality, for the full documentation of PApplet please visits the Processing javadocs
MidiBus
,
MidiListener
,
RawMidiListener
,
StandardMidiListener
,
SimpleMidiListener
Constructor and Description |
---|
PApplet() |
Modifier and Type | Method and Description |
---|---|
void |
controllerChange(ControlChange change)
Is passed a ControlChange object representing controlChange event
|
void |
controllerChange(int channel,
int number,
int value)
Is passed the channel, controller number and contoller value associated with every new ContollerChange MIDI message recieved by a MidiBus attached to this applet.
|
void |
controllerChange(int channel,
int number,
int value,
long timestamp,
java.lang.String bus_name)
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.
|
void |
midiMessage(javax.sound.midi.MidiMessage message)
Is passed the raw MidiMessage associated with every new MIDI message recieved by a MidiBus attached to this applet.
|
void |
midiMessage(javax.sound.midi.MidiMessage message,
long timestamp,
java.lang.String bus_name)
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.
|
void |
noteOff(int channel,
int pitch,
int velocity)
Is passed the channel, pitch and velocity associated with every new NoteOff MIDI message recieved by a MidiBus attached to this applet.
|
void |
noteOff(int channel,
int pitch,
int velocity,
long timestamp,
java.lang.String bus_name)
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.
|
void |
noteOff(Note note)
Is passed a Note object representing noteOff event
|
void |
noteOn(int channel,
int pitch,
int velocity)
Is passed the channel, pitch and velocity associated with every new NoteOn MIDI message recieved by a MidiBus attached to this applet.
|
void |
noteOn(int channel,
int pitch,
int velocity,
long timestamp,
java.lang.String bus_name)
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.
|
void |
noteOn(Note note)
Is passed a Note object representing noteOn event
|
void |
rawMidi(byte[] data)
Is passed the raw data associated with every new MIDI message recieved by a MidiBus attached to this applet.
|
void |
rawMidi(byte[] data,
long timestamp,
java.lang.String bus_name)
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.
|
public void controllerChange(int channel, int number, int value)
channel
- the channel on which the ContollerChange arrivednumber
- the controller number associated with the ContollerChangevalue
- the controller value associated with the ContollerChangecontrollerChange(int channel, int pitch, int velocity, long timestamp, String bus_name)
public void controllerChange(int channel, int number, int value, long timestamp, java.lang.String bus_name)
channel
- the channel on which the ContollerChange arrivednumber
- the controller number associated with the ContollerChangevalue
- the controller value associated with the ContollerChangetimestamp
- the timestamp on the midi messagebus_name
- the name of MidiBus which recieved the ContollerChangecontrollerChange(int channel, int pitch, int velocity)
public void controllerChange(ControlChange change)
change
- the ControlChange objectcontrollerChange(int channel, int pitch, int velocity)
,
ObjectMidiListener.controllerChange(ControlChange)
public void midiMessage(javax.sound.midi.MidiMessage message)
message
- the MidiMessage recievedmidiMessage(MidiMessage message, long timestamp, String bus_name)
public void midiMessage(javax.sound.midi.MidiMessage message, long timestamp, java.lang.String bus_name)
message
- the MidiMessage recievedtimestamp
- the timestamp on the midi messagebus_name
- the name of MidiBus which recieved the MIDI messagemidiMessage(MidiMessage message)
public void noteOff(int channel, int pitch, int velocity)
channel
- the channel on which the NoteOff arrivedpitch
- the pitch associated with the NoteOffvelocity
- the velocity associated with the NoteOffnoteOff(int channel, int pitch, int velocity, long timestamp, String bus_name)
public void noteOff(int channel, int pitch, int velocity, long timestamp, java.lang.String bus_name)
channel
- the channel on which the NoteOff arrivedpitch
- the pitch associated with the NoteOffvelocity
- the velocity associated with the NoteOfftimestamp
- the timestamp on the midi messagebus_name
- the name of MidiBus which recieved the NoteOffnoteOff(int channel, int pitch, int velocity)
public void noteOff(Note note)
note
- the Note objectnoteOff(int channel, int pitch, int velocity)
,
ObjectMidiListener.noteOn(Note)
public void noteOn(int channel, int pitch, int velocity)
channel
- the channel on which the NoteOn arrivedpitch
- the pitch associated with the NoteOnvelocity
- the velocity associated with the NoteOnnoteOn(int channel, int pitch, int velocity, long timestamp, String bus_name)
public void noteOn(int channel, int pitch, int velocity, long timestamp, java.lang.String bus_name)
channel
- the channel on which the NoteOn arrivedpitch
- the pitch associated with the NoteOnvelocity
- the velocity associated with the NoteOntimestamp
- the timestamp on the midi messagebus_name
- the name of MidiBus which recieved the NoteOnnoteOn(int channel, int pitch, int velocity)
public void noteOn(Note note)
note
- the Note objectnoteOn(int channel, int pitch, int velocity)
,
ObjectMidiListener.noteOff(Note)
public void rawMidi(byte[] data)
data
- the raw data associated with the MIDI messagerawMidi(byte[] data, long timestamp, String bus_name)
public void rawMidi(byte[] data, long timestamp, java.lang.String bus_name)
data
- the raw data associated with the MIDI messagetimestamp
- the timestamp on the midi messagebus_name
- the name of MidiBus which recieved the MIDI messagerawMidi(byte[] data)