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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
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
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; |
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
import arb.soundcipher.*; | |
SoundCipher midi = new SoundCipher(this); | |
int beat; | |
void setup() { | |
frameRate(8); | |
beat = 0; | |
} |
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
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; |