AKPhaseDistortionOscillator

open class AKPhaseDistortionOscillator : AKNode, AKToggleable, AKComponent

Casio-style phase distortion with pivot point on the X axis This module is designed to emulate the classic phase distortion synthesis technique. From the mid 90’s. The technique reads the first and second halves of the ftbl at different rates in order to warp the waveform. For example, pdhalf can smoothly transition a sinewave into something approximating a sawtooth wave.

  • Lower and upper bounds for Frequency

    Declaration

    Swift

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

    Declaration

    Swift

    public static let amplitudeRange: ClosedRange<Double>
  • Lower and upper bounds for Phase Distortion

    Declaration

    Swift

    public static let phaseDistortionRange: ClosedRange<Double>
  • Lower and upper bounds for Detuning Offset

    Declaration

    Swift

    public static let detuningOffsetRange: ClosedRange<Double>
  • Lower and upper bounds for Detuning Multiplier

    Declaration

    Swift

    public static let detuningMultiplierRange: ClosedRange<Double>
  • Initial value for Frequency

    Declaration

    Swift

    public static let defaultFrequency: Double
  • Initial value for Amplitude

    Declaration

    Swift

    public static let defaultAmplitude: Double
  • Initial value for Phase Distortion

    Declaration

    Swift

    public static let defaultPhaseDistortion: Double
  • Initial value for Detuning Offset

    Declaration

    Swift

    public static let defaultDetuningOffset: Double
  • Initial value for Detuning Multiplier

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var rampDuration: Double { get set }
  • Frequency in cycles per second

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var amplitude: Double { get set }
  • Amount of distortion, within the range [-1, 1]. 0 is no distortion.

    Declaration

    Swift

    @objc
    open dynamic var phaseDistortion: Double { get set }
  • Frequency offset in Hz.

    Declaration

    Swift

    @objc
    open dynamic var detuningOffset: Double { get set }
  • Frequency detuning multiplier

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var isStarted: Bool { get }