AKPhaser

open class AKPhaser: AKNode, AKToggleable, AKComponent

A stereo phaser This is a stereo phaser, generated from Faust code taken from the Guitarix project.

  • Ramp Time represents the speed at which parameters are allowed to change

    Declaration

    Swift

    open dynamic var rampTime: Double = AKSettings.rampTime
  • Notch Minimum Frequency

    Declaration

    Swift

    open dynamic var notchMinimumFrequency: Double = 100
  • Notch Maximum Frequency

    Declaration

    Swift

    open dynamic var notchMaximumFrequency: Double = 800
  • Between 10 and 5000

    Declaration

    Swift

    open dynamic var notchWidth: Double = 1000
  • Between 1.1 and 4

    Declaration

    Swift

    open dynamic var notchFrequency: Double = 1.5
  • 1 or 0

    Declaration

    Swift

    open dynamic var vibratoMode: Double = 1
  • Between 0 and 1

    Declaration

    Swift

    open dynamic var depth: Double = 1
  • Between 0 and 1

    Declaration

    Swift

    open dynamic var feedback: Double = 0
  • 1 or 0

    Declaration

    Swift

    open dynamic var inverted: Double = 0
  • Between 24 and 360

    Declaration

    Swift

    open dynamic var lfoBPM: Double = 30
  • Tells whether the node is processing (ie. started, playing, or active)

    Declaration

    Swift

    open dynamic var isStarted: Bool
  • Initialize this phaser node

    • Parameters:
      • input: Input node to process
      • notchMinimumFrequency: Notch Minimum Frequency
      • notchMaximumFrequency: Notch Maximum Frequency
      • notchWidth: Between 10 and 5000
      • notchFrequency: Between 1.1 and 4
      • vibratoMode: 1 or 0
      • depth: Between 0 and 1
      • feedback: Between 0 and 1
      • inverted: 1 or 0
      • lfoBPM: Between 24 and 360

    Declaration

    Swift

    public init(
            _ input: AKNode?,
            notchMinimumFrequency: Double = 100,
            notchMaximumFrequency: Double = 800,
            notchWidth: Double = 1000,
            notchFrequency: Double = 1.5,
            vibratoMode: Double = 1,
            depth: Double = 1,
            feedback: Double = 0,
            inverted: Double = 0,
            lfoBPM: Double = 30)

    Parameters

    input

    Input node to process

    notchMinimumFrequency

    Notch Minimum Frequency

    notchMaximumFrequency

    Notch Maximum Frequency

    notchWidth

    Between 10 and 5000

    notchFrequency

    Between 1.1 and 4

    vibratoMode

    1 or 0

    depth

    Between 0 and 1

    feedback

    Between 0 and 1

    inverted

    1 or 0

    lfoBPM

    Between 24 and 360

  • Function to start, play, or activate the node, all do the same thing

    Declaration

    Swift

    open func start()
  • Function to stop or bypass the node, both are equivalent

    Declaration

    Swift

    open func stop()