audio test

pull/80/head
Kristin Galvin 2020-01-19 18:34:37 -08:00
parent ee3b2c6034
commit 4d5c8f5352
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -25,7 +25,8 @@ function readHRM() {
g.clearRect(0,100,239,239);
g.moveTo(-100,0);
}
freq(parseFloat(y+1.0)*1000);
let frequency = parseFloat(y+1.0) * 10000;
if(frequency > 0) freq(frequency);
g.setColor(1,1,1);
g.lineTo(x,y);