AudioParam
Generated.swift:586class AudioParam
class AudioParam
import WebAudio
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol JSBridgedClass : JSBridgedType
Conform to this protocol when your Swift class wraps a JavaScript class.
protocol JSBridgedType : ConstructibleFromJSValue, ConvertibleToJSValue, CustomStringConvertible
Use this protocol when your type has no single JavaScript class. For example, a union type of multiple classes or primitive values.
required init(unsafelyWrapping jsObject: JSObject)
class var constructor: JSFunction? { get }
@ReadWriteAttribute var automationRate: AutomationRate { get set }
@ReadonlyAttribute var defaultValue: Float { get }
let jsObject: JSObject
@ReadonlyAttribute var maxValue: Float { get }
@ReadonlyAttribute var minValue: Float { get }
@ReadWriteAttribute var value: Float { get set }
func cancelAndHoldAtTime(cancelTime: Double) -> Self
func cancelScheduledValues(cancelTime: Double) -> Self
func exponentialRampToValueAtTime(value: Float, endTime: Double) -> Self
func linearRampToValueAtTime(value: Float, endTime: Double) -> Self
func setTargetAtTime(target: Float, startTime: Double, timeConstant: Float) -> Self
func setValueAtTime(value: Float, startTime: Double) -> Self
func setValueCurveAtTime(values: [Float], startTime: Double, duration: Double) -> Self
init?(from value: JSValue)
init?(from object: JSObject)
static func construct(from value: JSValue) -> Self?
var description: String { get }
var jsValue: JSValue { get }
func jsValue() -> JSValue