AKSynthSnare

open class AKSynthSnare: AKMIDIInstrument

Snare Drum Synthesizer Instrument

  • Create the synth snare voice

    Declaration

    Swift

    public init(duration: Double = 0.143, resonance: Double = 0.9)
  • Function to start, play, or activate the node, all do the same thing

    Declaration

    Swift

    open override func play(noteNumber: MIDINoteNumber, velocity: MIDIVelocity)
  • Unneeded stop function since the sounds all decay quickly

    Declaration

    Swift

    open override func stop(noteNumber: MIDINoteNumber)