audio test

pull/80/head
Kristin Galvin 2020-01-19 17:26:14 -08:00
parent 1fe3ef5b25
commit da691f3795
1 changed files with 1 additions and 1 deletions

View File

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