Inherits from MIKMIDIControlChangeCommand : MIKMIDIChannelVoiceCommand : MIKMIDICommand : NSObject
Declared in MIKMIDIControlChangeCommand.h

Overview

The mutable counterpart of MIKMIDIControlChangeCommand.

Tasks

  •   channel

    The MIDI channel the message was or should be sent on. Valid values are from 0-15.

    property
  •   value

    The value of the command. The meaning of this property is different for different subtypes. For example, for a control change command, this is the controllerValue. For a note on command, this is the velocity.

    property
  •   controllerNumber

    The MIDI control number for the command.

    property
  •   controllerValue

    The controlValue of the command.

    property
  •   fourteenBitValue

    The 14-bit value of the command.

    property
  •   fourteenBitCommand

    YES if the command contains 14-bit value data.

    property
  •   timestamp

    The time at which the MIDI message was received. Will be set for commands received from a connected MIDI source. For commands to be sent (ie. created by the MIKMIDI-using application), this must be set manually.

    property
  •   commandType

    The receiver’s command type. See MIKMIDICommandType for a list of possible values.

    property
  •   dataByte1

    The first byte of the MIDI data (after the command type).

    property
  •   dataByte2

    The second byte of the MIDI data (after the command type).

    property
  •   midiTimestamp

    The timestamp for the receiver, expressed as a host clock time. This is the timestamp used by CoreMIDI. Usually the timestamp property, which returns an NSDate, will be more useful.

    property
  •   data

    The raw data that makes up the receiver.

    property

Properties

channel

@property (nonatomic, readwrite) UInt8 channel
Discussion

The MIDI channel the message was or should be sent on. Valid values are from 0-15.

Declared In

MIKMIDIChannelVoiceCommand.h

commandType

@property (nonatomic, readwrite) MIKMIDICommandType commandType
Discussion

The receiver’s command type. See MIKMIDICommandType for a list of possible values.

Declared In

MIKMIDICommand.h

controllerNumber

@property (nonatomic, readwrite) NSUInteger controllerNumber
Discussion

The MIDI control number for the command.

Declared In

MIKMIDIControlChangeCommand.h

controllerValue

@property (nonatomic, readwrite) NSUInteger controllerValue
Discussion

The controlValue of the command.

This method returns the same value as -value. Note that this is always a 7-bit (0-127) value, even for a fourteen bit command. To retrieve the 14-bit value, use fourteenBitValue.

Declared In

MIKMIDIControlChangeCommand.h

data

@property (nonatomic, copy, readwrite) NSData *data
Discussion

The raw data that makes up the receiver.

Declared In

MIKMIDICommand.h

dataByte1

@property (nonatomic, readwrite) UInt8 dataByte1
Discussion

The first byte of the MIDI data (after the command type).

Declared In

MIKMIDICommand.h

dataByte2

@property (nonatomic, readwrite) UInt8 dataByte2
Discussion

The second byte of the MIDI data (after the command type).

Declared In

MIKMIDICommand.h

fourteenBitCommand

@property (nonatomic, readwrite, getter=isFourteenBitCommand) BOOL fourteenBitCommand
Discussion

YES if the command contains 14-bit value data.

If this property returns YES, fourteenBitValue will return a precision value in the range 0-16383

Declared In

MIKMIDIControlChangeCommand.h

fourteenBitValue

@property (nonatomic, readwrite) NSUInteger fourteenBitValue
Discussion

The 14-bit value of the command.

This property always returns a 14-bit value (ranging from 0-16383). If the receiver is not a 14-bit command (isFourteenBitCommand returns NO), the 7 least significant bits will always be 0, and will be discarded when setting this property.

When setting this property, if the fourteenBitCommand property has not been set to YES, the 7 LSbs will be discarded/ignored.

Declared In

MIKMIDIControlChangeCommand.h

midiTimestamp

@property (nonatomic, readwrite) MIDITimeStamp midiTimestamp
Discussion

The timestamp for the receiver, expressed as a host clock time. This is the timestamp used by CoreMIDI. Usually the timestamp property, which returns an NSDate, will be more useful.

Declared In

MIKMIDICommand.h

timestamp

@property (nonatomic, strong, readwrite) NSDate *timestamp
Discussion

The time at which the MIDI message was received. Will be set for commands received from a connected MIDI source. For commands to be sent (ie. created by the MIKMIDI-using application), this must be set manually.

Declared In

MIKMIDICommand.h

value

@property (nonatomic, readwrite) NSUInteger value
Discussion

The value of the command. The meaning of this property is different for different subtypes. For example, for a control change command, this is the controllerValue. For a note on command, this is the velocity.

Declared In

MIKMIDIChannelVoiceCommand.h