Changeset 29888 for main/trunk/model-sites-dev/respooled/collect/popup-video-respooled/js/in-the-groove.js
- Timestamp:
- 2015-05-17T11:17:31+12:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/model-sites-dev/respooled/collect/popup-video-respooled/js/in-the-groove.js
r29885 r29888 5 5 var audioCtx = new (window.AudioContext || window.webkitAudioContext)(); 6 6 7 if( 'webkitAudioContext' in window) {8 console.log("*** Web Audio found in webkit namespace");9 audioCtx = new webkitAudioContext();10 }7 //if( 'webkitAudioContext' in window) { 8 // console.log("*** Web Audio found in webkit namespace"); 9 // audioCtx = new webkitAudioContext(); 10 //} 11 11 12 12 var InTheGroove = false; … … 15 15 //var bufferSize = 4096; 16 16 var bufferSize = 512; 17 18 19 //window.addEventListener('load', onLoad, false);20 21 17 22 18 var prev_input = [0,0]; … … 32 28 // Feed the HTMLMediaElement into it 33 29 var source = audioCtx.createMediaElementSource(this); 34 console.log("**** video source = " + source);30 //console.log("**** video source = " + source); 35 31 36 32 // connect the AudioBufferSourceNode to the tinnyEffectNode
Note:
See TracChangeset
for help on using the changeset viewer.