AudioEffectPhaser

    Adds a phaser audio effect to an audio bus.

    AudioEffectPhaser.swift:14
    class AudioEffectPhaser

    Combines the original signal with a copy that is slightly out of phase with the original.

    Combines phase-shifted signals with the original signal. The movement of the phase-shifted signals is controlled using a low-frequency oscillator.

    Superclasses

    Citizens in SwiftGodot

    Conformances

    • protocol CustomStringConvertible

      A type with a customized textual representation.

    • protocol Equatable

      A type that can be compared for value equality.

    • protocol Hashable

      A type that can be hashed into a Hasher to produce an integer hash value.

    • protocol Identifiable<ID>

      A class of types whose instances hold the value of an entity with stable identity.

    • protocol VariantRepresentable

      Types that conform to VariantRepresentable can be stored directly in Variant with no conversion. These include all of the Variant types from Godot (for example GString, Rect, Plane), Godot objects (those that subclass SwiftGodot.Object) as well as the built-in Swift types UInt8, Int64 and Double.

    • protocol VariantStorable

      Types that conform to VariantStorable can be stored in a Variant and can be extracted back out of a Variant.

    Type members

    Instance members

    • var depth: Double

      Governs how high the filter frequencies sweep. Low value will primarily affect bass frequencies. High value can sweep high into the treble. Value can range from 0.1 to 4.

    • var feedback: Double

      Output percent of modified sound. Value can range from 0.1 to 0.9.

    • var rangeMaxHz: Double

      Determines the maximum frequency affected by the LFO modulations, in Hz. Value can range from 10 to 10000.

    • var rangeMinHz: Double

      Determines the minimum frequency affected by the LFO modulations, in Hz. Value can range from 10 to 10000.

    • var rateHz: Double

      Adjusts the rate in Hz at which the effect sweeps up and down across the frequency range.