AudioWorkletProcessor.parameterDescriptors (static getter)
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
AudioWorkletProcessor
로부터 파생된 클래스의 parameterDescriptors
읽기 전용 속성은 static getter 인데, 이는 AudioParamDescriptor
기반 객체의 iterable을 반환합니다.
이 속성은 AudioWorkletProcessor
인터페이스의 일부가 아니지만, 만약 정의된다면, 이것은 AudioWorkletProcessor
생성자에 의해 연관된 AudioWorkletNode
의 parameters
속성에서 사용자 정의 AudioParam
객체들의 리스트를 생성하기 위해 내부적으로 호출됩니다.
getter를 정의하는 것은 선택 사항입니다.
구문
AudioWorkletProcessorSubclass.parameterDescriptors;
Value
AudioParamDescriptor
기반 객체들의 iterable. 이 객체들의 속성은 다음과 같습니다.
name
-
AudioParam
의 이름을 나타내는DOMString
. 이 이름 아래에서AudioParam
은 이 노드의parameters
속성에서 사용 가능하고, 이 이름 아래에서AudioWorkletProcessor.process
메서드는 이AudioParam
의 계산된 값을 획득할 것입니다. automationRate
Optional-
이
AudioParam
의 자동화 비율을 나타내는"a-rate"
, 또는"k-rate"
문자열. 기본값은"a-rate"
입니다. minValue
Optional-
AudioParam
의 최소 값을 나타내는float
. 기본 값은-3.4028235e38
입니다. maxValue
Optional-
AudioParam
의 최대 값을 나타내는float
. 기본 값은3.4028235e38
입니다. defaultValue
Optional-
AudioParam
의 초기 값을 나타내는float
. 기본값은0
입니다.
예제
어떻게 static parameterDescriptors
getter를 사용자 정의 AudioWorkletProcessor
에 추가하는지를 보여주는 예제 코드를 보시려면 AudioWorkletNode.parameters
를 참고해 보세요.
명세서
No specification found
No specification data found for api.AudioWorkletProcessor.parameterDescriptors
.
Check for problems with this page or contribute a missing spec_url
to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.
브라우저 호환성
BCD tables only load in the browser