|
Arduino MIDI Library
Version 4.3
|
Functions | |
| void | MidiInterface< SerialPort, _Settings >::send (MidiType inType, DataByte inData1, DataByte inData2, Channel inChannel) |
| Generate and send a MIDI message from the values given. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendNoteOn (DataByte inNoteNumber, DataByte inVelocity, Channel inChannel) |
| Send a Note On message. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendNoteOff (DataByte inNoteNumber, DataByte inVelocity, Channel inChannel) |
| Send a Note Off message. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendProgramChange (DataByte inProgramNumber, Channel inChannel) |
| Send a Program Change message. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendControlChange (DataByte inControlNumber, DataByte inControlValue, Channel inChannel) |
| Send a Control Change message. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendPolyPressure (DataByte inNoteNumber, DataByte inPressure, Channel inChannel) __attribute__((deprecated)) |
| Send a Polyphonic AfterTouch message (applies to a specified note) More... | |
| void | MidiInterface< SerialPort, _Settings >::sendAfterTouch (DataByte inPressure, Channel inChannel) |
| Send a MonoPhonic AfterTouch message (applies to all notes) More... | |
| void | MidiInterface< SerialPort, _Settings >::sendAfterTouch (DataByte inNoteNumber, DataByte inPressure, Channel inChannel) |
| Send a Polyphonic AfterTouch message (applies to a specified note) More... | |
| void | MidiInterface< SerialPort, _Settings >::sendPitchBend (int inPitchValue, Channel inChannel) |
| Send a Pitch Bend message using a signed integer value. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendPitchBend (double inPitchValue, Channel inChannel) |
| Send a Pitch Bend message using a floating point value. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendSysEx (unsigned inLength, const byte *inArray, bool inArrayContainsBoundaries=false) |
| Generate and send a System Exclusive frame. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendTuneRequest () |
| Send a Tune Request message. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendTimeCodeQuarterFrame (DataByte inTypeNibble, DataByte inValuesNibble) |
| Send a MIDI Time Code Quarter Frame. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendTimeCodeQuarterFrame (DataByte inData) |
| Send a MIDI Time Code Quarter Frame. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendSongPosition (unsigned inBeats) |
| Send a Song Position Pointer message. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendSongSelect (DataByte inSongNumber) |
| Send a Song Select message. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendRealTime (MidiType inType) |
| Send a Real Time (one byte) message. More... | |
| void | MidiInterface< SerialPort, _Settings >::beginRpn (unsigned inNumber, Channel inChannel) |
| Start a Registered Parameter Number frame. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendRpnValue (unsigned inValue, Channel inChannel) |
| Send a 14-bit value for the currently selected RPN number. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendRpnValue (byte inMsb, byte inLsb, Channel inChannel) |
| Send separate MSB/LSB values for the currently selected RPN number. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendRpnIncrement (byte inAmount, Channel inChannel) |
| void | MidiInterface< SerialPort, _Settings >::sendRpnDecrement (byte inAmount, Channel inChannel) |
| void | MidiInterface< SerialPort, _Settings >::endRpn (Channel inChannel) |
| Terminate an RPN frame. This will send a Null Function to deselect the currently selected RPN. More... | |
| void | MidiInterface< SerialPort, _Settings >::beginNrpn (unsigned inNumber, Channel inChannel) |
| Start a Non-Registered Parameter Number frame. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendNrpnValue (unsigned inValue, Channel inChannel) |
| Send a 14-bit value for the currently selected NRPN number. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendNrpnValue (byte inMsb, byte inLsb, Channel inChannel) |
| Send separate MSB/LSB values for the currently selected NRPN number. More... | |
| void | MidiInterface< SerialPort, _Settings >::sendNrpnIncrement (byte inAmount, Channel inChannel) |
| void | MidiInterface< SerialPort, _Settings >::sendNrpnDecrement (byte inAmount, Channel inChannel) |
| void | MidiInterface< SerialPort, _Settings >::endNrpn (Channel inChannel) |
| Terminate an NRPN frame. This will send a Null Function to deselect the currently selected NRPN. More... | |
|
inline |
Start a Non-Registered Parameter Number frame.
| inNumber | The 14-bit number of the NRPN you want to select. |
| inChannel | The channel on which the message will be sent (1 to 16). |
Definition at line 543 of file MIDI.hpp.
|
inline |
Start a Registered Parameter Number frame.
| inNumber | The 14-bit number of the RPN you want to select. |
| inChannel | The channel on which the message will be sent (1 to 16). |
Definition at line 463 of file MIDI.hpp.
|
inline |
Terminate an NRPN frame. This will send a Null Function to deselect the currently selected NRPN.
| inChannel | The channel on which the message will be sent (1 to 16). |
Definition at line 609 of file MIDI.hpp.
|
inline |
Terminate an RPN frame. This will send a Null Function to deselect the currently selected RPN.
| inChannel | The channel on which the message will be sent (1 to 16). |
Definition at line 529 of file MIDI.hpp.
| void MidiInterface< SerialPort, Settings >::send | ( | MidiType | inType, |
| DataByte | inData1, | ||
| DataByte | inData2, | ||
| Channel | inChannel | ||
| ) |
Generate and send a MIDI message from the values given.
| inType | The message type (see type defines for reference) |
| inData1 | The first data byte. |
| inData2 | The second data byte (if the message contains only 1 data byte, set this one to 0). |
| inChannel | The output channel on which the message will be sent (values from 1 to 16). Note: you cannot send to OMNI. |
This is an internal method, use it only if you need to send raw data from your code, at your own risks.
Definition at line 134 of file MIDI.hpp.
|
inline |
Send a MonoPhonic AfterTouch message (applies to all notes)
| inPressure | The amount of AfterTouch to apply to all notes. |
| inChannel | The channel on which the message will be sent (1 to 16). |
Definition at line 266 of file MIDI.hpp.
|
inline |
Send a Polyphonic AfterTouch message (applies to a specified note)
| inNoteNumber | The note to apply AfterTouch to (0 to 127). |
| inPressure | The amount of AfterTouch to apply (0 to 127). |
| inChannel | The channel on which the message will be sent (1 to 16). |
Definition at line 279 of file MIDI.hpp.
|
inline |
Send a Control Change message.
| inControlNumber | The controller number (0 to 127). |
| inControlValue | The value for the specified controller (0 to 127). |
| inChannel | The channel on which the message will be sent (1 to 16). |
Definition at line 239 of file MIDI.hpp.
|
inline |
Send a Note Off message.
| inNoteNumber | Pitch value in the MIDI format (0 to 127). |
| inVelocity | Release velocity (0 to 127). |
| inChannel | The channel on which the message will be sent (1 to 16). |
Note: you can send NoteOn with zero velocity to make a NoteOff, this is based on the Running Status principle, to avoid sending status messages and thus sending only NoteOn data. sendNoteOff will always send a real NoteOff message. Take a look at the values, names and frequencies of notes here: http://www.phys.unsw.edu.au/jw/notes.html
Definition at line 214 of file MIDI.hpp.
|
inline |
Send a Note On message.
| inNoteNumber | Pitch value in the MIDI format (0 to 127). |
| inVelocity | Note attack velocity (0 to 127). A NoteOn with 0 velocity is considered as a NoteOff. |
| inChannel | The channel on which the message will be sent (1 to 16). |
Take a look at the values, names and frequencies of notes here: http://www.phys.unsw.edu.au/jw/notes.html
Definition at line 195 of file MIDI.hpp.
|
inline |
Definition at line 598 of file MIDI.hpp.
|
inline |
Definition at line 588 of file MIDI.hpp.
|
inline |
Send a 14-bit value for the currently selected NRPN number.
| inValue | The 14-bit value of the selected NRPN. |
| inChannel | The channel on which the message will be sent (1 to 16). |
Definition at line 561 of file MIDI.hpp.
|
inline |
Send separate MSB/LSB values for the currently selected NRPN number.
| inMsb | The MSB part of the value to send. Meaning depends on NRPN number. |
| inLsb | The LSB part of the value to send. Meaning depends on NRPN number. |
| inChannel | The channel on which the message will be sent (1 to 16). |
Definition at line 576 of file MIDI.hpp.
|
inline |
Send a Pitch Bend message using a signed integer value.
| inPitchValue | The amount of bend to send (in a signed integer format), between MIDI_PITCHBEND_MIN and MIDI_PITCHBEND_MAX, center value is 0. |
| inChannel | The channel on which the message will be sent (1 to 16). |
Definition at line 293 of file MIDI.hpp.
|
inline |
Send a Pitch Bend message using a floating point value.
| inPitchValue | The amount of bend to send (in a floating point format), between -1.0f (maximum downwards bend) and +1.0f (max upwards bend), center value is 0.0f. |
| inChannel | The channel on which the message will be sent (1 to 16). |
Definition at line 308 of file MIDI.hpp.
|
inline |
Send a Polyphonic AfterTouch message (applies to a specified note)
| inNoteNumber | The note to apply AfterTouch to (0 to 127). |
| inPressure | The amount of AfterTouch to apply (0 to 127). |
| inChannel | The channel on which the message will be sent (1 to 16). Note: this method is deprecated and will be removed in a future revision of the library, |
Definition at line 254 of file MIDI.hpp.
|
inline |
Send a Program Change message.
| inProgramNumber | The Program to select (0 to 127). |
| inChannel | The channel on which the message will be sent (1 to 16). |
Definition at line 226 of file MIDI.hpp.
|
inline |
|
inline |
Definition at line 518 of file MIDI.hpp.
|
inline |
Definition at line 508 of file MIDI.hpp.
|
inline |
Send a 14-bit value for the currently selected RPN number.
| inValue | The 14-bit value of the selected RPN. |
| inChannel | The channel on which the message will be sent (1 to 16). |
Definition at line 481 of file MIDI.hpp.
|
inline |
Send separate MSB/LSB values for the currently selected RPN number.
| inMsb | The MSB part of the value to send. Meaning depends on RPN number. |
| inLsb | The LSB part of the value to send. Meaning depends on RPN number. |
| inChannel | The channel on which the message will be sent (1 to 16). |
Definition at line 496 of file MIDI.hpp.
|
inline |
|
inline |
|
inline |
Generate and send a System Exclusive frame.
| inLength | The size of the array to send |
| inArray | The byte array containing the data to send |
| inArrayContainsBoundaries | When set to 'true', 0xf0 & 0xf7 bytes (start & stop SysEx) will NOT be sent (and therefore must be included in the array). default value for ArrayContainsBoundaries is set to 'false' for compatibility with previous versions of the library. |
Definition at line 326 of file MIDI.hpp.
|
inline |
Send a MIDI Time Code Quarter Frame.
| inTypeNibble | MTC type |
| inValuesNibble | MTC data See MIDI Specification for more information. |
Definition at line 376 of file MIDI.hpp.
|
inline |
|
inline |