Created
          January 12, 2015 12:07 
        
      - 
      
 - 
        
Save mmckegg/77e5141e09f4bb96b141 to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function monitor(node){ | |
| var j = node.context.createScriptProcessor(4096, 1, 1) | |
| j.onaudioprocess = function(e){ | |
| console.log(e.inputBuffer.getChannelData(0)[0]) | |
| } | |
| node.connect(j) | |
| j.connect(node.context.destination) | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment