Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
import arb.soundcipher.*;
SoundCipher midi = new SoundCipher(this);
int beat;
//float[] pitches = {60, 64, 66, 67, 62, 71, 69, 61, 65, 63, 68, 70};
void setup() {
//frameRate(2);
beat = 0;
import arb.soundcipher.*;
SoundCipher midi = new SoundCipher(this);
int beat;
void setup() {
frameRate(8);
beat = 0;
}
int cell = 35; // Individual cell size
int cols, rows; // Total number of columns and rows
float valueR = 50.0;
float valueG = 50.0;
float valueB = 50.0;
int count = 0;
int squareCount = 0;
sqProp[][] square;