audio test

pull/80/head
Kristin Galvin 2020-01-19 17:53:20 -08:00
parent 24c6eaeea6
commit b21e260a46
2 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@
{ "id": "stetho",
"name": "Stethoscope",
"icon": "stetho.png",
"version":"0.011",
"version":"0.012",
"description": "Hear your heart rate",
"tags": "health",
"storage": [

View File

@ -29,7 +29,7 @@ function readHRM() {
g.setColor(1,1,1);
g.lineTo(x,y);
freq((Math.abs(a) * 10000.0) + 500.0);
console.log("freq ", (a * 10000.0) + 500.0);
console.log("freq ", (a * 100.0) + 500.0);
if ((max-min)>0.005) {
if (4*a > (min+3*max)) { // high
g.setColor(1,0,0);