AKMetalBar

open class AKMetalBar : AKNode, AKToggleable, AKComponent
  • Lower and upper bounds for Left Boundary Condition

    Declaration

    Swift

    public static let leftBoundaryConditionRange: ClosedRange<Double>
  • Lower and upper bounds for Right Boundary Condition

    Declaration

    Swift

    public static let rightBoundaryConditionRange: ClosedRange<Double>
  • Lower and upper bounds for Decay Duration

    Declaration

    Swift

    public static let decayDurationRange: ClosedRange<Double>
  • Lower and upper bounds for Scan Speed

    Declaration

    Swift

    public static let scanSpeedRange: ClosedRange<Double>
  • Lower and upper bounds for Position

    Declaration

    Swift

    public static let positionRange: ClosedRange<Double>
  • Lower and upper bounds for Strike Velocity

    Declaration

    Swift

    public static let strikeVelocityRange: ClosedRange<Double>
  • Lower and upper bounds for Strike Width

    Declaration

    Swift

    public static let strikeWidthRange: ClosedRange<Double>
  • Initial value for Left Boundary Condition

    Declaration

    Swift

    public static let defaultLeftBoundaryCondition: Double
  • Initial value for Right Boundary Condition

    Declaration

    Swift

    public static let defaultRightBoundaryCondition: Double
  • Initial value for Decay Duration

    Declaration

    Swift

    public static let defaultDecayDuration: Double
  • Initial value for Scan Speed

    Declaration

    Swift

    public static let defaultScanSpeed: Double
  • Initial value for Position

    Declaration

    Swift

    public static let defaultPosition: Double
  • Initial value for Strike Velocity

    Declaration

    Swift

    public static let defaultStrikeVelocity: Double
  • Initial value for Strike Width

    Declaration

    Swift

    public static let defaultStrikeWidth: Double
  • Initial value for Stiffness

    Declaration

    Swift

    public static let defaultStiffness: Double
  • Initial value for High Frequency Damping

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var rampDuration: Double { get set }
  • Boundary condition at left end of bar. 1 = clamped, 2 = pivoting, 3 = free

    Declaration

    Swift

    @objc
    open dynamic var leftBoundaryCondition: Double { get set }
  • Boundary condition at right end of bar. 1 = clamped, 2 = pivoting, 3 = free

    Declaration

    Swift

    @objc
    open dynamic var rightBoundaryCondition: Double { get set }
  • 30db decay time (in seconds).

    Declaration

    Swift

    @objc
    open dynamic var decayDuration: Double { get set }
  • Speed of scanning the output location.

    Declaration

    Swift

    @objc
    open dynamic var scanSpeed: Double { get set }
  • Position along bar that strike occurs.

    Declaration

    Swift

    @objc
    open dynamic var position: Double { get set }
  • Normalized strike velocity

    Declaration

    Swift

    @objc
    open dynamic var strikeVelocity: Double { get set }
  • Spatial width of strike.

    Declaration

    Swift

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

    Declaration

    Swift

    @objc
    open dynamic var isStarted: Bool { get }
  • Trigger the sound with an optional set of parameters

    Declaration

    Swift

    open func trigger()
  • Function to start, play, or activate the node, all do the same thing

    Declaration

    Swift

    @objc
    open func start()
  • Function to stop or bypass the node, both are equivalent

    Declaration

    Swift

    @objc
    open func stop()