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

  • awesome, inspiration, award site 사이트
  • [25년12월 5일 ] react next.js 취약점 발견, 해킹 공격 피해 사례, 코인 채굴 악성 코드
  • react native - Text 컴포넌트에한 줄 내림 처리 (html의 br 태그 같은 처리)
  • [회고] Github Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)
  • CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server.
  • 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
  • github unable to load repositories Retry
  • 안드로이드 - 네트워크 끊겼을 때 webview에 '웹페이지를 찾을 수 없음' 안뜨게 하기
  • 자바스크립트 새창 뛰우기 옵션과 방법

comment

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