Copy the scripts and paste them in wavepot.com
===
- https://gist.github.com/jchris/04585454570853297974 : detuned-wavepot-verge.js - jchris
- https://gist.github.com/jonasschneider/bfa93fbb358313f5b708/ : need more 303 - jonasschneider
sox $1 -n stat -freq 2>&1 | sed -n -e :a -e '1,15!{P;N;D;};N;ba' | gnuplot -p -e 'set logscale x; plot "-" with linesp' |
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:05444a3a666df9d8410c09f11f59337f93fee5d8a8eb28978ad18c56128d427d" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
"use strict"; | |
var AudioContext = webkitAudioContext || AudioContext; | |
var context = new AudioContext(); | |
var length = 44100; | |
// 2 Buffers to hold samples | |
var bufferSourceNode = context.createBufferSource(); | |
var counterNode = context.createBufferSource(); |
/* | |
* Downloads a sound file using XHR and decodes it using WebAudio | |
* | |
* @method GetAudioFromURL | |
* @param {String} URL URL of the audio file to be downloaded. | |
* @param {Function} onLoadCallback Callback for when the decoded AudioBuffer is ready. Callback returns an {Error} (if any) and an {AudioBuffer} | |
* @param {Function} onProgressCallback Callback for progress event from the XHR download. | |
* @param {AudioContext} [AudioContext] Optional AudioContext to be used for decoding. | |
* |
===
function MoogVCF(){ | |
var y1, y2, y3, y4, oldx, oldy1, oldy2, oldy3; | |
y1 = y2 = y3 = y4 = oldx = oldy1 = oldy2 = oldy3 = 0; | |
var p, k, t1, t2, r, x; | |
return function(cutoff, res, input){ | |
cutoff = 2 * cutoff / sampleRate; | |
p = cutoff * (1.8 - (0.8 * cutoff)); |
var http = require('http'); | |
var myTimeout = 500; | |
var options = { | |
host: '192.168.0.1', | |
}; | |
var req = http.request(options, function(response) { | |
console.log("Response : ", response.statusCode); | |
response.on('data', function () {}); |
console.log("begin act one"); | |
[1,2,3,4,5].forEach(function(e){console.log(e)}); | |
console.log("end act one"); | |
console.log("begin act two"); | |
console.log("act two scene 1"); | |
[1,2,3,4,5].forEach(function(e){window.setTimeout(function(){console.log(e);})}); | |
console.log("act two scene 2"); |