Interface MidiExpressions


public interface MidiExpressions
Creates useful MIDI expressions that can be used to match MIDI events.
Since:
API version 10
  • Method Details

    • createIsCCExpression

      String createIsCCExpression(int controlNumber)
      Creates an expression that recognizes a MIDI CC event regardless of its channel.
      Since:
      API version 11
    • createIsCCExpression

      String createIsCCExpression(int channel, int controlNumber)
      Creates an expression that recognizes a MIDI CC event.
    • createIsCCValueExpression

      String createIsCCValueExpression(int channel, int control, int value)
      Creates an expression that recognizes a MIDI CC event with a specific value. This expression can be used in
      invalid reference
      #createActionMatcher(String)
      or
      invalid reference
      #createAbsoluteValueMatcher(String, String, int)
      , for example.
      Since:
      API version 10
    • createIsPitchBendExpression

      String createIsPitchBendExpression(int channel)
      Creates an expression that recognizes a pitch bend event. This expression can be used in
      invalid reference
      #createActionMatcher(String)
      or
      invalid reference
      #createAbsoluteValueMatcher(String, String, int)
      , for example.
      Since:
      API version 10
    • createIsNoteOnExpression

      String createIsNoteOnExpression(int channel, int note)
      Creates an expression that recognizes a note on event. This expression can be used in
      invalid reference
      #createActionMatcher(String)
      or
      invalid reference
      #createAbsoluteValueMatcher(String, String, int)
      , for example.
      Since:
      API version 10
    • createIsNoteOffExpression

      String createIsNoteOffExpression(int channel, int note)
      Creates an expression that recognizes a note off event. This expression can be used in
      invalid reference
      #createActionMatcher(String)
      or
      invalid reference
      #createAbsoluteValueMatcher(String, String, int)
      , for example.
      Since:
      API version 10
    • createIsPolyAftertouch

      String createIsPolyAftertouch(int channel, int note)
      Creates an expression that recognizes a polyphonic aftertouch event. This expression can be used in
      invalid reference
      #createActionMatcher(String)
      or
      invalid reference
      #createAbsoluteValueMatcher(String, String, int)
      , for example.
      Since:
      API version 10