Ignore:
Timestamp:
2015-05-17T11:17:31+12:00 (9 years ago)
Author:
davidb
Message:

Working popup editor, saving to localStorage. Tidy up on space-bar for global pause and start play.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/respooled/collect/popup-video-respooled/js/in-the-groove.js

    r29885 r29888  
    55var audioCtx = new (window.AudioContext || window.webkitAudioContext)();
    66
    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//}
    1111
    1212var InTheGroove = false;
     
    1515//var bufferSize = 4096;
    1616var bufferSize = 512;
    17 
    18 
    19 //window.addEventListener('load', onLoad, false);
    20 
    2117
    2218var prev_input = [0,0];
     
    3228    // Feed the HTMLMediaElement into it
    3329    var source = audioCtx.createMediaElementSource(this);
    34     console.log("**** video source = " + source);
     30    //console.log("**** video source = " + source);
    3531
    3632    // connect the AudioBufferSourceNode to the tinnyEffectNode
Note: See TracChangeset for help on using the changeset viewer.