MIKMIDITempoEvent

Objective-C

@interface MIKMIDITempoEvent : MIKMIDIEvent

Swift

class MIKMIDITempoEvent : MIKMIDIEvent

A MIDI tempo event.

  • Creates and initializes a new MIKMIDITempoEvent.

    Declaration

    Objective-C

    + (nonnull instancetype)tempoEventWithTimeStamp:(MusicTimeStamp)timeStamp
                                              tempo:(Float64)bpm;

    Swift

    convenience init(timeStamp: MusicTimeStamp, tempo bpm: Float64)

    Parameters

    timeStamp

    The time stamp for the tempo event.

    bpm

    The beats per minute of the tempo event.

    Return Value

    A new instance of MIKMIDITempoEvent

  • bpm

    The beats per minute of the tempo event.

    Declaration

    Objective-C

    @property (nonatomic, readonly) Float64 bpm;

    Swift

    var bpm: Float64 { get }