MIKMIDIMetronome

Objective-C

@interface MIKMIDIMetronome : MIKMIDIEndpointSynthesizer

Swift

class MIKMIDIMetronome : MIKMIDIEndpointSynthesizer

This class is only a subclass of MIKMIDIEndpointSynthesizer so it continues to function with MIKMIDIPlayer while it still exists. Once MIKMIDIPlayer is removed from the code base, expect this to become a subclass of MIKMIDISynthesizer.

  • This is currently undocumented. Documentation contributions are always welcome!

    Declaration

    Objective-C

    - (nullable instancetype)initWithError:(NSError *_Nullable *_Nullable)error;

    Swift

    init(error: ()) throws
  • This is currently undocumented. Documentation contributions are always welcome!

    Declaration

    Objective-C

    @property (nonatomic) MIDINoteMessage tickMessage

    Swift

    var tickMessage: MIDINoteMessage { get set }
  • This is currently undocumented. Documentation contributions are always welcome!

    Declaration

    Objective-C

    @property (nonatomic) MIDINoteMessage tockMessage

    Swift

    var tockMessage: MIDINoteMessage { get set }

Private

  • This should not be called directly, but may be overridden by subclasses to setup the metronome instrument in a custom manner.

    Declaration

    Objective-C

    - (BOOL)setupMetronome;

    Swift

    func setupMetronome() -> Bool