diff options
author | Cor <83723320+logic-finder@users.noreply.github.com> | 2021-11-10 08:51:43 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-10 08:51:43 +0900 |
commit | 41db9519592a8c29c6ab0864a0ccfff9c8fdce6f (patch) | |
tree | e3bfc24f16350a05272bf7100c528cb9e1b569d2 /files/ko/web/api/audioparam/defaultvalue/index.md | |
parent | 3f50f57543ab8eb5b45632977bd9af72a5b28161 (diff) | |
download | translated-content-41db9519592a8c29c6ab0864a0ccfff9c8fdce6f.tar.gz translated-content-41db9519592a8c29c6ab0864a0ccfff9c8fdce6f.tar.bz2 translated-content-41db9519592a8c29c6ab0864a0ccfff9c8fdce6f.zip |
[ko] Translation done of `AudioParam.defaultValue` document (#2999)
* translate the below document.
AudioParam.defaultValue
* modify a word
specifications
Co-authored-by: hochan Lee <hochan049@gmail.com>
Co-authored-by: hochan Lee <hochan049@gmail.com>
Diffstat (limited to 'files/ko/web/api/audioparam/defaultvalue/index.md')
-rw-r--r-- | files/ko/web/api/audioparam/defaultvalue/index.md | 47 |
1 files changed, 47 insertions, 0 deletions
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) |