This repository was archived by the owner on Jun 12, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Home
aure edited this page May 26, 2021
·
2 revisions
Clips a signal to a predefined limit, in a "soft" manner, using one of three methods.
public class DiodeClipper: Node Node
Initialize this clipper node
public init(_ input: Node,
cutoffFrequency: AUValue = cutoffFrequencyDef.defaultValue,
gain: AUValue = gainDef.defaultValue
) - input: Input node to process
- cutoffFrequency: Cutoff frequency
- gain: Gain in dB
Connected nodes
public var connections: [Node] Underlying AVAudioNode
public var avAudioNode Specification for the cutoff frequency
public static let cutoffFrequencyDef Filter cutoff frequency.
@Parameter(cutoffFrequencyDef) public var cutoffFrequency: AUValueSpecification for the gain
public static let gainDef Determines the amount of gain applied to the signal before waveshaping. A value of 1 gives slight distortion.
@Parameter(gainDef) public var gain: AUValue