AKPolyphonicNode

open class AKPolyphonicNode: AKNode, AKPolyphonic

Bare bones implementation of AKPolyphonic protocol

  • Play a sound corresponding to a MIDI note

    • Parameters:
      • noteNumber: MIDI Note Number
      • velocity: MIDI Velocity

    Declaration

    Swift

    open func play(noteNumber: MIDINoteNumber, velocity: MIDIVelocity)

    Parameters

    noteNumber

    MIDI Note Number

    velocity

    MIDI Velocity

  • Stop a sound corresponding to a MIDI note

    Declaration

    Swift

    open func stop(noteNumber: MIDINoteNumber)

    Parameters

    noteNumber

    MIDI Note Number