This file contains 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
{ | |
"info": { | |
"title": "hello meemoo!", | |
"author": "automata", | |
"description": "testing simple modules", | |
"url": "hellomeemoo" | |
}, | |
"nodes": [ | |
{ | |
"src": "http://automata.github.com/meemoo-modules/bang.html", |
This file contains 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
{ | |
"info": { | |
"title": "changing the bpm", | |
"author": "automata", | |
"description": "enter some numeric value on the evaluator and press start", | |
"url": "hellomeemoo" | |
}, | |
"nodes": [ | |
{ | |
"src": "http://automata.github.com/meemoo-modules/evaluator.html", |
This file contains 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
var output = new Audio(); | |
output.mozSetup(1, 44100); | |
var samples = new Float32Array(22050); | |
for(var i=0; i< samples.length; i++){ | |
samples[i] = Math.sin(i/20); | |
} |
This file contains 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
{ | |
"info": { | |
"title": "testing simple audio nodes a.k.a boring alarm =)", | |
"author": "automata", | |
"description": "testing simple audio nodes or my sweet boring noizy alarm", | |
"url": "cam2gif" | |
}, | |
"nodes": [ | |
{ | |
"src": "http://automata.github.com/meemoo-modules/audio-oscillator.html", |
This file contains 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
# -*- coding: utf-8 -*- | |
import urllib | |
import urllib2 | |
import string | |
import sys | |
from bs4 import BeautifulSoup | |
# faking a browser | |
user_agent = "Mozilla/5.0 (Linux x86_64) Gecko/20120324 Firefox/14.0a1" |
This file contains 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
{ | |
"info": { | |
"title": "livecoding three.js", | |
"author": "automata", | |
"description": "livecoding three.js", | |
"url": "cam2gif" | |
}, | |
"nodes": [ | |
{ | |
"src": "http://automata.github.com/meemoo-modules/lived.html", |
This file contains 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
var c = document.getElementById("threejsCanvas"); | |
var cContext = c.getContext("2d"); | |
scene = new THREE.Scene(); | |
camera = new THREE.PerspectiveCamera( 60, | |
window.innerWidth / window.innerHeight, 1, 10000 ); | |
camera.position.z = 500; | |
camera.target = new THREE.Vector3(); |
This file contains 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
{ | |
"info": { | |
"title": "testing supershape.js module", | |
"author": "automata", | |
"description": "first test of a Meemoo module for supershape.js", | |
"url": "supershape.js" | |
}, | |
"nodes": [ | |
{ | |
"src": "http://automata.github.com/meemoo-supershape.js/", |
This file contains 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
// criamos um "contexto sonoro", objeto que permite acessar a placa de áudio | |
var context = new webkitAudioContext(); | |
// carregaremos um buffer de áudio nessa variável | |
var som = null; | |
function carregaSom(url) { | |
// cria uma requisição assíncrona para carregar o arquivo de áudio de uma url | |
var request = new XMLHttpRequest(); | |
request.open('GET', url, true); |
This file contains 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
// controles | |
// use ctrl + enter para avaliar a linha (ou o que vc selecionar) | |
// use ctrl + shift + enter para avaliar no próximo compasso somente | |
// use ctrl + ` para limpar o grafo de síntese | |
// osciladores | |
// args => frequencia=440, amplitude=.25 | |
s = Sine(); | |
s = Tri(440, .1); | |
s = Square(440, .1); |