AKDrip

open class AKDrip : AKNode, AKToggleable, AKComponent

Physical model of the sound of dripping water. When triggered, it will produce a droplet of water.

  • Lower and upper bounds for Intensity

    Declaration

    Swift

    public static let intensityRange: ClosedRange<Double>
  • Lower and upper bounds for Damping Factor

    Declaration

    Swift

    public static let dampingFactorRange: ClosedRange<Double>
  • Lower and upper bounds for Energy Return

    Declaration

    Swift

    public static let energyReturnRange: ClosedRange<Double>
  • Lower and upper bounds for Main Resonant Frequency

    Declaration

    Swift

    public static let mainResonantFrequencyRange: ClosedRange<Double>
  • Lower and upper bounds for First Resonant Frequency

    Declaration

    Swift

    public static let firstResonantFrequencyRange: ClosedRange<Double>
  • Lower and upper bounds for Second Resonant Frequency

    Declaration

    Swift

    public static let secondResonantFrequencyRange: ClosedRange<Double>
  • Lower and upper bounds for Amplitude

    Declaration

    Swift

    public static let amplitudeRange: ClosedRange<Double>
  • Initial value for Intensity

    Declaration

    Swift

    public static let defaultIntensity: Double
  • Initial value for Damping Factor

    Declaration

    Swift

    public static let defaultDampingFactor: Double
  • Initial value for Energy Return

    Declaration

    Swift

    public static let defaultEnergyReturn: Double
  • Initial value for Main Resonant Frequency

    Declaration

    Swift

    public static let defaultMainResonantFrequency: Double
  • Initial value for First Resonant Frequency

    Declaration

    Swift

    public static let defaultFirstResonantFrequency: Double
  • Initial value for Second Resonant Frequency

    Declaration

    Swift

    public static let defaultSecondResonantFrequency: Double
  • Initial value for Amplitude

    Declaration

    Swift

    public static let defaultAmplitude: Double
  • Ramp Duration represents the speed at which parameters are allowed to change

    Declaration

    Swift

    @objc
    open dynamic var rampDuration: Double { get set }
  • The intensity of the dripping sound.

    Declaration

    Swift

    @objc
    open dynamic var intensity: Double { get set }
  • The damping factor. Maximum value is 2.0.

    Declaration

    Swift

    @objc
    open dynamic var dampingFactor: Double { get set }
  • The amount of energy to add back into the system.

    Declaration

    Swift

    @objc
    open dynamic var energyReturn: Double { get set }
  • Main resonant frequency.

    Declaration

    Swift

    @objc
    open dynamic var mainResonantFrequency: Double { get set }
  • The first resonant frequency.

    Declaration

    Swift

    @objc
    open dynamic var firstResonantFrequency: Double { get set }
  • The second resonant frequency.

    Declaration

    Swift

    @objc
    open dynamic var secondResonantFrequency: Double { get set }
  • Amplitude.

    Declaration

    Swift

    @objc
    open dynamic var amplitude: Double { get set }
  • Tells whether the node is processing (ie. started, playing, or active)

    Declaration

    Swift

    @objc
    open dynamic var isStarted: Bool { get }
  • Trigger the sound with an optional set of parameters

    Declaration

    Swift

    open func trigger()
  • Function to start, play, or activate the node, all do the same thing

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open func stop()