lab.naminsik
  • Javascript, jQuery
  • Reactjs
  • React Native
  • iOS
  • Android
  • AWS
  • Server
  • Html, CSS
  • Php
  • asp .net
  • SQL
  • Word Press
search
keywords
  • Javascript, jQuery 2018‧07‧04

    audio context 볼륨 조절하기

    audio context를 createBufferSource 를 이용해서 재생시킬 때 음원의 소리를 조절하고 싶어 gain 을 쓸 때가 있다. var AudioContext = window.AudioContext || window.webkitAudioContext; var context = new AudioContext(); source = context.createBufferSource(); var gainNode = context.createGain(); gainNode.gain.value = 0.5; //0~1 gainNode.connect(context.destination); source.connect(gainNode); gain.value 에 0부터 1까지 소숫점으로 볼륨을 지정해주면 된다.

popular

  • 앱 디자인 영감을 얻기 위한 아이폰 앱들의 화면 캡쳐
  • ReactJs - .propTypes, .defaultprops
  • ASP - css 클래스 명 추가
  • github로 무료 웹호스팅, 미디어 호스팅 이용하기(for 디자이너)
  • JS-setTimeout() , clearTimeout()
  • KT Season Update
  • Lightsail CPU 사용률 급증과 버스트 급감 (워드프레스, 우커머스)
  • CTO로 선임된 지 2년 6개월
  • css - 크롬 position fixed 버그 해결 방법
  • react native - No apps connected. Sending "reload" to all React Native apps failed. Make sure your app is running in the simulator or on a phone connected via USB

comment

  • 감사합니다!
  • 감사합니다~
  • 잘 해결 되셨다니 다행입니다!...
  • 정말 감사합니다. 덕분에 해결했습니다!...
  • 유용한정보 대단히 감사합니다....