From 41db9519592a8c29c6ab0864a0ccfff9c8fdce6f Mon Sep 17 00:00:00 2001 From: Cor <83723320+logic-finder@users.noreply.github.com> Date: Wed, 10 Nov 2021 08:51:43 +0900 Subject: [ko] Translation done of `AudioParam.defaultValue` document (#2999) * translate the below document. AudioParam.defaultValue * modify a word specifications Co-authored-by: hochan Lee Co-authored-by: hochan Lee --- files/ko/web/api/audioparam/defaultvalue/index.md | 47 +++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 files/ko/web/api/audioparam/defaultvalue/index.md (limited to 'files/ko/web/api/audioparam/defaultvalue') diff --git a/files/ko/web/api/audioparam/defaultvalue/index.md b/files/ko/web/api/audioparam/defaultvalue/index.md new file mode 100644 index 0000000000..32983a2617 --- /dev/null +++ b/files/ko/web/api/audioparam/defaultvalue/index.md @@ -0,0 +1,47 @@ +--- +title: AudioParam.defaultValue +slug: Web/API/AudioParam/defaultValue +tags: + - API + - AudioParam + - Property + - Reference + - Web Audio API + - defaultValue +browser-compat: api.AudioParam.defaultValue +--- +{{APIRef("Web Audio API")}} + +{{ domxref("AudioParam") }} 인터페이스의 읽기 전용 **`defaultValue`** 속성은 `AudioParam` 을 생성하는 특정한 {{domxref("AudioNode")}}에 의해 정의되는 특성들의 초기 값을 나타냅니다. + +## 구문 + +```js +var defaultVal = audioParam.defaultValue; +``` + +### 값 + +부동점 {{jsxref("Number")}}. + +## 예제 + +```js +const audioCtx = new AudioContext(); +const gainNode = audioCtx.createGain(); +const defaultVal = gainNode.gain.defaultValue; +console.log(defaultVal); // 1 +console.log(defaultVal === gainNode.gain.value); // true +``` + +## 명세서 + +{{Specifications}} + +## 브라우저 호환성 + +{{Compat}} + +## 같이 보기 + +- [Web Audio API 사용하기](/ko/docs/Web/API/Web_Audio_API/Using_Web_Audio_API) -- cgit v1.2.3-54-g00ecf