audio test

pull/80/head
Kristin Galvin 2020-01-19 17:38:09 -08:00
parent ff1374c710
commit 9b721451bb
1 changed files with 3 additions and 3 deletions

View File

@ -28,9 +28,9 @@ function readHRM() {
}
g.setColor(1,1,1);
g.lineTo(x,y);
console.log("a ", a);
freq((a * 1000.0) + 100.0);
console.log("freq ", (a * 1000.0) + 100.0);
console.log("a ", y);
freq((y * 1000.0) + 100.0);
console.log("freq ", (y * 1000.0) + 100.0);
if ((max-min)>0.005) {
if (4*a > (min+3*max)) { // high
g.setColor(1,0,0);