AudioEffectChorus
Adds a chorus audio effect.
AudioEffectChorus.swift:17class AudioEffectChorus
Adds a chorus audio effect. The effect applies a filter with voices to duplicate the audio source and manipulate it through the filter.
Superclasses
class AudioEffect
Base class for audio effect resources.
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
The effect’s raw signal.
var voiceCount: Int32
The number of voices in the effect.
var wet: Double
The effect’s processed signal.
func getVoiceCutoffHz(voiceIdx: Int32
) -> Double func getVoiceDelayMs(voiceIdx: Int32
) -> Double func getVoiceDepthMs(voiceIdx: Int32
) -> Double func getVoiceLevelDb(voiceIdx: Int32
) -> Double func getVoicePan(voiceIdx: Int32
) -> Double func getVoiceRateHz(voiceIdx: Int32
) -> Double func setVoiceCutoffHz(voiceIdx: Int32, cutoffHz: Double
) func setVoiceDelayMs(voiceIdx: Int32, delayMs: Double
) func setVoiceDepthMs(voiceIdx: Int32, depthMs: Double
) func setVoiceLevelDb(voiceIdx: Int32, levelDb: Double
) func setVoicePan(voiceIdx: Int32, pan: Double
) func setVoiceRateHz(voiceIdx: Int32, rateHz: Double
)