MIDIEventTimeStamp

public enum MIDIEventTimeStamp: Equatable

Timestamp value of the MIDI event message.

  • Initilize timestamp with a MIDITimeStamp value.

    Declaration

    Swift

    case timestamp(MIDITimeStamp)
  • now

    Timestamp is right now.

    Declaration

    Swift

    case now
  • Future timestamp with a double value in seconds.

    Declaration

    Swift

    case secondsAfterNow(Double)
  • MIDITimeStamp value for the MIDI message.

    Declaration

    Swift

    public var value: MIDITimeStamp
  • Check if two MIDIEventTimeStamp’s equal.

    Declaration

    Swift

    public static func ==(lhs: MIDIEventTimeStamp, rhs: MIDIEventTimeStamp) -> Bool

    Parameters

    lhs

    Left hand side of the equation.

    rhs

    Right hand side of the equation.

    Return Value

    Returns if two timestamps are equal or not.