Inherits from NSObject
Declared in MIKMIDIEndpointSynthesizer.h

Overview

MIKMIDIEndpointSynthesizerInstrument is used to represent

Tasks

Properties

instrumentID

@property (readonly, nonatomic) MusicDeviceInstrumentID instrumentID
Discussion

The Core Audio supplied instrumentID for the receiver.

Declared In

MIKMIDIEndpointSynthesizer.h

name

@property (readonly, copy, nonatomic) NSString *name
Discussion

The human readable name of the receiver. e.g. “Piano 1”.

Declared In

MIKMIDIEndpointSynthesizer.h

Class Methods

availableInstruments

+ (NSArray *)availableInstruments
Discussion

An array of available MIKMIDIEndpointSynthesizerInstruments for use with MIKMIDIEndpointSynthesizer.

Return Value

An NSArray containing MIKMIDIEndpointSynthesizerInstrument instances.

Declared In

MIKMIDIEndpointSynthesizer.h

instrumentWithID:

+ (instancetype)instrumentWithID:(MusicDeviceInstrumentID)instrumentID
Discussion

Creates and initializes an MIKMIDIEndpointSynthesizerInstrument with the corresponding instrument ID.

Parameters

instrumentID

The MusicDeviceInstrumentID for the desired MIKMIDIEndpointSynthesizerInstrument

Return Value

A MIKMIDIEndpointSynthesizerInstrument with the matching instrument ID, or nil if no instrument was found.

Declared In

MIKMIDIEndpointSynthesizer.h