AudioEffectDelay
Adds a delay audio effect to an audio bus. Plays input signal back after a period of time.
AudioEffectDelay.swift:14class AudioEffectDelay
Two tap delay and feedback options.
Plays input signal back after a period of time. The delayed signal may be played back multiple times to create the sound of a repeating, decaying echo. Delay effects range from a subtle echo effect to a pronounced blending of previous sounds with new sounds.
Superclasses
class AudioEffect
Audio effect for audio.
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 exampleGString
,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 dry: Double
Output percent of original sound. At 0, only delayed sounds are output. Value can range from 0 to 1.
var feedbackActive: Bool
If
true
, feedback is enabled.var feedbackDelayMs: Double
Feedback delay time in milliseconds.
var feedbackLevelDb: Double
Sound level for feedback.
var feedbackLowpass: Double
Low-pass filter for feedback, in Hz. Frequencies below this value are filtered out of the source signal.
var tap1Active: Bool
If
true
, the first tap will be enabled.var tap1DelayMs: Double
First tap delay time in milliseconds.
var tap1LevelDb: Double
Sound level for the first tap.
var tap1Pan: Double
Pan position for the first tap. Value can range from -1 (fully left) to 1 (fully right).
var tap2Active: Bool
If
true
, the second tap will be enabled.var tap2DelayMs: Double
Second tap delay time in milliseconds.
var tap2LevelDb: Double
Sound level for the second tap.
var tap2Pan: Double
Pan position for the second tap. Value can range from -1 (fully left) to 1 (fully right).