Name
   
  Examples
MidiIn midiIn; 
 
void setup() 
{ 
  // Make a new MidiInputObject and open it
  midiIn = new MidiIn();
midiIn.showAvailableInputs();
midiIn.openInput(1);
size(200,200); } void loop() { background(255);
line(0,midiIn.getController(0,1), 200,midiIn.getController(0,1)); }

  Description Object for receiving Midi-Data. Before a MidiInput is used, it must be opened with the openInput(int input) function. It is possible to get the available inputs via the showAvailableInputs() function.
   
  Syntax
MidiIn name 
name.availablePorts
   
  Parameters
name   any legal variable name
   
  Usage Application
   
  Related getNote()
getVelocity()