NoteInjector

public struct NoteInjector

Submit a sequence of MIDI events to play a A4 note. Used when switching preset/patches.

  • Undocumented

    Declaration

    Swift

    public init()
  • Post MIDI commands to Sampler to play a short note.

    Declaration

    Swift

    public mutating func post(to sampler: Sampler)

    Parameters

    sampler

    the sampler to command

  • Post MIDI commands to an audio unit to play a short note.

    Declaration

    Swift

    public mutating func post(to audioUnit: AUAudioUnit)

    Parameters

    audioUnit

    the audio unit to command